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

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

    <bug>
          <bug_id>47508</bug_id>
          
          <creation_ts>2023-09-09 15:08:36 +0300</creation_ts>
          <short_desc>не работоспособен (не запускается) в p10 после установки</short_desc>
          <delta_ts>2024-01-31 11:32:50 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Branch p10</product>
          <component>spyder</component>
          <version>не указана</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander">alxste</reporter>
          <assigned_to name="Fr. Br. George">george</assigned_to>
          <cc>amakeenk</cc>
    
    <cc>ancieg</cc>
    
    <cc>antohami</cc>
    
    <cc>n.strelkov</cc>
    
    <cc>zerg</cc>
          
          <qa_contact name="qa-p10@altlinux.org">qa-p10</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>232786</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander">alxste</who>
    <bug_when>2023-09-09 15:08:36 +0300</bug_when>
    <thetext>$ spyder3
Traceback (most recent call last):
  File &quot;/usr/lib/python3/site-packages/qtpy/QtWebEngineWidgets.py&quot;, line 22, in &lt;module&gt;
    from PyQt5.QtWebEngineWidgets import QWebEnginePage
ModuleNotFoundError: No module named &apos;PyQt5.QtWebEngineWidgets&apos;

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File &quot;/usr/bin/spyder3&quot;, line 3, in &lt;module&gt;
    start.main()
  File &quot;/usr/lib/python3/site-packages/spyder/app/start.py&quot;, line 200, in main
    from spyder.app import mainwindow
  File &quot;/usr/lib/python3/site-packages/spyder/app/mainwindow.py&quot;, line 83, in &lt;module&gt;
    from qtpy import QtWebEngineWidgets  # analysis:ignore
  File &quot;/usr/lib/python3/site-packages/qtpy/QtWebEngineWidgets.py&quot;, line 26, in &lt;module&gt;
    from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ModuleNotFoundError: No module named &apos;PyQt5.QtWebKitWidgets&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232787</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander">alxste</who>
    <bug_when>2023-09-09 15:12:53 +0300</bug_when>
    <thetext>После установки недостающего модуля, все равно не запускается:
$ sudo apt-get install python3-module-PyQtWebEngine 
...
Следующие НОВЫЕ пакеты будут установлены:
  python3-module-PyQtWebEngine
