[Dev-flock] running prototype locally help
Lucy Mendel
lmendel at MIT.EDU
Sat Oct 13 11:42:34 EDT 2007
yo,
Ok, that was a simple path error. I'm at the same stage as Mike and Sean,
I believe:
lucy at snoopy ~/Projects/Workspace/ThoughtAndMemory/trunk/web/src
$ ./manage.py loaddata database/db/fixtures/santa.json
Loading 'database/db/fixtures/santa' fixtures...
Installing json fixture 'database/db/fixtures/santa' from absolute path.
Problem installing fixture 'database/db/fixtures/santa.json': Article
matching query does not exist.
Dan, is there a way to rebuild santa.json? I've run this command 22 times
(exactly!) with the same error each time.
I can run the prototype (/Main/node/0) but there is no data.
L.
On Sat, 13 Oct 2007, Lucy Mendel wrote:
> yo,
>
> To keep you updated, I have mysql and mysqldb installed, though perhaps
> incorrectly ocnfigured. here's my latest error when running syncdb:
> (ps - i haven't run build fixtures in a while!)
> i will keep at this, but if you get this message send me a note so we can
> combine forces!
> word!
>
> lucy at snoopy ~/Projects/Workspace/ThoughtAndMemory/trunk/web/src
> $ ./manage.py syncdb
> Traceback (most recent call last):
> File "./manage.py", line 11, in <module>
> execute_manager(settings)
> File
> "/Users/lucy/Projects/Workspace/ThoughtAndMemory/trunk/web/src/django/core/management/__init__.py",
> line 264, in execute_manager
> utility.execute()
> File
> "/Users/lucy/Projects/Workspace/ThoughtAndMemory/trunk/web/src/django/core/management/__init__.py",
> line 215, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
> File
> "/Users/lucy/Projects/Workspace/ThoughtAndMemory/trunk/web/src/django/core/management/base.py",
> line 70, in run_from_argv
> self.execute(*args, **options.__dict__)
> File
> "/Users/lucy/Projects/Workspace/ThoughtAndMemory/trunk/web/src/django/core/management/base.py",
> line 83, in execute
> self.validate()
> File
> "/Users/lucy/Projects/Workspace/ThoughtAndMemory/trunk/web/src/django/core/management/base.py",
> line 110, in validate
> num_errors = get_validation_errors(s, app)
> File
> "/Users/lucy/Projects/Workspace/ThoughtAndMemory/trunk/web/src/django/core/management/validation.py",
> line 28, in get_validation_errors
> for (app_name, error) in get_app_errors().items():
> File
> "/Users/lucy/Projects/Workspace/ThoughtAndMemory/trunk/web/src/django/db/models/loading.py",
> line 126, in get_app_errors
> self._populate()
> File
> "/Users/lucy/Projects/Workspace/ThoughtAndMemory/trunk/web/src/django/db/models/loading.py",
> line 55, in _populate
> self.load_app(app_name, True)
> File
> "/Users/lucy/Projects/Workspace/ThoughtAndMemory/trunk/web/src/django/db/models/loading.py",
> line 70, in load_app
> mod = __import__(app_name, {}, {}, ['models'])
> File
> "/Users/lucy/Projects/Workspace/ThoughtAndMemory/trunk/web/src/database/db/models.py",
> line 4, in <module>
> import log, citation, user, rating, tag, graph, state
> File
> "/Users/lucy/Projects/Workspace/ThoughtAndMemory/trunk/web/src/database/db/log.py",
> line 8, in <module>
> import graph, citation, user, tag, rating
> File
> "/Users/lucy/Projects/Workspace/ThoughtAndMemory/trunk/web/src/database/db/user.py",
> line 5, in <module>
> import graph, rating, citation, tag
> File
> "/Users/lucy/Projects/Workspace/ThoughtAndMemory/trunk/web/src/database/db/tag.py",
> line 8, in <module>
> from django.db.backends.mysql.base import Database
> File
> "/Users/lucy/Projects/Workspace/ThoughtAndMemory/trunk/web/src/django/db/backends/mysql/base.py",
> line 12, in <module>
> raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
> django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module:
> dlopen(/Users/lucy/.python-eggs/MySQL_python-1.2.2-py2.5-macosx-10.3-fat.egg-tmp/_mysql.so,
> 2): Library not loaded:
> /usr/local/mysql/lib/mysql/libmysqlclient_r.15.dylib
> Referenced from:
> /Users/lucy/.python-eggs/MySQL_python-1.2.2-py2.5-macosx-10.3-fat.egg-tmp/_mysql.so
> Reason: image not found
> _______________________________________________
> Dev-flock mailing list
> Dev-flock at mit.edu
> http://mailman.mit.edu/mailman/listinfo/dev-flock
>
More information about the Dev-flock
mailing list