Django in MovablePython

15 views
Skip to first unread message

Taser

unread,
Jan 2, 2009, 11:57:55 AM1/2/09
to Django users
I've installed Django using the instructions found on
http://code.djangoproject.com/wiki/MovablePythonInstall on a USB drive
and following the Django on-site tutorial. I'm getting the following
error when trying to do 'python manage.py syncdb'.

- - - - START error message
Traceback (most recent call last):
File "main.py", line 1048, in <module>
File "manage.py", line 11, in <module>
File "H:\Programming\MovablePython-MegaPack\mega-pack\interpreters
\movpy-2.5\l
ib\django\core\management\__init__.py", line 340, in execute_manager
File "H:\Programming\MovablePython-MegaPack\mega-pack\interpreters
\movpy-2.5\l
ib\django\core\management\__init__.py", line 295, in execute
File "H:\Programming\MovablePython-MegaPack\mega-pack\interpreters
\movpy-2.5\l
ib\django\core\management\base.py", line 192, in run_from_argv
File "H:\Programming\MovablePython-MegaPack\mega-pack\interpreters
\movpy-2.5\l
ib\django\core\management\base.py", line 210, in execute
File "H:\Programming\MovablePython-MegaPack\mega-pack\interpreters
\movpy-2.5\l
ib\django\utils\translation\__init__.py", line 73, in activate
File "H:\Programming\MovablePython-MegaPack\mega-pack\interpreters
\movpy-2.5\l
ib\django\utils\translation\__init__.py", line 36, in delayed_loader
IndexError: list index out of range
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit
(Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>
- - - - END error Message

The only changes made from the default settings.py were:

DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = 'H:/Programming/MovablePython-MegaPack/mega-pack/
interpreters/movpy-2.5/mytestsite/mytestsitedb.db'

Does anyone have any pointers as to how I can fix this?

Tony R.
aka Taser

Michael Palumbo

unread,
Jul 16, 2012, 3:56:27 PM7/16/12
to django...@googlegroups.com
Hi,

I have been recently concerned about getting a portable Django development environment as well. I wanted it to work on any computers without installing anything.
I could get it to work, I can now carry my environment and projects on a USB stick. :)
I assume it is a bit late for your case now but maybe it will help someone else.
I made a tutorial on my blog:

Feel free to leave comment and/or send me your feedback to improve my "homemade" solution.
Also, updating the wiki might be nice for next people looking for it? What do you think?

Michael
Reply all
Reply to author
Forward
0 new messages