Hello,
I'm new to Django. I'm setting up an existing app for development on
Windows. In the past I've run in to an issue with this application refusing
to run under Django 1.4 on Windows (it's primarily developed under 1.3 on
Ubuntu), but I hacked a 1.4-type manage.py file (manage14.py) and added the
application to the pythonpath and everything went fine. Now, on another
machine, I can't get Manage14.py to run at all. I'm not sure what's going
on here, I've included the output below. Thanks for any ideas!
Usage: manage14.py subcommand [options] [args]
Options:
-v VERBOSITY, --verbosity=VERBOSITY
Verbosity level; 0=minimal output, 1=normal output,
2=verbose output, 3=very verbose output
--settings=SETTINGS The Python path to a settings module, e.g.
"myproject.settings.main". If this isn't provided,
the
DJANGO_SETTINGS_MODULE environment variable will be
used.
--pythonpath=PYTHONPATH
A directory to add to the Python path, e.g.
"/home/djangoprojects/myproject".
--traceback Print traceback on exception
--version show program's version number and exit
-h, --help show this help message and exit
Traceback (most recent call last):
File ".\manage14.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "D:\Program
Files\python27\lib\site-packages\django\core\management\__init__.py", line
443, in execute_from_comma
nd_line
utility.execute()
File "D:\Program
Files\python27\lib\site-packages\django\core\management\__init__.py", line
366, in execute
sys.stdout.write(self.main_help_text() + '\n')
File "D:\Program
Files\python27\lib\site-packages\django\core\management\__init__.py", line
231, in main_help_text
for name, app in get_commands().iteritems():
File "D:\Program
Files\python27\lib\site-packages\django\core\management\__init__.py", line
101, in get_commands
apps = settings.INSTALLED_APPS
File "D:\Program
Files\python27\lib\site-packages\django\utils\functional.py", line 184, in
inner
self._setup()
File "D:\Program
Files\python27\lib\site-packages\django\conf\__init__.py", line 42, in
_setup
self._wrapped = Settings(settings_module)
File "D:\Program
Files\python27\lib\site-packages\django\conf\__init__.py", line 93, in
__init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "D:\Program
Files\python27\lib\site-packages\django\utils\importlib.py", line 35, in
import_module
__import__(name)
File "D:\epscor\teacherspet\settings.py", line 146, in <module>
if not import_library('apps.course.templatetags.course_url') in
builtins:
File "D:\Program
Files\python27\lib\site-packages\django\template\base.py", line 1245, in
import_library
if is_library_missing(taglib_module):
File "D:\Program
Files\python27\lib\site-packages\django\template\base.py", line 1229, in
is_library_missing
return is_library_missing(path)
File "D:\Program
Files\python27\lib\site-packages\django\template\base.py", line 1229, in
is_library_missing
return is_library_missing(path)
File "D:\Program
Files\python27\lib\site-packages\django\template\base.py", line 1229, in
is_library_missing
return is_library_missing(path)
File "D:\Program
Files\python27\lib\site-packages\django\template\base.py", line 1224, in
is_library_missing
path, module = name.rsplit('.', 1)
ValueError: need more than 1 value to unpack
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/Rjsioc9JQUMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.