Mayan EDMS has started moving to Python3 compatibility but is not there yet 
(plus 3rd party modules might not support Python3 themselves too and might 
need to be replaced). You can try using NGINX with gunicorn or uwsgi? That 
is another popular combination to deploy Django projects.  Because gunicorn 
and uwsgi run from the context of the Mayan EDMS install, they are isolated 
(codewise) from the web server.

http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html

On Wednesday, August 6, 2014 5:01:29 PM UTC-4, Héctor Urbina wrote:
>
> I just updated gcc-libs and fixed the "GLIBCXX_3.4.20 not found" error. 
> However, now I'm having this other error:
>
> sfopen: gs_parse_file_name failed.
> sfopen: gs_parse_file_name failed.
>   ./base/gsicc_manage.c:1050: gsicc_open_search(): Could not find 
> default_gray.icc 
> | ./base/gsicc_manage.c:1848: gsicc_init_iccmanager(): cannot find default 
> icc profile
> sfopen: gs_parse_file_name failed.
> sfopen: gs_parse_file_name failed.
>   ./base/gsicc_manage.c:1050: gsicc_open_search(): Could not find 
> default_gray.icc 
> | ./base/gsicc_manage.c:1651: gsicc_set_device_profile(): cannot find 
> device profile
> Violación de segmento (`core' generado)
>
> however, that file is present on my system:
>
> # locate default_gray.icc
> /usr/share/ghostscript/9.14/iccprofiles/default_gray.icc
>
> I'm wondering if this is fcgi related or an error that would also raise by 
> using another method.
>
>
>
> 2014-08-06 16:30 GMT-04:00 Héctor Urbina <[email protected]>:
>
>> Hello,
>>
>> I posted my problem as an issue on github page, sorry if that was 
>> innapropriate. I have a server running a django project for my office. I'm 
>> using apache and I have compiled mod_wsgi for python3, since my django 
>> project is being developed in python3.
>>
>> I would really love to be able to add mayan-edms as our document 
>> management system, but I can't serve it with apache, so, would you have any 
>> advise for that?
>>
>> I have tried mayan-edms.py runfcgi, and it works, but after some time of 
>> use (some minues) it crashes with erros such as:
>>
>> /usr/lib/python2.7/site-packages/django/forms/fields.py:807: 
>> UnicodeWarning: Unicode equal comparison failed to convert both arguments 
>> to Unicode - interpreting them as being unequal
>>   if value == k or text_value == force_text(k):
>>
>> ERROR:ocr.parsers:/usr/bin/pdftotext: /usr/lib/libstdc++.so.6: version 
>> `GLIBCXX_3.4.20' not found (required by /usr/lib/libpoppler.so.46)
>>
>> ##### 140396441132000 c_void_p(140396441132000)
>> ##### 140396441132000 c_void_p(140396441132000)
>> /usr/lib/python2.7/site-packages/flup/server/fcgi_base.py:1120: 
>> DeprecationWarning: Creating streaming responses with `HttpResponse` is 
>> deprecated. Use `StreamingHttpResponse` instead if you need the streaming 
>> behavior.
>>   for data in result:
>>
>> WARNING:py.warnings:/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py:1120:
>>  
>> DeprecationWarning: Creating streaming responses with `HttpResponse` is 
>> deprecated. Use `StreamingHttpResponse` instead if you need the streaming 
>> behavior.
>>   for data in result:
>>
>> Violación de segmento (`core' generado)
>>
>>
>> Any ideas for solving this error o trying another approach?
>>
>> thanks in advance,
>> Héctor.
>>  
>> -- 
>>
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Mayan EDMS" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/mayan-edms/NUk_BJI4n8U/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Héctor Urbina S.
> Ingeniero en Bioinformática
> Fono: 82049138 
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to