Hi Lau, "Is this happening because i still have to deploy it in an apache server or it's a problem with the program ?" No, it should work regardless, but is not... So I'm still clueless as to what is the cause.
"/tmp/ 06cfc6833aa055d309955859cab5ef503405806143ad3bdd408deaa8e0895522 -> /tmp/2d0ba5ce-214e-464c-b9e7-2b1cf6cc0268_unpaper_out_page_1.ppm" This indicates that the UNPAPER step finished correctly (https://github.com/rosarior/mayan/blob/master/apps/ocr/api.py#L103) so the problem must be either the conversion back to TIFF (https://github.com/rosarior/mayan/blob/master/apps/ocr/api.py#L114) or in the actual execution of tesseract (https://github.com/rosarior/mayan/blob/master/apps/ocr/api.py#L119) Re-queue the document and issue a: ps x a on another terminal and look if tesseract is executing and freezing, or if is not even executing. I'm almost done with the branch merge and about to do the version 0.13 release but I'm going to give this bug a day or two of attention and see if I can spot something. --Roberto On Wednesday, December 5, 2012 10:34:37 AM UTC-4, Lau Llobet wrote: > > Hola, > > I've been installing the program in ubuntu and everything is fine till i > tyry it in http://127.0.0.1:8000 mode with the > > > DEBUG=True > DEVELOPMENT=True > > > file , and running like this: > > ./manage.py runserver > > > All works perfect except the ocr cue, when i send the data and it says : > > > Status > Result > 2012-12-05 10:19:25 True error lau-H61M-D2-B3 [Errno 2] No such file > or director > > > > Is this happening because i still have to deploy it in an apache server or > it's a problem with the program ? > > This is the output while i re-send the document to the cue > > > [05/Dec/2012 10:31:08] "GET > /mayan-static/web_theme_media/stylesheets/themes/activo/images/button-background-active.png > > HTTP/1.1" 200 2766 > [05/Dec/2012 10:31:08] "GET > /object/multiple/action/?pk_2=&action=%2Focr%2Fqueue%2Fdocument%2Fmultiple%2Fre-queue%2F > > HTTP/1.1" 302 0 > [05/Dec/2012 10:31:08] "GET > /ocr/queue/document/multiple/re-queue/?id_list=2&next=http%3A%2F%2F127.0.0.1%3A8000%2Focr%2Fqueue%2Fdocument%2Flist%2F > > HTTP/1.1" 200 11666 > [05/Dec/2012 10:31:11] "POST > /ocr/queue/document/multiple/re-queue/?id_list=2&next=http%3A%2F%2F127.0.0.1%3A8000%2Focr%2Fqueue%2Fdocument%2Flist%2F > > HTTP/1.1" 302 0 > [05/Dec/2012 10:31:12] "GET /ocr/queue/document/list/ HTTP/1.1" 200 16394 > [05/Dec/2012 10:31:12] "GET > /documents/1/display/thumbnail/?rotation=0&version=1&page=1&zoom=100 > HTTP/1.1" 304 0 > [05/Dec/2012 10:31:12] "GET > /documents/2/display/thumbnail/?rotation=0&version=2&page=1&zoom=100 > HTTP/1.1" 304 0 > [05/Dec/2012 10:31:12] "GET > /api/v0/document/1/version/1/page/1/expensive/is_zoomable/ HTTP/1.1" 200 16 > [05/Dec/2012 10:31:12] "GET > /api/v0/document/2/version/2/page/1/expensive/is_zoomable/ HTTP/1.1" 200 16 > Processing sheet: > /tmp/06cfc6833aa055d309955859cab5ef503405806143ad3bdd408deaa8e0895522 -> > /tmp/2d0ba5ce-214e-464c-b9e7-2b1cf6cc0268_unpaper_out_page_1.ppm > > > Where the document appeares as pending (pendiente) > > If i refresh the cue webpage i get the error status and this output > > > [05/Dec/2012 10:33:17] "GET /ocr/queue/document/list/ HTTP/1.1" 200 15939 > [05/Dec/2012 10:33:17] "GET > /mayan-static/web_theme_media/stylesheets/base.css HTTP/1.1" 200 6385 > [05/Dec/2012 10:33:17] "GET > /mayan-static/web_theme_media/stylesheets/themes/activo/style.css HTTP/1.1" > 200 9088 > [05/Dec/2012 10:33:17] "GET /mayan-static/packages/animate-custom.css > HTTP/1.1" 200 13359 > [05/Dec/2012 10:33:17] "GET /mayan-static/css/famfamfam-silk-sprite.css > HTTP/1.1" 200 59876 > [05/Dec/2012 10:33:17] "GET /mayan-static/css/960-fluid.css HTTP/1.1" 200 > 2832 > [05/Dec/2012 10:33:17] "GET /mayan-static/css/override.css HTTP/1.1" 200 > 486 > [05/Dec/2012 10:33:17] "GET > /mayan-static/packages/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.css > > HTTP/1.1" 200 8852 > [05/Dec/2012 10:33:17] "GET > /mayan-static/web_theme_media/javascripts/jquery-1.7.min.js HTTP/1.1" 200 > 94020 > [05/Dec/2012 10:33:17] "GET /mayan-static/packages/jquery.scrollview.js > HTTP/1.1" 200 4473 > [05/Dec/2012 10:33:17] "GET > /mayan-static/packages/JqueryAsynchImageLoader-0.9.7.min.js HTTP/1.1" 200 > 3964 > [05/Dec/2012 10:33:17] "GET > /mayan-static/packages/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.pack.js > > HTTP/1.1" 200 15624 > [05/Dec/2012 10:33:17] "GET > /mayan-static/packages/jquery.fancybox-1.3.4/fancybox/jquery.easing-1.3.pack.js > > HTTP/1.1" 200 6717 > [05/Dec/2012 10:33:17] "GET /mayan-static/images/ajax-loader.gif HTTP/1.1" > 200 3208 > [05/Dec/2012 10:33:17] "GET > /mayan-static/images/famfamfam-silk-sprites/famfam-active.png HTTP/1.1" 200 > 296782 > [05/Dec/2012 10:33:17] "GET > /mayan-static/web_theme_media/stylesheets/themes/activo/images/menubar-background.png > > HTTP/1.1" 200 2750 > [05/Dec/2012 10:33:17] "GET > /mayan-static/web_theme_media/stylesheets/themes/activo/images/button-background.png > > HTTP/1.1" 200 2765 > [05/Dec/2012 10:33:17] "GET > /mayan-static/web_theme_media/stylesheets/themes/activo/images/arrow.png > HTTP/1.1" 200 2846 > [05/Dec/2012 10:33:17] "GET > /documents/1/display/thumbnail/?rotation=0&version=1&page=1&zoom=100 > HTTP/1.1" 304 0 > [05/Dec/2012 10:33:18] "GET > /documents/2/display/thumbnail/?rotation=0&version=2&page=1&zoom=100 > HTTP/1.1" 304 0 > [05/Dec/2012 10:33:18] "GET > /api/v0/document/1/version/1/page/1/expensive/is_zoomable/ HTTP/1.1" 200 16 > [05/Dec/2012 10:33:18] "GET > /api/v0/document/2/version/2/page/1/expensive/is_zoomable/ HTTP/1.1" 200 16 > > > > Muchas Gracias !! > > Lau. > > > > --
