Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > gadfly gfplus error

Reply
Thread Tools

gadfly gfplus error

 
 
Istvan Albert
Guest
Posts: n/a
 
      09-08-2003
Hello,

I've been playing around with gadfly, and it is a
great piece but I am having problems with gfplus
the interactive shell to gadfly.

Namely I get the following error when running the file:

---
Traceback (most recent call last):
File "/usr/local/bin/gfplus", line 3, in ?
main()
File
"/usr/local/lib/python2.3/site-packages/gadfly/scripts/gfplus.py", line
269, in main
shell.cmdloop()
File "/usr/local/lib/python2.3/cmd.py", line 109, in cmdloop
self.preloop()
File "/usr/local/lib/python2.3/cmd.py", line 150, in preloop
if self.completekey:
AttributeError: GadflyShell instance has no attribute 'completekey'
---

It looks as if the GadflyShell does not provide some attributes
that are needed later on. Inserting the

cmd.Cmd.__init__(self)

as the first line of the GadflyShell constructor solves this
problem. Is that the right solution?

Istvan.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gadfly server startup error Ralf Muschall Python 6 10-02-2006 04:19 PM
Gadfly Q Ian Pellew Python 1 02-20-2004 04:00 PM
Problem installing gadfly on Mandrake 9.2 R.Marquez Python 3 12-08-2003 06:51 PM
Gadfly DB in python standard library? Brian O. Bush Python 4 11-16-2003 06:50 PM
gadfly and SQL-LIKE Patrick W. Fraley Python 1 09-03-2003 04:13 PM



Advertisments