littleq0903 / appengine-admin

Automatically exported from code.google.com/p/appengine-admin
0 stars 0 forks source link

TypeError: __init__() when trying to use appengine_admin #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I followed the quickstart but need help getting appengine_admin to work.
Using Django 1.1 with the djangohelper, 
Running on Ubuntu, python2.5

When visiting the /admin/ page got the following error and traceback:

ERROR:root:Exception encountered handling request
Traceback (most recent call last):
  File
"/home/danielle/projects/appdjango/google_appengine/google/appengine/tools/dev_a
ppserver.py",
line 2978, in _HandleRequest
    base_env_dict=env_dict)
  File
"/home/danielle/projects/appdjango/google_appengine/google/appengine/tools/dev_a
ppserver.py",
line 411, in Dispatch
    base_env_dict=base_env_dict)
  File
"/home/danielle/projects/appdjango/google_appengine/google/appengine/tools/dev_a
ppserver.py",
line 2244, in Dispatch
    self._module_dict)
  File
"/home/danielle/projects/appdjango/google_appengine/google/appengine/tools/dev_a
ppserver.py",
line 2162, in ExecuteCGI
    reset_modules = exec_script(handler_path, cgi_path, hook)
  File
"/home/danielle/projects/appdjango/google_appengine/google/appengine/tools/dev_a
ppserver.py",
line 2058, in ExecuteOrImportScript
    exec module_code in script_module.__dict__
  File "/home/danielle/bu2/appdjango/mysite/main.py", line 57, in <module>
    main()
  File "/home/danielle/bu2/appdjango/mysite/main.py", line 49, in main
    (r'^(/admin)(.*)$', appengine_admin.Admin),
TypeError: __init__() takes exactly 1 argument (2 given)

Original issue reported on code.google.com by dstrijdh...@gmail.com on 27 Oct 2009 at 12:21

GoogleCodeExporter commented 9 years ago
Also happend with appengine_django

Original comment by mamcx%el...@gtempaccount.com on 1 Jan 2011 at 4:21

GoogleCodeExporter commented 9 years ago
Could not reproduce on Ubuntu 10.10 with Python 2.6 and Appengine SDK 1.6.2

Original comment by valdiic on 18 Feb 2012 at 9:09