Issue 9 in gpapers: Django ImportError: cannot import name utils

72 views
Skip to first unread message

codesite...@google.com

unread,
Feb 14, 2012, 7:54:12 AM2/14/12
to gpapers...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 9 by alexandr...@gmail.com: Django ImportError: cannot import
name utils
http://code.google.com/p/gpapers/issues/detail?id=9

I'm trying to run gPapers on my archlinux (build from aur:
http://aur.archlinux.org/packages.php?ID=23256)
Here is the pythong traceback I'm getting:

$ gpapers
/usr/lib/python2.7/gpapers ~

note: django provides a web-based administrative tool for your database.
to use it, uncomment the commented-out lines under INSTALLED_APPS in
settings.py and run the following:
./manage.py runserver
then go to http://127.0.0.1:8000/admin/

Traceback (most recent call last):
File "gPapers.py", line 78, in <module>
from django.db.models import Q
File "/usr/lib/python2.7/site-packages/django/db/__init__.py", line 78,
in <module>
connection = connections[DEFAULT_DB_ALIAS]
File "/usr/lib/python2.7/site-packages/django/db/utils.py", line 93, in
__getitem__
backend = load_backend(db['ENGINE'])
File "/usr/lib/python2.7/site-packages/django/db/utils.py", line 33, in
load_backend
return import_module('.base', backend_name)
File "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line
35, in import_module
__import__(name)

File "/usr/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py",
line 14, in <module>
from django.db import utils
ImportError: cannot import name utils
~

codesite...@google.com

unread,
Jun 10, 2012, 12:00:19 PM6/10/12
to gpapers...@googlegroups.com
Updates:
Status: Fixed
Labels: Milestone-Release0.5

Comment #1 on issue 9 by marcelCo...@gmail.com: Django ImportError: cannot
gPapers should now start without error. The upcoming 0.5 release should
work with Arch Linux, I hope.

Reply all
Reply to author
Forward
0 new messages