<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/pycam/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/pycam/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/pycam/bugs/</id><updated>2022-07-01T11:16:03.442000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Syntax error in scripts/pycam</title><link href="https://sourceforge.net/p/pycam/bugs/99/" rel="alternate"/><published>2022-07-01T11:16:03.442000Z</published><updated>2022-07-01T11:16:03.442000Z</updated><author><name>David Francis</name><uri>https://sourceforge.net/u/df403205/</uri></author><id>https://sourceforge.netf76aa27a54b1b24db98fd5998b9ced98a47be452</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;scripts/pycam line 193 &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;except IOError, err_msg:
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;throws a SyntaxError: invalid syntax, pointing to the comma after IOError.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Python STL Fix</title><link href="https://sourceforge.net/p/pycam/bugs/98/" rel="alternate"/><published>2021-11-17T15:50:02.070000Z</published><updated>2021-11-17T15:50:02.070000Z</updated><author><name>Christopher Dadisman</name><uri>https://sourceforge.net/u/gkid19/</uri></author><id>https://sourceforge.net6759711eebcc193d4db7588b60c510b5de826f23</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I created a script to fix stil files that won't import due to being binary. &lt;/p&gt;
&lt;p&gt;The link is here for anyone that is interested. &lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/JugglerMaster/pythonConvertASCII" rel="nofollow"&gt;https://github.com/JugglerMaster/pythonConvertASCII&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#97 Skipping plugin: PathPatterns</title><link href="https://sourceforge.net/p/pycam/bugs/97/?limit=25#61db" rel="alternate"/><published>2017-05-14T22:55:04.459000Z</published><updated>2017-05-14T22:55:04.459000Z</updated><author><name>Lars</name><uri>https://sourceforge.net/u/sumpfralle/</uri></author><id>https://sourceforge.netfe0c040ae3bfe01f90cc5ca7192d4cce5e01b5e0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Yes, I added &lt;code&gt;enum34&lt;/code&gt; recently to the list of dependencies (only relevant for python2).&lt;/p&gt;
&lt;p&gt;Indeed, this package can be confused with &lt;code&gt;enum&lt;/code&gt;. I just added a check and an error output for this situation.&lt;/p&gt;
&lt;p&gt;Regarding "python 2 syntax error": where did you notice this? I assumed that the code should run with both versions (except for the missing dependencies with python3).&lt;/p&gt;
&lt;p&gt;It would be great, if you could get involved with pycam's development. Please subscribe to the &lt;a class="" href="https://lists.sourceforge.net/lists/listinfo/pycam-devel"&gt;development mailinglist&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;Regarding python3: this would be a good step forward. Currently the main blocking issue is pycam's dependency on GTK2 and gtglext.&lt;br/&gt;
Maybe you want to take a look at the thread (&lt;a class="" href="https://sourceforge.net/p/pycam/mailman/message/35701366/"&gt;Gtk3 Update&lt;/a&gt;) - there I outlined possible steps for going forward. Your contribution would be very welcome!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Skipping plugin: PathPatterns</title><link href="https://sourceforge.net/p/pycam/bugs/97/" rel="alternate"/><published>2017-05-13T21:00:50.780000Z</published><updated>2017-05-13T21:00:50.780000Z</updated><author><name>Alexander Hanson</name><uri>https://sourceforge.net/u/hanson-ap/</uri></author><id>https://sourceforge.neta069ced401cca77cdce5e8f30b47e2a073a73eaa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Just grabbed pycam-master. On startup I get the below warning:&lt;/p&gt;
&lt;p&gt;Skipping plugin /home/alex/pycam-master/pycam/Plugins/PathPatterns.py (broken or dependencies missing)&lt;br/&gt;
&lt;strong&gt;&lt;em&gt; skipped 2 similar message(s) &lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Did a little investigating and it appears this is comming from ToolPath.MotionGrid's use of the enum library. From my understanding pycam is for python 2.7 not python 3+. I believe python 2 does not contain the enum lib. There is an enum package on pypi, however it does not contain IntEnum. Running pycam using python3 results in python 2 syntax error.&lt;/p&gt;
&lt;p&gt;As a side note, are there plans for porting to python3? And what is the best way to get involved with the community?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#96 Crash when almost finished generating toolpaths: Broken pipe</title><link href="https://sourceforge.net/p/pycam/bugs/96/?limit=25#e908" rel="alternate"/><published>2017-01-31T21:20:55.203000Z</published><updated>2017-01-31T21:20:55.203000Z</updated><author><name>unfa</name><uri>https://sourceforge.net/u/unfa00/</uri></author><id>https://sourceforge.net9a573a0a156860d9f3a8f75f7cd79772e3ad2787</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ok. I have terminated the job after about 4 hours. IT showed progress, but looks like it wouldn't be practically usefull. I guess it shouldbe be so slow, so probably somethings still not good.&lt;/p&gt;
&lt;p&gt;I'm learing the FreeCAD's Path workbench, and looks like it should be able to get the job done, probably with some Python scripting it could be even semi-automatic for similar projects, so I'll focus my effort on learning that.&lt;/p&gt;
&lt;p&gt;I suggested on teh FreeCAD forums that maybe something can be learnt form the PyCAM's approach and ideas, maybe even some of it's code used.&lt;/p&gt;
&lt;p&gt;Thank you for help!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#96 Crash when almost finished generating toolpaths: Broken pipe</title><link href="https://sourceforge.net/p/pycam/bugs/96/?limit=25#8e3e/5c55" rel="alternate"/><published>2017-01-31T12:46:01.421000Z</published><updated>2017-01-31T12:46:01.421000Z</updated><author><name>Lars</name><uri>https://sourceforge.net/u/sumpfralle/</uri></author><id>https://sourceforge.net77f2c0b4d9e8be8363c0bfba7509560cf495ae72</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sadly, performance is not pycam's primary virtue.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#96 Crash when almost finished generating toolpaths: Broken pipe</title><link href="https://sourceforge.net/p/pycam/bugs/96/?limit=25#8e3e" rel="alternate"/><published>2017-01-31T12:24:58.890000Z</published><updated>2017-01-31T12:24:58.890000Z</updated><author><name>unfa</name><uri>https://sourceforge.net/u/unfa00/</uri></author><id>https://sourceforge.net846a7b2a00357307edaa359da8c881212471850e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I disabled the "show toolpath" option and also closed the 3D preview window.&lt;/p&gt;
&lt;p&gt;PyCAM managed to complete generatign a toolpath without crashing.&lt;/p&gt;
&lt;p&gt;I pressed "Generate all" for the default test model and it seems like it'll take about 2 hours to complete. Is that a lot?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#96 Crash when almost finished generating toolpaths: Broken pipe</title><link href="https://sourceforge.net/p/pycam/bugs/96/?limit=25#47a2/5b28" rel="alternate"/><published>2017-01-30T23:00:53.607000Z</published><updated>2017-01-30T23:00:53.607000Z</updated><author><name>Lars</name><uri>https://sourceforge.net/u/sumpfralle/</uri></author><id>https://sourceforge.net7894030582c20a8a663314391373a85716d2e18f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Interesting.&lt;br/&gt;
The output of both variations seems to be different - thus maybe there is indeed progressing further (and stopped by another problem).&lt;/p&gt;
&lt;p&gt;Regarding the error output above ("intel_do_flush_locked failed: No such file or directory"): this seems to be related to &lt;a class="" href="https://bugzilla.redhat.com/show_bug.cgi?id=1158697" rel="nofollow"&gt;graphics drivers&lt;/a&gt;? Maybe pycam wants to access OpenGL in a way that fails to work on your system?&lt;/p&gt;
&lt;p&gt;I would suggest to try these approaches:&lt;br/&gt;
1.  the workaround described in the linked bug report&lt;br/&gt;
2.  disable the "show toolpath" setting (maybe the problem gets triggered only during the visualization of toolpaths)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#96 Crash when almost finished generating toolpaths: Broken pipe</title><link href="https://sourceforge.net/p/pycam/bugs/96/?limit=25#47a2" rel="alternate"/><published>2017-01-30T09:13:51.196000Z</published><updated>2017-01-30T09:13:51.196000Z</updated><author><name>unfa</name><uri>https://sourceforge.net/u/unfa00/</uri></author><id>https://sourceforge.netba17425e92a28cc5192ce9d03cd4e31149c6abab</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I tried turning off parallel processing, but PyCam still crashes. Looks like it ignores the setting and uses 4 processes either way, however it crashes in a different way:&lt;/p&gt;
&lt;p&gt;$ pycam&lt;br/&gt;
Psyco is not available (performance will probably suffer slightly)&lt;br/&gt;
Enabled 4 parallel local processes&lt;br/&gt;
Failed to locate the fonts directory 'fonts' below '&lt;span&gt;['/usr/lib/pymodules/share', '/usr/local/share/pycam', '/usr/share/pycam']&lt;/span&gt;'. Falling back to '/usr/share/librecad/fonts, /usr/share/qcad/fonts'.&lt;br/&gt;
Font directory: /usr/share/librecad/fonts&lt;br/&gt;
Imported STL model: 839 vertices, 0 edges, 1444 triangles&lt;br/&gt;
Multiprocessing disabled&lt;br/&gt;
Enabled 4 parallel local processes&lt;br/&gt;
Toolpath generation time: 11.632707&lt;br/&gt;
intel_do_flush_locked failed: No such file or directory&lt;/p&gt;
&lt;p&gt;I tried uisng ony 1 process, but that's not a solution either:&lt;/p&gt;
&lt;p&gt;$ pycam&lt;br/&gt;
Psyco is not available (performance will probably suffer slightly)&lt;br/&gt;
Enabled 4 parallel local processes&lt;br/&gt;
Failed to locate the fonts directory 'fonts' below '&lt;span&gt;['/usr/lib/pymodules/share', '/usr/local/share/pycam', '/usr/share/pycam']&lt;/span&gt;'. Falling back to '/usr/share/librecad/fonts, /usr/share/qcad/fonts'.&lt;br/&gt;
Font directory: /usr/share/librecad/fonts&lt;br/&gt;
Imported STL model: 839 vertices, 0 edges, 1444 triangles&lt;br/&gt;
Enabled 3 parallel local processes&lt;br/&gt;
Enabled 2 parallel local processes&lt;br/&gt;
Enabled 1 parallel local processes&lt;br/&gt;
Enabled 0 parallel local processes&lt;br/&gt;
Enabled 1 parallel local processes&lt;br/&gt;
intel_do_flush_locked failed: No such file or directory&lt;br/&gt;
citron@citron-grafik ~ $ Process PoolWorker-3:&lt;br/&gt;
Traceback (most recent call last):&lt;br/&gt;
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap&lt;br/&gt;
    self.run()&lt;br/&gt;
  File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run&lt;br/&gt;
    self._target(&lt;em&gt;self._args, &lt;/em&gt;*self._kwargs)&lt;br/&gt;
  File "/usr/lib/python2.7/multiprocessing/pool.py", line 122, in worker&lt;br/&gt;
    put((job, i, (False, wrapped)))&lt;br/&gt;
  File "/usr/lib/python2.7/multiprocessing/queues.py", line 392, in put&lt;br/&gt;
    return send(obj)&lt;br/&gt;
IOError: &lt;span&gt;[Errno 32]&lt;/span&gt; Broken pipe&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#96 Crash when almost finished generating toolpaths: Broken pipe</title><link href="https://sourceforge.net/p/pycam/bugs/96/?limit=25#c152" rel="alternate"/><published>2017-01-27T15:53:36.047000Z</published><updated>2017-01-27T15:53:36.047000Z</updated><author><name>Lars</name><uri>https://sourceforge.net/u/sumpfralle/</uri></author><id>https://sourceforge.netf418e93cbefcd267814e6b45e5e5c4326d500cac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sadly pycam is not actively developed anymore.&lt;br/&gt;
Thus I would simply suggest to work around the symptoms: please try to disable parallel / distributed processing.&lt;br/&gt;
(the above traceback indicates that there is an issue with the gathering of distributed job results)&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>