<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>37420</bug_id>
          
          <creation_ts>2019-11-02 19:28:02 +0300</creation_ts>
          <short_desc>Не запускается comix</short_desc>
          <delta_ts>2019-12-17 18:15:12 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>comix</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://git.altlinux.org/gears/c/comix.git</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="viktor">folkraft</reporter>
          <assigned_to name="pav@altlinux.org">pav</assigned_to>
          <cc>grenka</cc>
    
    <cc>pav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>185280</commentid>
    <comment_count>0</comment_count>
    <who name="viktor">folkraft</who>
    <bug_when>2019-11-02 19:28:02 +0300</bug_when>
    <thetext>Не запускается программа для просмотра и редактирования книг - comix.

Вывод терминала:
[Сб ноя 02  ~]$ comix
Traceback (most recent call last):
  File &quot;/usr/bin/comix&quot;, line 52, in &lt;module&gt;
    import Image
  File &quot;/usr/lib64/python2.7/site-packages/PIL/Image.py&quot;, line 27, in &lt;module&gt;
    from . import VERSION, PILLOW_VERSION, _plugins
ValueError: Attempted relative import in non-package


Также прикладываю содержание из файла /usr/bin/comix (строки с 52 до 72):

    import Image
    assert Image.VERSION &gt;= &apos;1.1.5&apos;
except AssertionError:
    print &quot;You don&apos;t have the required version of the Python Imaging&quot;,
    print &apos;Library (PIL) installed.&apos;
    print &apos;Installed PIL version is: %s&apos; % Image.VERSION
    print &apos;Required PIL version is: 1.1.5 or higher&apos;
    sys.exit(1)
except ImportError:
    print &apos;Python Imaging Library (PIL) 1.1.5 or higher is required.&apos;
    print &apos;No version of the Python Imaging Library was found on your&apos;,
    print &apos;system.&apos;
    sys.exit(1)

import constants
import deprecated
import filehandler
import locale
import main
import icons
import preferences


Также прикладываю строки из &quot;/usr/lib64/python2.7/site-packages/PIL/Image.py&quot;
(строки с 27 по 33):

from . import VERSION, PILLOW_VERSION, _plugins

import logging
import warnings
import math

logger = logging.getLogger(__name__)

Наверно не хватает питоновской библиотеки, только какой?
В системе стоят эти библиотеки, но comix не запускается:
python3-module-Pillow
python-module-Pillow</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186376</commentid>
    <comment_count>1</comment_count>
    <who name="Mikhail Efremov">sem</who>
    <bug_when>2019-12-16 21:20:07 +0300</bug_when>
    <thetext>В составе SL нет comix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186378</commentid>
    <comment_count>2</comment_count>
    <who name="viktor">folkraft</who>
    <bug_when>2019-12-17 02:39:27 +0300</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; В составе SL нет comix.

В р9 запускается, можно закрывать!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186379</commentid>
    <comment_count>3</comment_count>
    <who name="viktor">folkraft</who>
    <bug_when>2019-12-17 02:56:01 +0300</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; В составе SL нет comix.

Эта программа лучше штатных просмотровщиков фото, в ней есть минимальные функции преобразования фото (отражение, повороты и др), есть лупа, есть настройка баланса цвета. Есть поддержка миниатюр из папки. читает ZIP, RAR и tar архивы, как обыкновенные файлы изображений. написан на GTK.
Это отличная замена стандартному просмотровщику изображений!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186406</commentid>
    <comment_count>4</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2019-12-17 18:15:12 +0300</bug_when>
    <thetext>У меня в сизифе не запускается, так что закрывать пока не стоит.

$ comix
Traceback (most recent call last):
  File &quot;/usr/bin/comix&quot;, line 53, in &lt;module&gt;
    assert Image.VERSION &gt;= &apos;1.1.5&apos;
AttributeError: &apos;module&apos; object has no attribute &apos;VERSION&apos;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>