Comments (10)
My guess is that you're using the wrong or outdated python redis lib. Make sure you env's pip freeze output is the same as the contents of pip-freeze.txt
from ureport.
With pip-freeze.txt its working fine I got previous error when installed with pip-requires.txt
one more thing when creating a symbolic link using
ln -s ureport/settings.py.postgres ureport/settings.py
python manage.py syncdb giving me this error
ImportError: No module named settings(Did I make any mistake in running the sync command?)
at present I created a fresh copy of settings.py from settings_common.py
from ureport.
Just make a copy instead of link do cp ureport/settings.py.postgres ureport/settings.py
instead
from ureport.
Symlink is the right thing instead of copy, even if either will work
from ureport.
about the dependencies, yes pip-requires might install newer version which might break, pip freeze has pinned versions
from ureport.
@norkans7 sym link doesn't work very consistently especially on Mac. It has never worked on my dev env, although it works fine on server
from ureport.
Yes for without sym link its working fine for me
from ureport.
Symlinks are definitely consistent on Mac's as they are POSIX. How exactly are you symlinking?
from ureport.
Get the same error when running the single command in python:
>>> from redis_cache import get_redis_connection
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name get_redis_connection
from ureport.
Do pip install with "pip-freeze.txt"
If your setting up in Linux skip this step
ln -s ureport/settings.py.postgres ureport/settings.py
from ureport.
Related Issues (20)
- Unicef logo bug HOT 3
- Add sentence on map according to legislation HOT 7
- Map Update - Ureport Project HOT 2
- Black and white text color options HOT 1
- Consent for cookies HOT 9
- Add country to the list of UNICEF’s National Committee countries HOT 2
- Correction of country name from Macedona to North Macedonia HOT 1
- Excessive CPU use on UReport HOT 6
- Polls that aren't synced correctly. HOT 2
- Title Image URL from Stories API is not accessible and URL is not same in U-Report Website’s
- Broken country link HOT 3
- Issue in the Join Steps text box
- Suggested changes in Stories API to get list of stories without specific attributes HOT 1
- Trying to add New Poll gives API Token configuration error HOT 3
- Polls are not syncing HOT 5
- Requesting suggestions for getting gender stats for open ended questions through Poll API
- Suggested changes in Polls API to get list of polls with/without specific attributes
- Improvements on data about the contacts HOT 4
- Move to tailwind CSS v3
- Fiel: REPORTS in UReport website HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ureport.