Bug 34594 - ocrfeeder не запускается (из пакета ocrfeeder) ; проблемный пакет - python-module-ocrfeeder
Summary: ocrfeeder не запускается (из пакета ocrfeeder) ; проблемный пакет - python-mo...
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: ocrfeeder (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Yuri N. Sedunov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-01 08:31 MSK by alexisatv
Modified: 2018-03-01 08:32 MSK (History)
1 user (show)

See Also:


Attachments
исправление (diff -ur, patch -p0) (2.54 KB, patch)
2018-03-01 08:31 MSK, alexisatv
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description alexisatv 2018-03-01 08:31:49 MSK
Created attachment 7414 [details]
исправление (diff -ur,  patch -p0)

$ ocrfeeder
Traceback (most recent call last):
  File "/usr/bin/ocrfeeder", line 31, in <module>
    from ocrfeeder.studio.studioBuilder import Studio
  File "/usr/lib/python2.7/site-packages/ocrfeeder/studio/studioBuilder.py", line 21, in <module>
    from ocrfeeder.util import lib
  File "/usr/lib/python2.7/site-packages/ocrfeeder/util/lib.py", line 23, in <module>
    import Image
  File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 27, in <module>
    from . import VERSION, PILLOW_VERSION, _plugins
ValueError: Attempted relative import in non-package


##################################
Решение проблемы представлено здесь:
https://bugs.launchpad.net/ubuntu/+source/ocrfeeder/+bug/1120201