On Fri 21 Nov 2014 at 05:19 Alvin Panugayan <acpanugayan@gmail.com> wrote:
-- --I'm following the django tutorial online and I'm stuck on the migrate bit (bottom of the post).1. Do I need to install south ? Tried to install but am getting a similar error. OpenKey() argument...2. Do I need to install sqlite3 separately ? Running import sqlite inside the python prompt seems to work, but typing sqlite3 on the windows command prompt doesn't work.C:\Python33\kaizen>python manage.py migrateTraceback (most recent call last):File "manage.py", line 10, in <module>execute_from_command_line(sys.argv)File "C:\Python33\lib\site-packages\django\core\management\__init__.py", line 385, in execute_from_command_utility.execute()File "C:\Python33\lib\site-packages\django\core\management\__init__.py", line 354, in executedjango.setup()File "C:\Python33\lib\site-packages\django\__init__.py", line 21, in setupapps.populate(settings.INSTALLED_APPS)File "C:\Python33\lib\site-packages\django\apps\registry.py", line 108, in populateapp_config.import_models(all_models)File "C:\Python33\lib\site-packages\django\apps\config.py", line 202, in import_modelsself.models_module = import_module(models_module_name)File "C:\Python33\lib\importlib\__init__.py", line 90, in import_modulereturn _bootstrap._gcd_import(name[level:], package, level)File "<frozen importlib._bootstrap>", line 1584, in _gcd_importFile "<frozen importlib._bootstrap>", line 1565, in _find_and_loadFile "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlockedFile "<frozen importlib._bootstrap>", line 584, in _check_name_wrapperFile "<frozen importlib._bootstrap>", line 1022, in load_moduleFile "<frozen importlib._bootstrap>", line 1003, in load_moduleFile "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapperFile "<frozen importlib._bootstrap>", line 868, in _load_moduleFile "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removedFile "C:\Python33\lib\site-packages\django\contrib\auth\models.py", line 13, in <module>from django.contrib.auth.hashers import (File "C:\Python33\lib\site-packages\django\contrib\auth\hashers.py", line 11, in <module>from django.test.signals import setting_changedFile "C:\Python33\lib\site-packages\django\test\__init__.py", line 6, in <module>from django.test.testcases import (File "C:\Python33\lib\site-packages\django\test\testcases.py", line 26, in <module>from django.core.servers.basehttp import WSGIRequestHandler, WSGIServerFile "C:\Python33\lib\site-packages\django\core\servers\basehttp.py", line 16, in <module>from wsgiref import simple_serverFile "C:\Python33\lib\wsgiref\simple_server.py", line 13, in <module>from http.server import BaseHTTPRequestHandler, HTTPServerFile "C:\Python33\lib\http\server.py", line 654, in <module>class SimpleHTTPRequestHandler(BaseHTTPRequestHandler):File "C:\Python33\lib\http\server.py", line 839, in SimpleHTTPRequestHandlermimetypes.init() # try to read system mime.typesFile "C:\Python33\lib\mimetypes.py", line 348, in initdb.read_windows_registry()File "C:\Python33\lib\mimetypes.py", line 255, in read_windows_registrywith _winreg.OpenKey(hkcr, subkeyname) as subkey:TypeError: OpenKey() argument 2 must be str without null characters or None, not str
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/70792c0f-b500-423a-ab59-9d8c96a09885%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACPst9JGDp4kKu5%2BbxCqFg8jqBUSAwLMXerpYoqNfHqg_trGWw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment