[pygr-notify] Issue 53 in pygr: sqlgraph.GraphView ORDER-BY bug

codesite-noreply at google.com codesite-noreply at google.com
Sun Feb 22 00:33:35 PST 2009


Comment #3 on issue 53 by jqian.ubc: sqlgraph.GraphView ORDER-BY bug
http://code.google.com/p/pygr/issues/detail?id=53

Anybody else has problem running the sqltable_test.py?  When I tried to run  
it, I got
'cannot import name MapView' and 'cannot import name GraphView' errors.

qing at 1[tests]$ python protest.py sqltable_test.py
Traceback (most recent call last):
   File "protest.py", line 126, in <module>
     run_all_tests(find_tests(*(sys.argv[1:])))
   File "protest.py", line 69, in find_tests
     exec 'import %s' % path
   File "<string>", line 1, in <module>
   File "/home/qing/workspace2008/pygr/tests/sqltable_test.py", line 3, in  
<module>
     from pygr.sqlgraph import  
SQLTable,getNameCursor,MapView,GraphView,DBServerInfo
ImportError: cannot import name MapView

I can import both modules using a python interactive session:
>>> from pygr.sqlgraph import SQLTable
>>> from pygr.sqlgraph import MapView
>>> from pygr.sqlgraph import GraphView
>>> from pygr.sqlgraph import getNameCursor



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings



More information about the pygr-notify mailing list