Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error with step 'fab setup_lrs' #268

Closed
Pepe666 opened this issue Apr 7, 2014 · 5 comments
Closed

Fatal error with step 'fab setup_lrs' #268

Pepe666 opened this issue Apr 7, 2014 · 5 comments

Comments

@Pepe666
Copy link

Pepe666 commented Apr 7, 2014

Dear friends,

I have a problem when I do 'fab setup_lrs', console shows this:
"
[localhost] run: ./manage.py createcachetable cache_statement_list

Fatal error: local() encountered an error (return code 127) while executing './manage.py createcachetable cache_statement_list'

Aborting.
"
I'm traying to install lrs in Debian 6.0 and all was fine. I don't know how to resolve this error.

Thank you very much for your support and excuse me for my bad english 8)

@ljwolford
Copy link
Contributor

You may have exited the virtual environment before you ran this command. Be sure to activate the virtualenv before you run this command

@Pepe666
Copy link
Author

Pepe666 commented Apr 7, 2014

Thank you for answer so fast!! :)

I think I did it, I'm not a experimented developer and I'm lost with this... Look:

"
root@Server:/adl_lrs/ADL_LRS/adl_lrs# source ../env/bin/activate
(env)root@Server:
/adl_lrs/ADL_LRS/adl_lrs# fab setup_lrs
[localhost] run: ./manage.py createcachetable cache_statement_list

Fatal error: local() encountered an error (return code 127) while executing './manage.py createcachetable cache_statement_list'

Aborting.
"
Maybe is something wrong in settings.py file? Thanks so much for your help and excuse me again :)

@ljwolford
Copy link
Contributor

Run it in the ADL_LRS directory instead of the adl_lrs directory...see if that works

@Pepe666
Copy link
Author

Pepe666 commented Apr 7, 2014

I did it a thousand times everywhere and nothiing ... :(

(env)root@Server:~/adl_lrs/ADL_LRS# fab setup_lrs
[localhost] run: ./manage.py createcachetable cache_statement_list

Fatal error: local() encountered an error (return code 1) while executing './manage.py createcachetable cache_statement_list'

Aborting.

@Pepe666
Copy link
Author

Pepe666 commented Apr 9, 2014

Good morning,

I was working in the problem and there was a problem with the owner of lrs database. Now the error have change:
"
(env)root@Hastur:~/adl_lrs/ADL_LRS# fab setup_lrs
[localhost] run: ./manage.py createcachetable cache_statement_list

Fatal error: local() encountered an error (return code 1) while executing './man

Aborting.
"

If you know something about this you will help me so much :) .

Thank you very much and I apologize for the inconvenience. Best regards !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants