brad / Inkscape-OpenSCAD-DXF-Export

Inkscape plugin that exports DXF files usable by OpenSCAD
GNU General Public License v3.0
77 stars 21 forks source link

Can't find the path of the Inkscape executable. #21

Open MaitrePo opened 4 years ago

MaitrePo commented 4 years ago

Hello,

I just installed Inkscape and your OpenSCAD-DXF-export extension on Windows 10, but when I try to use it, I get the following error message :

Traceback (most recent call last): File "openscad_dxf.py", line 287, in OpenSCADDXFEffect().affect() File "openscad_dxf.py", line 48, in init object2path.ObjectToPath.init(self) File "C:\Users\Pauline\AppData\Roaming\inkscape\extensions\openscad_dxf\inkinkex.py", line 73, in init self.inkscape_path = inkutils.find_inkscape_path() File "C:\Users\Pauline\AppData\Roaming\inkscape\extensions\openscad_dxf\inkutils.py", line 25, in find_inkscape_path raise InkscapeEnvironmentError( inkutils.InkscapeEnvironmentError: Can't find the path of the Inkscape executable.

When I installed Inkscape, I choose to add it in the path for all uers. I put the file and the directory under :
C:\Users\Pauline\AppData\Roaming\inkscape\extensions and C:\Program Files\Inkscape\share\inkscape\extensions\

I tried to move the content of the openscad_dxf directory at the same place than openscad_dxf.inx, in both places (Users and Program Files) but I still get the error, OR the OpenDXF export format is not available. I don't understand and I don't know what to try now, can you give me any advice ? Regards

brad commented 4 years ago

What version of inkscape?

On Thu, May 14, 2020, 9:49 AM MaitrePo notifications@github.com wrote:

Hello,

I just installed Inkscape and your OpenSCAD-DXF-export extension on Windows 10, but when I try to use it, I get the following error message :

Traceback (most recent call last): File "openscad_dxf.py", line 287, in OpenSCADDXFEffect().affect() File "openscad_dxf.py", line 48, in init object2path.ObjectToPath.init(self) File "C:\Users\Pauline\AppData\Roaming\inkscape\extensions\openscad_dxf\inkinkex.py", line 73, in init self.inkscape_path = inkutils.find_inkscape_path() File "C:\Users\Pauline\AppData\Roaming\inkscape\extensions\openscad_dxf\inkutils.py", line 25, in find_inkscape_path raise InkscapeEnvironmentError( inkutils.InkscapeEnvironmentError: Can't find the path of the Inkscape executable.

When I installed Inkscape, I choose to add it in the path for all uers. I put the file and the directory under : C:\Users\Pauline\AppData\Roaming\inkscape\extensions and C:\Program Files\Inkscape\share\inkscape\extensions\

I tried to move the content of the openscad_dxf directory at the same place than openscad_dxf.inx, in both places (Users and Program Files) but I still get the error, OR the OpenDXF export format is not available. I don't understand and I don't know what to try now, can you give me any advice ? Regards

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/brad/Inkscape-OpenSCAD-DXF-Export/issues/21, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAAMTTLKQQCH5BFT4GO3XLRRQHHTANCNFSM4NAZ2D3A .

emersonmoretto commented 4 years ago

I have exaclty the same issue, Inkscape 1.0.. Any advice??

thank u

MaitrePo commented 4 years ago

What version of inkscape?

SORRY, I missed your message ! It is version 1.0 (4035a4fb49, 2020-05-01)