[pyphy] updated Mavric available

Danny Rice dwrice@indiana.edu
Fri, 5 Nov 1999 12:26:59 -0500 (EST)


Rick Ree writes:
>The rewrite of Mavric I mentioned earlier is now up as a tarball on the
>web site (http://theopenlab.uml.edu/mavric).  I hope no one is offended
>that I'm not using CVS, but the main reason is that I'm still thinking
>about the design of the modules, and so it's probably too much of a moving
>target for CVS.  Also, I'm just not organized enough.  Anyway, no one else
>was making commits, so no big deal :)
>
>I'd appreciate feedback if anyone finds it remotely useful.
>
>Rick

Rick, I tried the tar file and got the following message:

mavric.py treefile

Traceback (innermost last):
  File "./mavric.py", line 26, in ?
    t.showTree(0)
  File "/home/rree/src/mavric/Mavric/treeeditor.py", line 128, in showTree
  File "/home/rree/src/mavric/Mavric/treecanvas.py", line 337, in showTree
  File "/home/rree/src/mavric/Mavric/treecanvas.py", line 368, in fitCurrentToWindow
  File "/usr/lib/python1.5/site-packages/gtk.py", line 198, in set_all
    page_size)
TypeError: gtk_adjustment_set_all requires exactly 1 argument; 7 given

I moved the .pyc files and still got a similar message.

Traceback (innermost last):
  File "./mavric.py", line 26, in ?
    t.showTree(0)
  File "./Mavric/treeeditor.py", line 128, in showTree
    self.scrwin.canvas.showTree(tree)
  File "./Mavric/treecanvas.py", line 337, in showTree
    self.fitCurrentToWindow()
  File "./Mavric/treecanvas.py", line 368, in fitCurrentToWindow
    h.step_increment, h.page_increment, h.page_size)
  File "/usr/lib/python1.5/site-packages/gtk.py", line 198, in set_all
    page_size)
TypeError: gtk_adjustment_set_all requires exactly 1 argument; 7 given

I have redhat 6.1 with

python-1.5.2-7
gnome-libs-1.0.40-1
pygtk-0.6.2-2

I don't know enough python at this point to decipher this.  Looks like 
gtk_adjustment_set_all is getting called with too many arguments
somewhere.

Danny