Ticket #86 (closed defect: fixed)
TypeError in aplication.py
| Reported by: | cleonello | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | admin | Version: | |
| Keywords: | Cc: |
Description
I've just updated Zine to rev 499 and updated Werkzeug to the latest development egg (20080925) with easy_install. With a new db, I get the following error when starting a scripts/shell and a similar error when running the server and navigating to the admin page:
Traceback (most recent call last):
File "./scripts/shell", line 49, in <module>
main()
File "./scripts/shell", line 45, in main
abspath(instance))(ipython=not options.no_ipython)
File "/opt/local/lib/python2.5/site-packages/Werkzeug-0.4dev_20080925-py2.5.egg/werkzeug/script.py", line 242, in action
namespace = init_func()
File "./scripts/shell", line 44, in <lambda>
make_shell(lambda: init_func(instance), banner='Zine Shell [%s]' %
File "./scripts/shell", line 24, in init_func
app = make_zine(instance, True)
File "/Users/cleonell/proj/zine/zine/application.py", line 1307, in make_zine
app.__init__(instance_folder)
File "/Users/cleonell/proj/zine/zine/application.py", line 624, in __init__
self.parsers = dict((k, v(self)) for k, v in all_parsers.iteritems())
File "/Users/cleonell/proj/zine/zine/application.py", line 624, in <genexpr>
self.parsers = dict((k, v(self)) for k, v in all_parsers.iteritems())
TypeError: __init__() takes exactly 1 argument (2 given)
When running the server, Zine did install the new db tables o.k.
I was running fine from the zine/werkzeug I pulled down on 2008-09-04.
Change History
Note: See
TracTickets for help on using
tickets.