Reading the traceback I think the '-' in the name might be causing you a problem You would not be able to have a python name (ie module name variable etc..) with '-' . The parser won't be able distinguish between - operator / expression and your name.
That might be it T On Apr 30, 11:07 am, notcourage <[email protected]> wrote: > I confess I haven't used fixtures before. My hierarchy is: > > collectrium-splash > models.py: Contains the model Period. > fixtures > period.yaml > > First of all, it seems odd that: > > python manage.py loaddata period.yaml > > doesn't find the fixtures directory so I tried: > > python manage.py loaddata fixtures/period.yaml > > which yields this stk trace: > > WARNING:root:Could not read datastore data from /tmp/ > django_collectrium-splash.datastore > WARNING:root:Could not read datastore data from /tmp/ > django_collectrium-splash.datastore.history > INFO:root:zipimporter('/home/notcourage/swe/collectrium-splash/ > django.zip', 'django/core/serializers/') > Installing yaml fixture 'fixtures/period' from absolute path. > Problem installing fixture 'fixtures/period.yaml': Traceback (most > recent call last): > File "/home/notcourage/swe/collectrium-splash/django.zip/django/core/ > management/commands/loaddata.py", line 116, in handle > for obj in objects: > File "/home/notcourage/swe/collectrium-splash/django.zip/django/core/ > serializers/pyyaml.py", line 49, in Deserializer > for obj in PythonDeserializer(yaml.load(stream)): > File "/home/notcourage/swe/collectrium-splash/appengine_django/ > serializer/python.py", line 59, in Deserializer > Model = python._get_model(d["model"]) > File "/home/notcourage/swe/collectrium-splash/django.zip/django/core/ > serializers/python.py", line 107, in _get_model > raise base.DeserializationError(u"Invalid model identifier: '%s'" > % model_identifier) > DeserializationError: Invalid model identifier: 'collectrium- > splash.period' > > Thx for your help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. 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/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
