Le 2014-01-11 23:53, Tamer Higazi a écrit :
Hello Thierry,

I figured out that I am not the only one who has that problem.

It has something todo with the package

"sys-apps/file" of version 5.1.5

https://github.com/ahupp/python-magic/issues/44

however, bluebream uses python-magic 0.4.3 which throws these errors and
is by version 0.4.6 which you can update and to use in ztfy.

However what I did to solve this problem was the following:


in virtualenv:

pip install python-magic
delete from eggs folder python_magic-0.4.3-py2.7.egg

and mv from  virtualenv "site-package" the python_magic-0.4.3-py2.7.egg
in the eggs folder of the ztfy project!

in buildout.cfg I added the entry:

python-magic = 0.4.6


and ran:

bin/buildout

and that was it!


Still thank you very much.


OK.
I'll make a test and create a new release of ZTFY configuration file in the next days, referencing release 0.4.6 of python-magic. It's already included into ZTFY development configuration file (http://download.ztfy.org/webapp/ztfy.webapp.dev.cfg).

Best regards,
Thierry
--
  http://www.imagesdusport.com - http://www.ztfy.org
_______________________________________________
bluebream mailing list
[email protected]
https://mail.zope.org/mailman/listinfo/bluebream

Reply via email to