Page 1 of 2

Installation fails

PostPosted: Tue Feb 21, 2012 10:40 am
by vladimirg
Hi guys,
I did installation exactly by the instruction you provide on http://www.newfies-dialer.org/documenta ... ers-guide/
and it fails with the same error on different computers and OS systems. Here is error logs I get:

http://pastebin.com/5eJmdKME
and
http://pastebin.com/B3e4X7md
other logs are empty
Please advice

Re: Installation fails

PostPosted: Tue Feb 21, 2012 11:01 am
by vladimirg
Forget to send you any log I have where error of the installation exposed.

http://pastebin.com/x8ZAiyds

Would appropriate you help
Thanks

Re: Installation fails

PostPosted: Tue Feb 21, 2012 11:05 am
by areski
DatabaseError: (1146, "Table 'newfies.dialer_phonebook' doesn't exist")
It seems that the database is not created properly.

Can you run those command as root :
$ workon newfies-dialer
$ pip freeze


Show us the result!

Re: Installation fails

PostPosted: Tue Feb 21, 2012 2:06 pm
by vladimirg
i have run those 2 commands and send you the output
thanks,

http://pastebin.com/js6J2MjU

Re: Installation fails

PostPosted: Tue Feb 21, 2012 2:19 pm
by areski
Ok well the dependencies are well installed, that's strange,,, this doesn't explain why the database creation failed!

Try this :
workon newfies-dialer
python manage.py syncdb --noinput
python manage.py migrate
python manage.py createsuperuser
python manage.py collectstatic -l --noinput

then

/etc/init.d/apache2 restart

Re: Installation fails

PostPosted: Tue Feb 21, 2012 2:32 pm
by vladimirg
i tried to execute
workon newfies-dialer
python manage.py syncdb --noinput
python manage.py migrate
python manage.py createsuperuser
python manage.py collectstatic -l --noinput

then

/etc/init.d/apache2 restart

but when tried next:
python manage.py syncdb --noinput
i got error python: can't open file 'manage.py': [Errno 2] No such file or directory

i found the file manage.py in few places on the file system.
/usr/share/virtualenvs/newfies-dialer/lib/python2.6/site-packages/django/conf/project_template/manage.py
/usr/share/virtualenvs/newfies-dialer/lib/python2.6/site-packages/demo/manage.py
/usr/share/newfies/manage.py
/usr/src/newfies-dialer/newfies/manage.py

what directory i should be in when execute the thread of commands you advice?
and what is the error shows?
thanks

Re: Installation fails

PostPosted: Tue Feb 21, 2012 2:50 pm
by areski
I forgot to mention, the newfies directory is "/usr/share/newfies/"
so prior run "cd /usr/share/newfies/"

Re: Installation fails

PostPosted: Tue Feb 21, 2012 2:53 pm
by vladimirg
the next error is generated

after i used:
python manage.py syncdb --noinput
it output this:
There is no South database module 'south.db.mysql' for your database. Please either choose a supported database, check for SOUTH_DATABASE_ADAPTER[S] settings, or remove South from INSTALLED_APPS.

Re: Installation fails

PostPosted: Tue Feb 21, 2012 4:37 pm
by areski
Fixed by running manually :


It seems it's was a wrong version of South getting installed, fix for the install script here :
https://github.com/Star2Billing/newfies ... 8a8caf4a0a

Re: Installation fails

PostPosted: Tue Feb 21, 2012 6:11 pm
by vladimirg
Thanks for help