Bug 16367

Summary: не работает после установки
Product: Sisyphus Reporter: Artem Zolochevskiy <azol>
Component: uniconvertorAssignee: Vitaly Lipatov <lav>
Status: CLOSED NOTABUG QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: evgen, haw
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on: 18529    
Bug Blocks:    

Description Artem Zolochevskiy 2008-07-16 11:12:09 MSD
после apt-get install uniconvertor
попробовал его использовать. ощущение, что чего-то не хватает

$ uniconv 1.cdr 1.svg
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/uniconvertor/__init__.py", line 64, in <module>
    from app.io import load
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/__init__.py", line 62, in <module>
    from conf.configurator import Configurator
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/conf/configurator.py", line 11, in <module>
    from app.events import connector
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/__init__.py", line 114, in <module>
    _import_PIL()
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/__init__.py", line 103, in _import_PIL
    warn.warn(warn.USER, "Can't import the Python Imaging Library")
NameError: global name 'warn' is not defined



uniconvertor-1.1.2-alt1
Comment 1 HAW 2008-08-26 17:42:53 MSD
в 4.1+branch
uniconv box-for-plant.cdr box-for-plant.svg
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/uniconvertor/__init__.py", line 64, in <module>
    from app.io import load
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/__init__.py", line 62, in <module>
    from conf.configurator import Configurator
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/conf/configurator.py", line 11, in <module>
    from app.events import connector
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/__init__.py", line 114, in <module>
    _import_PIL()
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/__init__.py", line 103, in _import_PIL
    warn.warn(warn.USER, "Can't import the Python Imaging Library")
NameError: global name 'warn' is not defined
Comment 2 Artem Zolochevskiy 2009-01-14 14:37:52 MSK
Фикс тривиален.
Добавит в зависимости python-module-imaging

После его установки всё работает as exprected.
Comment 3 Vitaly Lipatov 2009-01-16 01:06:24 MSK
$ rpm --requires -p uniconvertor-1.1.3-alt1.i586.rpm | grep PIL
python2.5(PIL)
таким образом требование к imaging присутствует в пакете.
Даже не знаю, с каким статусом багу закрыть.
Comment 4 Artem Zolochevskiy 2009-02-12 02:26:23 MSK
значит я промахнулся пакетом. закрываем.
Comment 5 Andrey Rahmatullin 2009-10-03 12:42:52 MSD
*** Bug 20277 has been marked as a duplicate of this bug. ***