Hi sync-dev,

I'm stuck by an issue with Nginx + gunicorn for sync 1.1 :

When I start Sync server with the command :

# Su mozsync -c '/home/mozsync/server-full/bin/paster serve 
/home/mozsync/server-full/production.ini'
I have the error :
File 
"/home/mozsync/server-full/local/python2.7/site-packages/pkg_resources.py", 
line 639, in resolve
Raise DistributionNotFound(req)
Pkg_resources.DistributionNotFound: gunicorn

As it's said in the documentation :
My production.ini (development.ini in official documentation) file is :

[server:main]

use = egg:gunicorn

host = 127.0.0.1

port = 5000

workers = 2

timeout = 60

I've installed gunicorn :
Cd /home/mozsync/server-full
bin/easy_install gunicorn

I had the same error as described here : 
https://github.com/benoitc/gunicorn/issues/788

As I'm not a python specialist, my understanding of the issue is limited.

Does someone have a suggestion how to solve or at least try to understand why 
the gunicorn is not found ?


[cid:[email protected]]
Robin Aleman
Apprentice engineer - Software integration
Customer Integration & Support
EQUANT France - Sophia Antipolis
+00 33 4 92 96 64 48<tel:04%2092%2096%2064%2048>
[email protected]<mailto:[email protected]>


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

_______________________________________________
Sync-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/sync-dev

Reply via email to