Ralf Muschall wrote: > Hello, > > I just tried the recent gadfly (from SF), using Python > 2.4.2 (hand built, since my Suse 8.2 had only 2.2.2). > > The direct operation of gadfly works. > > After calling gfserver, I get (in addition to a complete > users manual dumped on the screen) the following error > message: > > |Traceback (most recent call last): > | File "/usr/local/bin/gfserver", line 4, in ? > | main() > | File > "/usr/local/python-2.4.2/lib/python2.4/site-packages/gadfly/scripts/gfserver.py", > line 89, in main > | S = Server(int(port), db, dr, pw, startup) > |NameError: global name 'Server' is not defined > > > which is factually correct (the script only imports sys, > but then tries to instantiate the class "Server" which is > nowhere defined). > > Is this a bug somewhere, or is just my installation broken? > You're already doing better than I am. On Cygwin 2.5rc2 and Windows 2.4.2 I can't even get it to runs its tests properly:
C:\Steve\gadflyZip>python run_tests Traceback (most recent call last): File "run_tests", line 9, in ? go() File "C:\Steve\gadflyZip\test\__init__.py", line 35, in go l.append(test_mods[name].suite()) AttributeError: 'module' object has no attribute 'suite' Running gvserver I get pretty mucht he same thing you do: Traceback (most recent call last): File "gadflyZip\gadfly\scripts\gfserver.py", line 101, in ? main() File "gadflyZip\gadfly\scripts\gfserver.py", line 89, in main S = Server(int(port), db, dr, pw, startup) NameError: global name 'Server' is not defined Time to report a bug, methinks? Makes SQLite look good ... regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://holdenweb.blogspot.com Recent Ramblings http://del.icio.us/steve.holden -- http://mail.python.org/mailman/listinfo/python-list