You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Total noob with Django trying to get the testapp running. After carefully following all instructions on http://djangoappengine.readthedocs.org/en/latest/installation.html I run "python manage.py runserver" in the test app directory (on Linux Mint Olivia) and get the following
Traceback (most recent call last):
File "manage.py", line 11, in
execute_manager(settings)
File "/home/cosmo/Web/DjangoStuff/django-testapp-testapp-1.4/django/core/management/init.py", line 457, in execute_manager
setup_environ(settings_mod)
File "/home/cosmo/Web/DjangoStuff/django-testapp-testapp-1.4/django/core/management/init.py", line 433, in setup_environ
import_module(project_name)
File "/home/cosmo/Web/DjangoStuff/django-testapp-testapp-1.4/django/utils/importlib.py", line 35, in import_module import(name)
ImportError: No module named django-testapp-testapp-1.4
It's looking for a module with the project's name.... hmmm .... any clues as to what's going on ?
BTW, it would be very helpful if your documentation included the folder to install google_appengine as http://www.allbuttonspressed.com/projects/djangoappengine#installation does. These are critical detail considering Google's site doesn't specify them and considering it's the first time in 10 years of using Linux (partially for development) that I've had to manually copy files to this directory.
I poked around in the testapp folder and found build.sh which appears to automate the tasks outlined in the docs. It would have been great to know this before manually downloading and adding all the zips. Could someone please add something like this to the installation page:
If you're running the django-testapp, there's a shell script to automate the installation of these required packages. You'll need a UNIX-based system (Linux, Mac) with python-pip and mercurial installed. You can run it from the terminal inside the testapp directory with "./build.sh"
In an attempt to get this testapp working, I did a fresh unzip of it after the manual unzips didn't work and ran the build.sh
However, it didn't work because requirements.txt points to a different zip than the unzip command does for django-appengine. This needs to be fixed or maybe just removed if it can't be kept synced and documented.
After unzipping and moving into ./build the djangoappengine, I'm not getting the error I was before, but instead I'm getting this:
python manage.py runserver
Error: Can't find the file 'settings.py' in the directory containing 'manage.py'. It appears you've customized things.
You'll have to run django-admin.py, passing it your settings module.
(If the file settings.py does indeed exist, it's causing an ImportError somehow.)
I've spent the better part of the day trying to get this simple testapp running and it's gotten me a little frustrated....
Persisting on, I searched the documentation provided in django-nonrel, reading "Getting Started" but none of it is relevant to nonrel i.e. setting up a database, "install" Django ... so now I'm giving up for now.
If I ever do get this working, I aspire to help out with documentation because I'd like to prevent others from having a similar experience of all the mucking about. Please help me to get up and running with django-nonrel for google_appengine and to troubleshoot my problem.
The text was updated successfully, but these errors were encountered:
I am using OSX 10.9.5 and I have always the same problem: ImportError: No module named django.core (or django.core.management if I try to run manage.py from the testapp)
I have tried it in 2 computers with the same specifications OSX 10.9.5 and Python 2.7.5 both computers relatively new without any other python configuration but the default one.
Am I missing something here to properly make it working?
Total noob with Django trying to get the testapp running. After carefully following all instructions on http://djangoappengine.readthedocs.org/en/latest/installation.html I run "python manage.py runserver" in the test app directory (on Linux Mint Olivia) and get the following
Traceback (most recent call last):
File "manage.py", line 11, in
execute_manager(settings)
File "/home/cosmo/Web/DjangoStuff/django-testapp-testapp-1.4/django/core/management/init.py", line 457, in execute_manager
setup_environ(settings_mod)
File "/home/cosmo/Web/DjangoStuff/django-testapp-testapp-1.4/django/core/management/init.py", line 433, in setup_environ
import_module(project_name)
File "/home/cosmo/Web/DjangoStuff/django-testapp-testapp-1.4/django/utils/importlib.py", line 35, in import_module
import(name)
ImportError: No module named django-testapp-testapp-1.4
It's looking for a module with the project's name.... hmmm .... any clues as to what's going on ?
BTW, it would be very helpful if your documentation included the folder to install google_appengine as http://www.allbuttonspressed.com/projects/djangoappengine#installation does. These are critical detail considering Google's site doesn't specify them and considering it's the first time in 10 years of using Linux (partially for development) that I've had to manually copy files to this directory.
I poked around in the testapp folder and found build.sh which appears to automate the tasks outlined in the docs. It would have been great to know this before manually downloading and adding all the zips. Could someone please add something like this to the installation page:
If you're running the django-testapp, there's a shell script to automate the installation of these required packages. You'll need a UNIX-based system (Linux, Mac) with python-pip and mercurial installed. You can run it from the terminal inside the testapp directory with "./build.sh"
In an attempt to get this testapp working, I did a fresh unzip of it after the manual unzips didn't work and ran the build.sh
However, it didn't work because requirements.txt points to a different zip than the unzip command does for django-appengine. This needs to be fixed or maybe just removed if it can't be kept synced and documented.
After unzipping and moving into ./build the djangoappengine, I'm not getting the error I was before, but instead I'm getting this:
python manage.py runserver
Error: Can't find the file 'settings.py' in the directory containing 'manage.py'. It appears you've customized things.
You'll have to run django-admin.py, passing it your settings module.
(If the file settings.py does indeed exist, it's causing an ImportError somehow.)
I've spent the better part of the day trying to get this simple testapp running and it's gotten me a little frustrated....
Persisting on, I searched the documentation provided in django-nonrel, reading "Getting Started" but none of it is relevant to nonrel i.e. setting up a database, "install" Django ... so now I'm giving up for now.
If I ever do get this working, I aspire to help out with documentation because I'd like to prevent others from having a similar experience of all the mucking about. Please help me to get up and running with django-nonrel for google_appengine and to troubleshoot my problem.
The text was updated successfully, but these errors were encountered: