vpApp probs

Robin Friedrich (friedric@rsoc.rockwell.com)
9 May 1994 15:55:03 GMT

Question for Guido: Is there a plan to provide a revised X-Motif binding module
for Python? If so, will that mean Per's vpApp will have to be rewritten?

Question for Per:
OK; I hate to be a party pooper but the demo apps in vpApp really ought
to work, else no one will explore this great tool further.

For example:

darwin 16 % xpython EditorCanvasTest.py
Traceback (innermost last):
File "EditorCanvasTest.py", line 4
from EditorCanvas import EditorCanvas
ImportError: No module named EditorCanvas
darwin 17 % xpython FinalizeTest.py
Traceback (innermost last):
File "FinalizeTest.py", line 10
from EditorCanvas import EditorCanvas
ImportError: No module named EditorCanvas
darwin 18 % xpython FontTest.py
Traceback (innermost last):
File "FontTest.py", line 8
from String import String
ImportError: No module named String

and
darwin 31 % xpython SketcherTest.py
Traceback (innermost last):
File "SketcherTest.py", line 198
test()
File "SketcherTest.py", line 190
win.AddWorkArea( Box({
File "SketcherTest.py", line 22
ps = Sketcher( canvas )
File "/rose1/python/VP/lib/Sketcher.py", line 54
Control.__init__( self, argdict )
File "/rose1/python/VP/lib/Control.py", line 49
apply( self.GetSuperClass('Control').__init__, (self,) + argdict )
File "/rose1/python/VP/lib/Responder.py", line 45
if super != None: apply( super.__init__, (self,) + argdict )
File "/rose1/python/VP/lib/Object.py", line 33
self.ProcessArgs( argdict[0] )
File "/rose1/python/VP/lib/Control.py", line 83
for key in argdict.keys():
AttributeError: keys

and

darwin 38 % xpython WindowTest.py
Window.CreateWidget called
Window: adding work_area
Window: adding menu_bar
Traceback (innermost last):
File "WindowTest.py", line 64
test()
File "WindowTest.py", line 41
win.SetMessageString( 'Message area' )
AttributeError: SetMessageString

and

darwin 56 % xpython HierarchyBrowserTest.py
Current node = root
Current node = root
Current node = root
Current node = root
....
Current node = root
Current node = root
Traceback (innermost last):
File "HierarchyBrowserTest.py", line 45
test()
File "HierarchyBrowserTest.py", line 43
app.Run()
File "/rose1/python/VP/lib/Application.py", line 151
Xt.MainLoop()
File "/rose1/python/VP/lib/EventNotifier.py", line 103
eh( graphic, client_data, xevent, None )
File "/rose1/python/VP/lib/HierarchyBrowser.py", line 178
if name not in [None, '']: self.DoUpdate( self.GetNode( name ) )
File "/rose1/python/VP/lib/HierarchyBrowser.py", line 218
self.SetListItems( 1, node )
File "/rose1/python/VP/lib/HierarchyBrowser.py", line 246
list.SetList( self.GetListItems( tnode ) )
KeyboardInterrupt

and Last but not least:

The CreateHierarchyWindow function in the Class browser demo does not
create a readable diagram. The middle of the window is blanked out.
I was really looking forward to this! Ah well...

(Not-that-I'm-ungrateful-ly yours)
-Robin- (Trademark infingement suit not necessary Tim, I'm poor:-)