I just installed pycam on Ubuntu 8.04 and am starting a test drive. I have tried the examples in the samples folder, and an stl file of my own - without much luck. With everything set up with some care, after the generate toolpath button is pressed - this is the result, regardless of the model.
An unexpected exception occoured: please send the text below to the developers of PyCAM. Thanks a lot!
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/pycam/Gui/Project.py", line 823, in gui_activity_guard_wrapper
result = func(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/pycam/Gui/Project.py", line 1285, in _handle_tasklist_button_event
self.process_multiple_tasks()
File "/usr/lib/python2.5/site-packages/pycam/Gui/Project.py", line 1315, in process_multiple_tasks
task):
File "/usr/lib/python2.5/site-packages/pycam/Gui/Project.py", line 811, in progress_activity_guard_wrapper
result = func(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/pycam/Gui/Project.py", line 2786, in generate_toolpath
process_settings, bounds)
File "/usr/lib/python2.5/site-packages/pycam/Gui/Project.py", line 2890, in get_toolpath_settings
raise ValueError("Invalid support grid type: %d" % grid_type)
ValueError: Invalid support grid type: -1
Any hints on what these messages mean?
psyco is installed and working and the opengl graphics are ok, if a little slow. This is on a Pentium 4 at 3 GHz with 2 GB ram.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Lars:
Thank you very much for the quick reply. This fix did the trick, and now pycam 0.4 makes tool paths on Ubuntu 8.04.
BTW, I have an EMC-controlled 3 axis wood router, on which I can run the tool paths. The machine was built to carve violins and guitars.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am having exactly the same problem with Ubuntu 10.04 (running on Amazon EC2) and Pycam 0.5.1.
I have tried to delete the 2 lines, but the problem persists.
Any idea?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Maybe you encountered a similar problem as the one above, but the exact output of PyCAM surely differs slightly. Could you post your details here, please?
cheers,
Lars
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"An unexpected exception occoured: please send the text below to the developers of PyCAM. Thanks a lot!
Traceback (most recent call last):
File "/home/ubuntu/Desktop/pycam-0.5.1/src/pycam/Gui/Project.py", line 1285, in gui_activity_guard_wrapper
result = func(self, *args, **kwargs)
File "/home/ubuntu/Desktop/pycam-0.5.1/src/pycam/Gui/Project.py", line 2449, in toggle_3d_view
for name in ("GeneralSettings", "Help3DView")])
File "/home/ubuntu/Desktop/pycam-0.5.1/src/pycam/Gui/OpenGLTools.py", line 332, in __init__
| gtk.gdkgl.MODE_DEPTH | gtk.gdkgl.MODE_DOUBLE)
NoMatches: no frame buffer configurations match the specified attributes"
I tried to fix the problem deleting the two lines like above, but the same.
I am using Ubuntu 10.04 Desktop running on an Amazon EC2 machine.
Thanks for any help!!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just installed pycam on Ubuntu 8.04 and am starting a test drive. I have tried the examples in the samples folder, and an stl file of my own - without much luck. With everything set up with some care, after the generate toolpath button is pressed - this is the result, regardless of the model.
An unexpected exception occoured: please send the text below to the developers of PyCAM. Thanks a lot!
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/pycam/Gui/Project.py", line 823, in gui_activity_guard_wrapper
result = func(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/pycam/Gui/Project.py", line 1285, in _handle_tasklist_button_event
self.process_multiple_tasks()
File "/usr/lib/python2.5/site-packages/pycam/Gui/Project.py", line 1315, in process_multiple_tasks
task):
File "/usr/lib/python2.5/site-packages/pycam/Gui/Project.py", line 811, in progress_activity_guard_wrapper
result = func(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/pycam/Gui/Project.py", line 2786, in generate_toolpath
process_settings, bounds)
File "/usr/lib/python2.5/site-packages/pycam/Gui/Project.py", line 2890, in get_toolpath_settings
raise ValueError("Invalid support grid type: %d" % grid_type)
ValueError: Invalid support grid type: -1
Any hints on what these messages mean?
psyco is installed and working and the opengl graphics are ok, if a little slow. This is on a Pentium 4 at 3 GHz with 2 GB ram.
Hi galfonel,
thanks for your bug report!
I overlooked this problem, since it is exposed with old GTK versions only.
Please remove the lines 2889 and 2890 from src/pycam/Gui/Project.py:
This problem is now fixed in the development repository.
thanks for your report,
Lars
sorry for the confusion - in your version the two lines to be removed look like this:
Lars:
Thank you very much for the quick reply. This fix did the trick, and now pycam 0.4 makes tool paths on Ubuntu 8.04.
BTW, I have an EMC-controlled 3 axis wood router, on which I can run the tool paths. The machine was built to carve violins and guitars.
Hi galfenol,
great to hear, that your problem is solved!
Carving violins and guitars sounds very interesting! I would be very happy to see the picture of one of your finished pieces of work …
cheers,
Lars
Hello,
I am having exactly the same problem with Ubuntu 10.04 (running on Amazon EC2) and Pycam 0.5.1.
I have tried to delete the 2 lines, but the problem persists.
Any idea?
Thanks!
Hi nobody,
thanks for your report!
Maybe you encountered a similar problem as the one above, but the exact output of PyCAM surely differs slightly. Could you post your details here, please?
cheers,
Lars
Sorry for the "nobody", lol… My name is Marcelo.
The error is the following:
"An unexpected exception occoured: please send the text below to the developers of PyCAM. Thanks a lot!
Traceback (most recent call last):
File "/home/ubuntu/Desktop/pycam-0.5.1/src/pycam/Gui/Project.py", line 1285, in gui_activity_guard_wrapper
result = func(self, *args, **kwargs)
File "/home/ubuntu/Desktop/pycam-0.5.1/src/pycam/Gui/Project.py", line 2449, in toggle_3d_view
for name in ("GeneralSettings", "Help3DView")])
File "/home/ubuntu/Desktop/pycam-0.5.1/src/pycam/Gui/OpenGLTools.py", line 332, in __init__
| gtk.gdkgl.MODE_DEPTH | gtk.gdkgl.MODE_DOUBLE)
NoMatches: no frame buffer configurations match the specified attributes"
I tried to fix the problem deleting the two lines like above, but the same.
I am using Ubuntu 10.04 Desktop running on an Amazon EC2 machine.
Thanks for any help!!!
Hi Marcelo,
it feels good to know your name :)
I guess, this thread will solve your problem: http://sourceforge.net/projects/pycam/forums/forum/860184/topic/4822570
cheers,
Lars