HPGL/2 import arbitrarily produce error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Low
|
Unassigned | ||
UniConvertor |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Trying to Import HPGL/2 file in both Inkscape Versions 0.48.2-1 and r10736 via the following procedure:
Restart inkscape
Menu-File-(open or import)->select *.plt as file type-> select file -> open
then in an arbitrarily way in most cases inkscape reports the following error message:
UniConvertor failed:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "D:\usrprgs\
doc = load.load_
File "D:\usrprgs\
return load_drawing_
File "D:\usrprgs\
raise SketchLoadError
app.events.
sometimes it works.
InkScape is running in a Windows 7 / 64bit version with 8GB of memory.
If import works, imported object is 163436px by 92835px in size, maybe quite large....?
attached are the first and last lines of the HPGL/2 file. (there are some more "MG" (Message Commands) at the beginning, which I removed for better readability.)
MG FT80 = FT4,55,15.000000
MG FT81 = FT4,55,45.000000
MG FT82 = FT4,55,60.000000
MG FT83 = FT4,55,75.000000
IN;
PU3,-3;
SC-92265,
SP41;
PW0.350000;
SC;
FT3,30,30.000000;
SC-92265,
PA1310000,120890;
PD;PA1320610,
PA1354390,131500;
PA1365000,120890;
PA1365000,87110;
PA1354390,76500;
PA1320610,76500;
PA1310000,87110;
PA1310000,120890;
PU;PA1155000,
PD;PA1165610,
...........
...........
PA1832660,1035660;
PA1832660,1037160;
PA10840,1037160;
PA10840,10840;
PA1834160,10840;
PA1834160,1037160;
SC;
FT1,60,15.000000;
SC-92265,
PU;PA0,0;
PD;PA0,1048000;
PA1845000,1048000;
PA1845000,0;
PA0,0;
PU;PW0.350000;
SP54;
SP66;
SP99;
PW1.400000;
FT;
PW0.350000;
SP54;
SP66;
PW0.350000;
SP41;
PG;
Thanks again for your great work!
> attached are the first and last lines of the HPGL/2 file
Could you please attach complete sample PLT / HPGL2 files (files that work as well as files that fail to import) instead of quoting parts only? This would allow to test the reported problem on other systems, without introducing possibly unrelated issues when trying to recreate PLT / HPGL2 files based on the given information.