zombiezen / turbohvz

Automatically exported from code.google.com/p/turbohvz
GNU General Public License v3.0
0 stars 0 forks source link

TypeError: TG Group.__init__ call #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using turbohvz-create-perms 

What is the expected output? What do you see instead?
  Getting TypeError on Group.__init__ call in commands.create_permission, 
should create them w/o errors

What version of the product are you using? On what operating system?
  Happens on both TurboHvZ 0.3.0 (easy_install) and recent svn (0.4.0) 
distro. Using TurboGears 1.0.4.4 but causes it on the beta release too. 
Using RedHat 5

Please provide any additional information below.

Traceback (most recent call last):
  File "/usr/local/bin/turbohvz-create-perms", line 8, in <module>
    load_entry_point('TurboHvZ==0.4.0', 'console_scripts', 'turbohvz-
create-perms')()
  File "/usr/local/lib/python2.5/site-packages/TurboHvZ-0.4.0-
py2.5.egg/hvz/commands.py", line 157, in create_permissions
    player = Group(u"player", u"Player")
TypeError: __init__() takes exactly 1 argument (3 given)

Original issue reported on code.google.com by justquick on 24 Sep 2008 at 1:48

GoogleCodeExporter commented 9 years ago
Thank you for reporting this bug!  I have found the problem and will see what I 
can
do to fix it in the next release.  The problem appears to be that SQLAlchemy 
0.5 has
changed the behavior of __init__ for database objects, so the problem is 
remedied by
installing SQLAlchemy version 0.4.7p1.

Original comment by rlight2@gmail.com on 24 Sep 2008 at 9:51

GoogleCodeExporter commented 9 years ago
Thanks for the help. Its now up and working from their 0.4 svn release 
(0.4.8dev-
r5120)

Original comment by justquick on 24 Sep 2008 at 9:59