[solved] Trouble with saving as .plt

Post questions on how to use or achieve an effect in Inkscape.
DubplateDerek
Posts: 5
Joined: Tue May 21, 2013 3:27 am

[solved] Trouble with saving as .plt

Postby DubplateDerek » Tue May 21, 2013 4:55 am

Hi All,

New user here, and I've spent an enjoyable last few hours getting to grips with Inkscape. The end use is for me to import into Schaeffer Front Panel Designer software to have a panel engraved with my design.

So far so good, except when I come to try to export my work as a PLT file.

When I try to save my work as plt, I get this

Code: Select all

UniConvertor failed:



Traceback (most recent call last):


  File "<string>", line 1, in <module>

  File "C:\Program Files (x86)\Inkscape\python\lib\site-packages\uniconvertor\__init__.py", line 100, in uniconv_run

    saver(doc, output_file)

  File "C:\Program Files (x86)\Inkscape\python\lib\site-packages\sk1libs\filters\__init__.py", line 212, in __call__

    module.save(document, file, filename, options)

  File "C:\Program Files (x86)\Inkscape\python\lib\site-packages\sk1libs\filters\export\pltsaver.py", line 205, in save

    saver.SaveDocument(document)

  File "C:\Program Files (x86)\Inkscape\python\lib\site-packages\sk1libs\filters\export\pltsaver.py", line 199, in SaveDocument

    self.SaveLayers(doc.Layers())


  File "C:\Program Files (x86)\Inkscape\python\lib\site-packages\sk1libs\filters\export\pltsaver.py", line 184, in SaveLayers

    self.SaveObjects(layer.GetObjects())

  File "C:\Program Files (x86)\Inkscape\python\lib\site-packages\sk1libs\filters\export\pltsaver.py", line 174, in SaveObjects

    self.SaveObjects(object.GetObjects())

  File "C:\Program Files (x86)\Inkscape\python\lib\site-packages\sk1libs\filters\export\pltsaver.py", line 179, in SaveObjects

    self.PolyBezier(obj.Paths(), obj.Properties())

AttributeError: 'NoneType' object has no attribute 'Paths'


I did try exporting as .plt earlier and it worked, so something's changed.

Pretty much the last operation I did before trying to export to plt was drag in a jpg graphic and resize it. Now examining the error log and seeing something about 'no attribute paths' made me think the jpg probably needed converting into a path.

I did that using 'Trace bitmap', and now when I try to save the file as .plt I just get 'python.exe has stopped'. I also tried to use 'Object to path' but that didn't seem to do anything at all.

Any ideas about what's going on here? What am I doing wrong?!

I'm on Win7 64 bit. Attached is a copy of what I'm working on (in this version I have not attempted to change the .jpg to a path)

Cheers

DD
Attachments
FP3.svg
(201.71 KiB) Downloaded 218 times

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Trouble with saving as .plt

Postby Lazur » Tue May 21, 2013 10:44 pm

There were some problems with the flowed texts I guess.
Converted everything to paths and combined them together, then manually deleted from the svg the still existing text related parts.
As the result, it could be saved to plt with no problem.
Attachments
hlp33.zip
(13.01 KiB) Downloaded 225 times

DubplateDerek
Posts: 5
Joined: Tue May 21, 2013 3:27 am

Re: Trouble with saving as .plt

Postby DubplateDerek » Wed May 22, 2013 12:01 am

Amazing! Thanks for your help!

DubplateDerek
Posts: 5
Joined: Tue May 21, 2013 3:27 am

Re: Trouble with saving as .plt

Postby DubplateDerek » Thu May 23, 2013 5:45 pm

If anyone else comes across this issue, I've had a little experiment and first couldn't implement Lazur's advice.

The key seems to be to group the objects.

So

1 - Select All

2 - Path > Object to path

3 - There weren't any additional text related parts for me to delete at this stage.

Now if I tried to save, I got the same error as in my original post. What I needed to do was

4 - (with everything still selected) Object > Group

Then I was able to save as .plt successfully.


Return to “Help with using Inkscape”