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

Put cache database in user-writable location #4582

Merged
merged 1 commit into from
Oct 7, 2015

Conversation

MCGallaspy
Copy link
Contributor

@aronasorman @benjaoming let me know if this seems tenable. Will test it out on the deb by pulling source and setting IS_SOURCE=False, assuming this essentially replicates installing using deb.

@MCGallaspy MCGallaspy added this to the 0.15.0 milestone Oct 6, 2015
@MCGallaspy
Copy link
Contributor Author

For posterity, the problem was that after installing using a .deb on raspberry pi, the running user didn't have sufficient permissions to write to the affected database.

@benjaoming
Copy link
Contributor

Looks good! Testing it is a matter of installing it to a real virtualenv rather than using pip editable mode (-e)

workon YOUR_VIRTENV
python setup.py sdist
pip install dist/ka-lite-0.15.0.tar.gz
cd somewhere/else
kalite start --foreground

@MCGallaspy
Copy link
Contributor Author

This seems to work as expected. Recommend merge.

benjaoming added a commit that referenced this pull request Oct 7, 2015
Put cache database in user-writable location
@benjaoming benjaoming merged commit 07a8b33 into learningequality:0.15.x Oct 7, 2015
@benjaoming benjaoming removed the has PR label Oct 7, 2015
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

Successfully merging this pull request may close these issues.

2 participants