0 будет обновлено, 1 новых установлено, 0 пакетов будет удалено и 0 не будет обновлено.
...
Завершено.
$ spyder3
Attribute Qt::AA_UseSoftwareOpenGL must be set before QCoreApplication is created.
Traceback (most recent call last):
  File &quot;/usr/lib/python3/site-packages/spyder/app/mainwindow.py&quot;, line 3718, in main
    mainwindow = run_spyder(app, options, args)
  File &quot;/usr/lib/python3/site-packages/spyder/app/mainwindow.py&quot;, line 3559, in run_spyder
    main.setup()
  File &quot;/usr/lib/python3/site-packages/spyder/app/mainwindow.py&quot;, line 908, in setup
    from spyder.plugins.console.plugin import Console
  File &quot;/usr/lib/python3/site-packages/spyder/plugins/console/plugin.py&quot;, line 29, in &lt;module&gt;
    from spyder.utils.environ import EnvDialog
  File &quot;/usr/lib/python3/site-packages/spyder/utils/environ.py&quot;, line 19, in &lt;module&gt;
    from spyder.plugins.variableexplorer.widgets.collectionseditor import (
  File &quot;/usr/lib/python3/site-packages/spyder/plugins/variableexplorer/widgets/collectionseditor.py&quot;, line 39, in &lt;module&gt;
    from spyder_kernels.utils.nsview import (
ImportError: cannot import name &apos;get_color_name&apos; from &apos;spyder_kernels.utils.nsview&apos; (/usr/lib/python3/site-packages/spyder_kernels/utils/nsview.py)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232809</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2023-09-11 09:14:15 +0300</bug_when>
    <thetext>На Workstation K 10.1 x86_64 ошибка с No module named &apos;PyQt5.QtWebEngineWidgets&apos; не воспроизводится, хотя пакет python3-module-PyQtWebEngine и не установлен.

Ошибка с spyder_kernels.utils.nsview воспроизводится.

В сизифе пакет удалён https://packages.altlinux.org/ru/sisyphus/srpms/spyder/

Передаю мейнтейнеру.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>233194</commentid>
    <comment_count>3</comment_count>
    <who name="Alexander">alxste</who>
    <bug_when>2023-09-14 19:31:21 +0300</bug_when>
    <thetext>spyder 5-й версии установленный через pip в virtualenv в пользовательский каталог работает нормально в p10. но ИМХО удобнее было бы если бы все устанавливалось на &quot;системном&quot; уровне из репозитория.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240136</commentid>
    <comment_count>4</comment_count>
    <who name="Nikolay Strelkov">n.strelkov</who>
    <bug_when>2024-01-12 19:05:54 +0300</bug_when>
    <thetext>На полностью обновленном MATE StarterKit p10 проблема сохраняется:

```
# apt-get install spyder python3-module-PyQt5-webkit

$ spyder3 
Attribute Qt::AA_UseSoftwareOpenGL must be set before QCoreApplication is created.
Traceback (most recent call last):
  File &quot;/usr/lib/python3/site-packages/spyder/app/mainwindow.py&quot;, line 3718, in main
    mainwindow = run_spyder(app, options, args)
  File &quot;/usr/lib/python3/site-packages/spyder/app/mainwindow.py&quot;, line 3559, in run_spyder
    main.setup()
  File &quot;/usr/lib/python3/site-packages/spyder/app/mainwindow.py&quot;, line 908, in setup
    from spyder.plugins.console.plugin import Console
  File &quot;/usr/lib/python3/site-packages/spyder/plugins/console/plugin.py&quot;, line 29, in &lt;module&gt;
    from spyder.utils.environ import EnvDialog
  File &quot;/usr/lib/python3/site-packages/spyder/utils/environ.py&quot;, line 19, in &lt;module&gt;
    from spyder.plugins.variableexplorer.widgets.collectionseditor import (
  File &quot;/usr/lib/python3/site-packages/spyder/plugins/variableexplorer/widgets/collectionseditor.py&quot;, line 39, in &lt;module&gt;
    from spyder_kernels.utils.nsview import (
ImportError: cannot import name &apos;get_color_name&apos; from &apos;spyder_kernels.utils.nsview&apos; (/usr/lib/python3/site-packages/spyder_kernels/utils/nsview.py)
```

Проблемное сообщение упомянуто на странице https://github.com/spyder-ide/spyder/issues/15089 , но явного решения там я не нашел.

Установку через pip считаю не удобной. 
Пожалуйста, поправьте rpm-пакет и/или его зависимости.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240190</commentid>
    <comment_count>5</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2024-01-15 17:55:31 +0300</bug_when>
    <thetext>Пакет неработоспособен, и был удалён поэтому:

[#338079] p10 DONE (try 3) del=spyder</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240202</commentid>
    <comment_count>6</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2024-01-16 10:26:19 +0300</bug_when>
    <thetext>(Ответ для Nikolay Strelkov на комментарий #4)
&gt; Attribute Qt::AA_UseSoftwareOpenGL must be set before QCoreApplication is created.
Никто не попробовал?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240203</commentid>
    <comment_count>7</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2024-01-16 10:33:32 +0300</bug_when>
    <thetext>(Ответ для Sergey V Turchin на комментарий #6)
&gt; (Ответ для Nikolay Strelkov на комментарий #4)
&gt; &gt; Attribute Qt::AA_UseSoftwareOpenGL must be set before QCoreApplication is created.
&gt; Никто не попробовал?

Нужно собирать версию из Сизифа. Версия в p10 была несовместима с PyQt5 &gt;= 5.13
https://github.com/spyder-ide/spyder/issues/15089#issuecomment-812734184</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240942</commentid>
    <comment_count>8</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2024-01-31 11:11:41 +0300</bug_when>
    <thetext>Запустил попробовать. https://packages.altlinux.org/ru/tasks/339459/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240945</commentid>
    <comment_count>9</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2024-01-31 11:32:02 +0300</bug_when>
    <thetext>(Ответ для Sergey V Turchin на комментарий #8)
&gt; Запустил попробовать. https://packages.altlinux.org/ru/tasks/339459/
Ой, не. Там зависимости ещё разные. Пусть лучше мантейнер пакета занимается.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>