Folks I'm at my wit's end here, I'm a full time SW engineer and I cannot get this tool to work due to the byzantine and mismatched toolchain it seems to require.
I'm trying to install this on a WinXP machine, I am limited to this O/S right now due to project constraints so please do not suggest a change in O/S to solve these problems.
Running the standalone PyCam mostly works, I am able to open DXF files and generate toolpaths. The major problem comes when I attempt to open SVG files generated by PyCam or other programs, specifically InkScape.
First I needed to install PSTOEDIT, which I did, however that apparently required further installation of MSVCR100.dll for Visual Studio C++ applications. Next I had to install GraphicsMagick to get more missing DLLs.
Then the Magick DLLs needed to be copied to the pstoedit program directory to be found. And still now it fails due to errors entering the DLLs at the expected addresses. So they are not the correct version… or? Absolutely no help searching the web for solutions.
So fine, I gave up and tried installing the full PyCam 0.5.1.
I first installed the requirements installer and went through all of that: python2.5-gtk-opengl
Then I installed pycam-0.5.1.win32.
Now that installed PyCam application fails to launch. In fact it fails completely silently with no indication it has even started unless you watch the running processes in Task Manager.
So to date I have installed:
Inkscape-0.48.2-1-win32
pstoeditsetup_win32
vcredist_x86
GraphicsMagick-1.3.14-Q16-windows-dll
python2.5-gtk-opengl
pycam-0.5.1.win32
gs905w32
And also: pycam-0.5.1.1_standalone
None of these work together. All I want to do is edit SVG files in InkScape and then generate toolpaths from them in PyCam. The dependencies between all of these tools are poorly documented and apparently incomplete.
Can anyone tell me how in the world any of this is supposed to be installed on 32 bit Windows?
Thanks,
J
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Update: I fixed part of the problem with the full installation of PyCam silently failing. That was caused by the fact that I also have Python 2.7 installed on this machine and that version was auto-selected by the PyCam installer. I reinstalled PyCam and selected Python2.5 instead. The application now launches but fails to open the 3D viewer with the following error: "Failed to initialize the interactive 3D model view. Please install 'python-gtkglext1' to enable it."
As far as I can tell the requested file python-gtkglext1 is relevant for Linux only and not Windows. I found another help thread with this specific problem and cross posted there as well.
The Windows requirements installer is probably missing components or correct path references.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Update 2: I located the newest version of pygtk_windows_installer and now the full install version of PyCam (i.e. not standalone) will open the 3D viewer but it has display bugs: the menu buttons alongthe top of the viewer do not render unless you mouse-over them and they disappear again any time the model is manipulated.
I also upgraded the version of ImageMagick and copied the DLLs to the pstoedit directory: the latest version (6.7.7-1-Q16) continues to have DLL entrance errors, an older version (6.5.6) gets me past the DLL entrance error but still fails to open SVG files.
Here is the newest error, failure to convert EPS file, this is generated by the standalone app PyCam-0.5.1.1:
"11:50 INFO Psyco enabled
11:50 INFO Disabled parallel processing
11:51 INFO Font directory: C:\DOCUME~1\JASON~1.SLA\LOCALS~1\Temp\_MEI56122\share\fonts
11:54 INFO Successfully converted SVG file to EPS file
11:54 WARNING SVGImporter: failed to convert EPS file (c:\docume~1\jason~1.sla\locals~1\temp\tmp0repxl.eps) to DXF file (c:\docume~1\jason~1.sla\locals~1\temp\tmpupmrzg.dxf): pstoedit: version 3.60 / DLL interface 108 (built: Aug 27 2011 - release build - MS VC++ 1600 - 32-bit) : Copyright (C) 1993 - 2011 Wolfgang Glunz Problem during opening C:\Program Files\pstoedit\analyze.dll:Recursion too deep; the stack overflowed. Problem during opening of pstoedit driver plugin: C:\Program Files\pstoedit\analyze.dll. This is no problem as long the driver in this library is not needed. Possibly you need to install further libraries and/or extend the LD_LIBRARY_PATH (*nix) or PATH (Windows) environment variables."
Guys - I really like your software when it works, the tool paths I've played with come out very nice, but honestly the fact that this program saves in a file format that it cannot natively open is kinda ridiculous. Can someone please post the correct versions and support tools required to open SVG files?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Update 3: I am attempting a totally clean install because at this point it is unclear if multiple versions of various DLLs are causing conflicts. Here is the exact log of steps taken to perform this clean install. Still no success and basically back to the same errors as seen before.
Fresh install, all previous programs uninstalled beforehand.
1) Install python2.5-gtk-opengl
2) Reboot
3) Install pycam-0.5.1.win32
4) Attempt to open provided example AVG file "multilayer_engrave.svg". Result: fails to open, PyCam suggests installing
Inkscape
5) Install Inkscape-0.48.2-1-win32: Inkscape opens successfully after install.
6) Reboot
7) Attempt to open provided example AVG file "multilayer_engrave.svg". Result: Error "SVGImporter failed to execute
'pstoedit'The system cannot find the file specified. Maybe you need to install pstoedit"
8) pstoedit installation notes point out that GraphicsMagick is required so prepare to install that.
8.a) Before this, GraphicsMagick installation notes point out GhostScript is required so installing that first: gs905w32
9) Reboot
10) Install GraphicsMagick with all options checked: GraphicsMagick-1.3.14-Q8-windows-dll
10.a) Error during install: "Unable to execute file: ppm ShellExecute failed; code 2. The system cannot find the path
specified."
10.b) Press OK on error popup, next popup says: "DllRegisterServer in C:\Program
10.d) run command line conversion example 'gm convert logo: logo.jpg' RESULT: works as expected, logo displays.
11) Reboot
12) Install pstoeditsetup_win32 (version 3.60.0.0), install all optional components
13) Reboot
14) Launch PyCam, Attempt to open provided example AVG file "multilayer_engrave.svg". Result: ERROR
"15:08 INFO Psyco is not available (performance will probably suffer slightly)
15:08 INFO Enabled 2 parallel local processes
15:08 INFO Font directory: C:\Python25\share\pycam\fonts
15:08 INFO Imported STL model: 839 vertices, 0 edges, 1444 triangles
15:08 INFO Successfully converted SVG file to EPS file
15:08 WARNING SVGImporter: failed to convert EPS file (c:\docume~1\jason~1.sla\locals~1\temp\tmp0fwbdv.eps) to DXF file
(c:\docume~1\jason~1.sla\locals~1\temp\tmpepbs21.dxf): pstoedit: version 3.60 / DLL interface 108 (built: Aug 27 2011 -
release build - MS VC++ 1600 - 32-bit) : Copyright (C) 1993 - 2011 Wolfgang Glunz Problem during opening C:\Program
Files\pstoedit\analyze.dll:Recursion too deep; the stack overflowed. Problem during opening of pstoedit driver plugin:
C:\Program Files\pstoedit\analyze.dll. This is no problem as long the driver in this library is not needed. Possibly you
need to install further libraries and/or extend the LD_LIBRARY_PATH (*nix) or PATH (Windows) environment variables."
14.a) Verified that "C:\Program Files\pstoedit\" is already present in windows PATH
15) Copy all DLL files from GraphicsMagick directory to pstoedit directory
16) Launch PyCam, Attempt to open provided example AVG file "multilayer_engrave.svg". Result: ERROR popup:
"pstoedit.exe Entry Point Not Found
The procedure entry point ?construct@?$allocator@VVPath@Magick@@@std@@QAEXPAVVPath@Magick@@$$QAV34@@Z could not be located
in the dynamic link library CORE_RL_Magick++_.dll."
16.a) After selecting OK on first error popup, a second error popup displays:
"pstoedit - Entry Point Not Found
The procedure entry point GetImageProperty could not be located in the dynamic link library CORE_RL_magick_.dll."
16.b) After selecting OK on second error popup, a third error popup displays:
"pstoedit - Entry Point Not Found
The procedure entry point ConstantString could not be located in the dynamic link library CORE_RL_magick_.dll."
16.c) The error popup in 16.b displays 8 more times. Program now hangs with pstoedit cmd line window open but nothing
displayed.
17) STUCK HERE, UNSURE HOW TO PROCEED
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks for documenting all the details of your obviously frustrating experience!
I tried to reproduce your problem in a virtual environment and I think I found the problem.
Please take a look at the FAQ entry that I just added for this error message.
In Windows 10 Pro x64 version 1511 , the following toolset worked:
Inkscape 0.92.2 (<1.0)
pstoedit 3.70 (32 bit) (64 bit does not work)
gs905w32.exe (GPL Ghostscript 9.05 32 bit) (<gs952w32.exe)
Pycam-0.5.1.1_standalone.exe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Folks I'm at my wit's end here, I'm a full time SW engineer and I cannot get this tool to work due to the byzantine and mismatched toolchain it seems to require.
I'm trying to install this on a WinXP machine, I am limited to this O/S right now due to project constraints so please do not suggest a change in O/S to solve these problems.
Running the standalone PyCam mostly works, I am able to open DXF files and generate toolpaths. The major problem comes when I attempt to open SVG files generated by PyCam or other programs, specifically InkScape.
First I needed to install PSTOEDIT, which I did, however that apparently required further installation of MSVCR100.dll for Visual Studio C++ applications. Next I had to install GraphicsMagick to get more missing DLLs.
Then the Magick DLLs needed to be copied to the pstoedit program directory to be found. And still now it fails due to errors entering the DLLs at the expected addresses. So they are not the correct version… or? Absolutely no help searching the web for solutions.
So fine, I gave up and tried installing the full PyCam 0.5.1.
I first installed the requirements installer and went through all of that: python2.5-gtk-opengl
Then I installed pycam-0.5.1.win32.
Now that installed PyCam application fails to launch. In fact it fails completely silently with no indication it has even started unless you watch the running processes in Task Manager.
So to date I have installed:
Inkscape-0.48.2-1-win32
pstoeditsetup_win32
vcredist_x86
GraphicsMagick-1.3.14-Q16-windows-dll
python2.5-gtk-opengl
pycam-0.5.1.win32
gs905w32
And also: pycam-0.5.1.1_standalone
None of these work together. All I want to do is edit SVG files in InkScape and then generate toolpaths from them in PyCam. The dependencies between all of these tools are poorly documented and apparently incomplete.
Can anyone tell me how in the world any of this is supposed to be installed on 32 bit Windows?
Thanks,
J
Update: I fixed part of the problem with the full installation of PyCam silently failing. That was caused by the fact that I also have Python 2.7 installed on this machine and that version was auto-selected by the PyCam installer. I reinstalled PyCam and selected Python2.5 instead. The application now launches but fails to open the 3D viewer with the following error: "Failed to initialize the interactive 3D model view. Please install 'python-gtkglext1' to enable it."
As far as I can tell the requested file python-gtkglext1 is relevant for Linux only and not Windows. I found another help thread with this specific problem and cross posted there as well.
The Windows requirements installer is probably missing components or correct path references.
Update 2: I located the newest version of pygtk_windows_installer and now the full install version of PyCam (i.e. not standalone) will open the 3D viewer but it has display bugs: the menu buttons alongthe top of the viewer do not render unless you mouse-over them and they disappear again any time the model is manipulated.
I also upgraded the version of ImageMagick and copied the DLLs to the pstoedit directory: the latest version (6.7.7-1-Q16) continues to have DLL entrance errors, an older version (6.5.6) gets me past the DLL entrance error but still fails to open SVG files.
Here is the newest error, failure to convert EPS file, this is generated by the standalone app PyCam-0.5.1.1:
"11:50 INFO Psyco enabled
11:50 INFO Disabled parallel processing
11:51 INFO Font directory: C:\DOCUME~1\JASON~1.SLA\LOCALS~1\Temp\_MEI56122\share\fonts
11:51 INFO Imported STL model: 839 vertices, 0 edges, 1444 triangles
11:54 INFO Successfully converted SVG file to EPS file
11:54 WARNING SVGImporter: failed to convert EPS file (c:\docume~1\jason~1.sla\locals~1\temp\tmp0repxl.eps) to DXF file (c:\docume~1\jason~1.sla\locals~1\temp\tmpupmrzg.dxf): pstoedit: version 3.60 / DLL interface 108 (built: Aug 27 2011 - release build - MS VC++ 1600 - 32-bit) : Copyright (C) 1993 - 2011 Wolfgang Glunz Problem during opening C:\Program Files\pstoedit\analyze.dll:Recursion too deep; the stack overflowed. Problem during opening of pstoedit driver plugin: C:\Program Files\pstoedit\analyze.dll. This is no problem as long the driver in this library is not needed. Possibly you need to install further libraries and/or extend the LD_LIBRARY_PATH (*nix) or PATH (Windows) environment variables."
Guys - I really like your software when it works, the tool paths I've played with come out very nice, but honestly the fact that this program saves in a file format that it cannot natively open is kinda ridiculous. Can someone please post the correct versions and support tools required to open SVG files?
Update 3: I am attempting a totally clean install because at this point it is unclear if multiple versions of various DLLs are causing conflicts. Here is the exact log of steps taken to perform this clean install. Still no success and basically back to the same errors as seen before.
Fresh install, all previous programs uninstalled beforehand.
1) Install python2.5-gtk-opengl
2) Reboot
3) Install pycam-0.5.1.win32
4) Attempt to open provided example AVG file "multilayer_engrave.svg". Result: fails to open, PyCam suggests installing
Inkscape
5) Install Inkscape-0.48.2-1-win32: Inkscape opens successfully after install.
6) Reboot
7) Attempt to open provided example AVG file "multilayer_engrave.svg". Result: Error "SVGImporter failed to execute
'pstoedit'The system cannot find the file specified. Maybe you need to install pstoedit"
8) pstoedit installation notes point out that GraphicsMagick is required so prepare to install that.
8.a) Before this, GraphicsMagick installation notes point out GhostScript is required so installing that first: gs905w32
9) Reboot
10) Install GraphicsMagick with all options checked: GraphicsMagick-1.3.14-Q8-windows-dll
10.a) Error during install: "Unable to execute file: ppm ShellExecute failed; code 2. The system cannot find the path
specified."
10.b) Press OK on error popup, next popup says: "DllRegisterServer in C:\Program
Files\GraphicsMagick-1.3.14-Q8\ImageMagickOject.dll succeeded."
10.c) Press OK on that popup.
10.d) run command line conversion example 'gm convert logo: logo.jpg' RESULT: works as expected, logo displays.
11) Reboot
12) Install pstoeditsetup_win32 (version 3.60.0.0), install all optional components
13) Reboot
14) Launch PyCam, Attempt to open provided example AVG file "multilayer_engrave.svg". Result: ERROR
"15:08 INFO Psyco is not available (performance will probably suffer slightly)
15:08 INFO Enabled 2 parallel local processes
15:08 INFO Font directory: C:\Python25\share\pycam\fonts
15:08 INFO Imported STL model: 839 vertices, 0 edges, 1444 triangles
15:08 INFO Successfully converted SVG file to EPS file
15:08 WARNING SVGImporter: failed to convert EPS file (c:\docume~1\jason~1.sla\locals~1\temp\tmp0fwbdv.eps) to DXF file
(c:\docume~1\jason~1.sla\locals~1\temp\tmpepbs21.dxf): pstoedit: version 3.60 / DLL interface 108 (built: Aug 27 2011 -
release build - MS VC++ 1600 - 32-bit) : Copyright (C) 1993 - 2011 Wolfgang Glunz Problem during opening C:\Program
Files\pstoedit\analyze.dll:Recursion too deep; the stack overflowed. Problem during opening of pstoedit driver plugin:
C:\Program Files\pstoedit\analyze.dll. This is no problem as long the driver in this library is not needed. Possibly you
need to install further libraries and/or extend the LD_LIBRARY_PATH (*nix) or PATH (Windows) environment variables."
14.a) Verified that "C:\Program Files\pstoedit\" is already present in windows PATH
15) Copy all DLL files from GraphicsMagick directory to pstoedit directory
16) Launch PyCam, Attempt to open provided example AVG file "multilayer_engrave.svg". Result: ERROR popup:
"pstoedit.exe Entry Point Not Found
The procedure entry point ?construct@?$allocator@VVPath@Magick@@@std@@QAEXPAVVPath@Magick@@$$QAV34@@Z could not be located
in the dynamic link library CORE_RL_Magick++_.dll."
16.a) After selecting OK on first error popup, a second error popup displays:
"pstoedit - Entry Point Not Found
The procedure entry point GetImageProperty could not be located in the dynamic link library CORE_RL_magick_.dll."
16.b) After selecting OK on second error popup, a third error popup displays:
"pstoedit - Entry Point Not Found
The procedure entry point ConstantString could not be located in the dynamic link library CORE_RL_magick_.dll."
16.c) The error popup in 16.b displays 8 more times. Program now hangs with pstoedit cmd line window open but nothing
displayed.
17) STUCK HERE, UNSURE HOW TO PROCEED
Update 4: I think I have found the pstoedit source which is throwing the current error. In dynload.cpp found here: http://pstoedit.sourcearchive.com/documentation/3.60-1/dynload_8cpp_source.html
This function: static void loadaPlugin(const char *filename, ostream & errstream, bool verbose)
However this still does not explain why the recursion error is thrown or what changes might be needed in the PATH variable.
Hi swarmmaster,
thanks for documenting all the details of your obviously frustrating experience!
I tried to reproduce your problem in a virtual environment and I think I found the problem.
Please take a look at the FAQ entry that I just added for this error message.
Would this solve the problem for you?
cheers,
Lars
PS: GraphicsMagick is not required - I just added this hint to the Requirements page in the wiki.
Hello!
I just installed in windows with no luck. Does anybody have this working in Windows?
Darcy
I should say, it runs but I can't import an SVG or PS file.
In Windows 10 Pro x64 version 1511 , the following toolset worked:
Inkscape 0.92.2 (<1.0)
pstoedit 3.70 (32 bit) (64 bit does not work)
gs905w32.exe (GPL Ghostscript 9.05 32 bit) (<gs952w32.exe)
Pycam-0.5.1.1_standalone.exe