Comments (16)
Same error here, on Ubuntu 10.04 / Python 2.6.
Haven't tested outside virtualenv, but fails within virtualenv.
from localshop.
Just found the same bug, this definitely fixes it.
from localshop.
OK, spoke to soon - django-celery==2.5.5 fixed a problem with this:
celery/celery#683
So 2.5.5 for celery AND django-celery
from localshop.
As a work around you can use localshop celeryd -B -E -P solo
which is a single process worker implementation.
from localshop.
Thanks, I actually have the same issue. Not yet sure how to fix this yet (or what is causing this). Perhaps an incompatibility between logan and celery
from localshop.
This should now be fixed in the develop branch (thanks @jezdez)
from localshop.
Hi,
I've just checked out the latest develop
branch of localshop, and I seem to still be getting this issue:
localshop celeryd -B -E
Notice: Unable to load configuration file /home/vichoo/.localshop.py (No such file or directory), using default settings
-------------- [email protected] v3.0.12 (Chiastic Slide)
---- **** -----
--- * *** * -- [Configuration]
-- * - **** --- . broker: django://localhost//
- ** ---------- . app: default:0x18d1c3d0 (djcelery.loaders.DjangoLoader)
- ** ---------- . concurrency: 1 (processes)
- ** ---------- . events: ON
- ** ----------
- *** --- * --- [Queues]
-- ******* ---- . celery: exchange:celery(direct) binding:celery
--- ***** -----
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 502, in main
prepare(preparation_data)
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 642, in prepare
file, path_name, etc = imp.find_module(main_name, dirs)
ImportError: No module named localshop
[2013-01-02 05:24:14,366: WARNING/MainProcess] celery@dev_desktop_vm.aus.optiver.com ready.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 502, in main
prepare(preparation_data)
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 642, in prepare
file, path_name, etc = imp.find_module(main_name, dirs)
ImportError: No module named localshop
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 502, in main
prepare(preparation_data)
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 642, in prepare
file, path_name, etc = imp.find_module(main_name, dirs)
ImportError: No module named localshop
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 502, in main
prepare(preparation_data)
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 642, in prepare
file, path_name, etc = imp.find_module(main_name, dirs)
ImportError: No module named localshop
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 502, in main
prepare(preparation_data)
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 642, in prepare
file, path_name, etc = imp.find_module(main_name, dirs)
ImportError: No module named localshop
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 502, in main
prepare(preparation_data)
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 642, in prepare
file, path_name, etc = imp.find_module(main_name, dirs)
ImportError: No module named localshop
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 502, in main
prepare(preparation_data)
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 642, in prepare
file, path_name, etc = imp.find_module(main_name, dirs)
ImportError: No module named localshop
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 502, in main
prepare(preparation_data)
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 642, in prepare
file, path_name, etc = imp.find_module(main_name, dirs)
ImportError: No module named localshop
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 502, in main
prepare(preparation_data)
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 642, in prepare
file, path_name, etc = imp.find_module(main_name, dirs)
ImportError: No module named localshop
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 502, in main
prepare(preparation_data)
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 642, in prepare
file, path_name, etc = imp.find_module(main_name, dirs)
ImportError: No module named localshop
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 502, in main
prepare(preparation_data)
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 642, in prepare
file, path_name, etc = imp.find_module(main_name, dirs)
ImportError: No module named localshop
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 502, in main
prepare(preparation_data)
File "/home/vichoo/.virtualenvs/localshop/lib/python2.7/site-packages/billiard-2.7.3.19-py2.7-linux-x86_64.egg/billiard/forking.py", line 642, in prepare
file, path_name, etc = imp.find_module(main_name, dirs)
ImportError: No module named localshop
I can confirm that using localshop celeryd -B -E -P solo
, as jezdez mentions seems to work - as in, it doesn't generate any errors on the console. I've yet to test actually downloading packages =).
Any thoughts on why this is still happening?
Cheers,
Victor
from localshop.
Oke, well I can confirm that it still doesn't work. I'm going to look for a celery alternative...
from localshop.
Hm, it works for me. Can you try python manage.py celeryd -B -E
instead? Smells like Celery just stumbles over not finding the right binary to spawn the workers with.
from localshop.
Well i've just created a fresh virtualenv, ran python setup.py develop
and then ./manage.py -B -E -c 1
but no luck.
django.core.exceptions.ImproperlyConfigured: django-configurations settings importer wasn't correctly installed. Please use one of the starter functions to install it as mentioned in the docs: http://django-configurations.readthedocs.org/
Will look at it some more tonight
On Wed, Jan 2, 2013 at 5:04 PM, Jannis Leidel [email protected]:
Hm, it works for me. Can you try python manage.py celeryd -B -E instead?
Smells like Celery just stumbles over not finding the right binary to spawn
the workers with.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-11812938.
from localshop.
Make sure you use the manage.py that is included, as it requires to use the tools in configurations to work: https://github.com/mvantellingen/localshop/blob/develop/localshop/runner.py
from localshop.
Yup, that's the one I've used. I just removed the usage of django-configurations as a test and then it works. So it looks like celery does something weird which causes problem with logan and django-configurations.
@jezdez Could you retry in a fresh virtualenv?
from localshop.
@mvantellingen did you push it to develop?
from localshop.
@jezdez yup. But I think I found the issue. The procfile contains '--no-execv'. With this option everything works. Without it you should also get the error
from localshop.
@mvantellingen Yeah, it seems like this is an issue with celery, in case you want to set this in general you could also use CELERYD_FORCE_EXECV = False
from localshop.
Yup already decided to just add it and be done with it :-) Thanks
from localshop.
Related Issues (20)
- md5 missmatch. HOT 4
- When localshop not found a version great than the last stored in database start an update action. HOT 8
- Upload returns HTTP 200 and xml.parser.expat.ExpatError HOT 1
- Packages not being updated HOT 2
- Configuring the package folder
- ImportError: Could not import settings 'localshop.settings' HOT 7
- Upgrade from 0.4.1 causes "500 server error" on /permissions/credentials/ page HOT 4
- pip 8.1.1 HOT 1
- Several packages cannot be cached with localshop
- The order of packages_release may be wrong HOT 1
- Python 2.6 compatibility HOT 1
- How to follow docker instructions ? HOT 6
- Issues with urllib3 install using `mysqlclient` database backend
- Unable to run when installing like described in the documentation HOT 4
- Package names with a dot do not work with pip >= 8.1.2 HOT 1
- Still maintained? HOT 2
- Possible to pass the proxy settings in from environment variables ?
- Fix simple typo: appreaciated -> appreciated
- Migrate pipeline to GitHub actions
- Install gets stuck at pillow
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 localshop.