[PythonCAD] Adding layers

Art Haas ahaas at airmail.net
Sun Oct 8 03:05:08 CEST 2006


On Fri, Oct 06, 2006 at 05:10:13PM +0200, nescivi wrote:
> Hi,
> 
> I just downloaded and installed PythonCAD-DS1-R34 from the PythonCAD website.
> 
> First of all: thanks for this great program!

Thanks.

> I have however one question, regarding layers. PythonCAD seems to support 
> multiple layers, but I don't find how to add layers.
> 
> Right clicking in the layers field on the left of the screen, gives me the 
> following errors in the console:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/PythonCAD/Interface/Gtk/gtkshell.py", 
> line 104, in __treeViewButtonPress
>     _menu = self.__makePopupMenu(widget, _x, _y)
>   File "/usr/lib/python2.4/site-packages/PythonCAD/Interface/Gtk/gtkshell.py", 
> line 111, in __makePopupMenu
>     _path, _col, _cx, _cy = widget.get_path_at_pos(x, y)
> TypeError: unpack non-sequence
>                               
> So I have a feeling that something goes wrong in creating the PopupMenu.
> 
> Is this a known bug?
> Or is it a problem with my installation?

It's probably a bug, and I'll take a shot at fixing it this weekend.

> I am on Debian unstable, and have Python 2.4 as default, and PyGTK2 package 
> from the Debian repository installed.

I'm also running Debian unstable on my main computer, so I should be
able to fix things.

> Thanks for any help,

Art Haas
-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822


More information about the PythonCAD mailing list