Thanks, I wasn't aware of the options for specifying the datastore location.
However, I think the real issue was I had "'use_remote': True" set, since I thought this was necessary for remote_api support. After disabling that, the app finally seems to work. On Tue, Apr 20, 2010 at 5:22 PM, Andrius A <[email protected]> wrote: > I would suspect that your python app does not have write permission to > create datastore files? > > As in my project, I have set datastore path to point to root folder of my > project, its handy than you have more projects to work with.. > MyProject/db - datastore files (set write permissions for everyone) > MyProject/src - source files where manage.py resides > > # Will automatically detect and set datastore path once loaded > script_path = os.path.split(os.path.abspath(sys.argv[0])) > script_path = os.path.split(script_path[0]) > DATABASE_OPTIONS = { > 'datastore_path' : script_path[0] + '/db/datastore.db', > 'history_path' : script_path[0] + '/db/history.db', > } > > > On 20 April 2010 22:10, Chris Spencer <[email protected]> wrote: >> >> Sigh, that's exactly what I'm doing. >> >> Although I originally had the SDK in /common/.google_appengine, which >> should have been the same as putting it in your path, but I tried >> deleting it from there and reinstalling it in a path location. Oddly, >> that's resolved that error, but now I'm getting the new error: >> >> File >> "google_appengine/google/appengine/tools/dev_appserver_blobstore.py", >> line 57, in GetBlobStorage >> return apiproxy_stub_map.apiproxy.GetStub('blobstore').storage >> AttributeError: 'NoneType' object has no attribute 'storage' >> >> and I get this for any URL I visit. Could that be a problem with the >> datastore not be creating properly? >> >> On Tue, Apr 20, 2010 at 2:13 PM, Andrius A <[email protected]> wrote: >> > Hi, >> > >> > I am runnig it in latest ubuntu. Make sure you use python 2.5version. By >> > default its not installed in latest ubuntu, try installing: apt-get >> > install >> > python2.5 and then run the server by calling: python2.5 manage.py >> > runserver >> > >> > Also, don't forget set appengine in PATH >> > >> > Rgds, >> > Andrejus >> > >> > -- >> > Sent from my mobile device >> > >> > On 20 Apr 2010 17:40, "Chris" <[email protected]> wrote: >> > >> > Has anyone been able to get AEP1.1RC running on Ubuntu 9.10+? I'm >> > stuck on the "No module named ext" error outlined in >> > http://code.google.com/p/app-engine-patch/issues/detail?id=174 >> > >> > Unfortunately, this ticket was closed prematurely. I've spent several >> > hours hacking away, trying to work around this problem, but I haven't >> > gotten anywhere. I did notice that Ubuntu seems to come preinstalled >> > with a package called python-protobuf, which creates a "google" module >> > that could potentially conflict with the AE SDK module. However, even >> > after I removed this package, I still get the error. >> > >> > Has anyone figured this out? I realize AEP has been "deprecated" in >> > favor of Django-Norel, but that project's months away from being >> > usable, and even then it seems unlikely to support all the admin >> > functionality AEP currently supports. >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "app-engine-patch" 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/app-engine-patch?hl=en. >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "app-engine-patch" 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/app-engine-patch?hl=en. >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "app-engine-patch" 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/app-engine-patch?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "app-engine-patch" 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/app-engine-patch?hl=en. > -- You received this message because you are subscribed to the Google Groups "app-engine-patch" 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/app-engine-patch?hl=en.
