Bug 45602

Summary: eric6 неработоспособен, сваливается при старте
Product: Sisyphus Reporter: Gleb Kulikov <glebus>
Component: eric6Assignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED WONTFIX QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: antohami, kotopesutility, osmolovskayaaa
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Gleb Kulikov 2023-03-21 09:20:30 MSK
An unhandled exception occurred. Please report the problem
using the error reporting dialog or via email to <eric-bugs@eric-ide.python-projects.org>.
A log has been written to "/home/gleb/.eric6/eric6_error.log".

Error information:
--------------------------------------------------------------------------------
2023-03-21, 13:14:23
--------------------------------------------------------------------------------
<class 'RuntimeError'>: 
wrapped C/C++ object of type BackgroundService has been deleted
--------------------------------------------------------------------------------
  File "/usr/lib64/python3/site-packages/eric6/Utilities/BackgroundService.py", line 399, in <lambda>
    lambda x=lang: self.on_disconnectSocket(x))
  File "/usr/lib64/python3/site-packages/eric6/Utilities/BackgroundService.py", line 434, in on_disconnectSocket
    self.tr('Background client disconnected.'),
Comment 1 Osmolovskaya Anastasia 2023-03-22 12:20:22 MSK
Версия пакета: eric6-19.8-alt4.1.x86_64

Тестовые стенда: 
Alt Workstation K 10.1 x86-64
Alt Workstation 10.1 x86-64
Alt Education/Education-kde 10.1 x86-64
Alt Server 10.1 x86-64

Шаги для воспроизведения: 
1. Установить пакет eric6: 
# apt-get install eric6

2. Запустить приложение от пользователя: 
$ eric6

Ожидаемые результат: успешный запуск приложения "IDE for Python", в выводе консоли отсутствуют ошибки 

Реальный результат: приложение не запускается. В выводе консоли следующее сообщение об ошибке: 

"Warning: translation file 'qscintilla_ru_RU'could not be loaded.
Using default.
BackgroundService listening on: 33351
An unhandled exception occurred. Please report the problem
using the error reporting dialog or via email to <eric-bugs@eric-ide.python-projects.org>.
A log has been written to "/home/test/.eric6/eric6_error.log".

Error information:
--------------------------------------------------------------------------------
2023-03-22, 11:56:19
--------------------------------------------------------------------------------
<class 'TypeError'>: 
setPixelSize(self, int): argument 1 has unexpected type 'float'
--------------------------------------------------------------------------------
  File "/usr/lib64/python3/site-packages/eric6/eric6.py", line 424, in <module>
    main()
  File "/usr/lib64/python3/site-packages/eric6/eric6.py", line 403, in main
    mainWindow = UserInterface(app, loc, splash, pluginFile, disabledPlugins,
  File "/usr/lib64/python3/site-packages/eric6/UI/UserInterface.py", line 291, in __init__
    self.__createLayout(debugServer)
  File "/usr/lib64/python3/site-packages/eric6/UI/UserInterface.py", line 785, in __createLayout
    self.__createSidebarsLayout(debugServer)
  File "/usr/lib64/python3/site-packages/eric6/UI/UserInterface.py", line 1065, in __createSidebarsLayout
    self.pipWidget = PipPackagesWidget(self.pipInterface)
  File "/usr/lib64/python3/site-packages/eric6/PipInterface/PipPackagesWidget.py", line 58, in __init__
    self.setupUi(self)
  File "/usr/lib64/python3/site-packages/eric6/PipInterface/Ui_PipPackagesWidget.py", line 30, in setupUi
    self.pipMenuButton = E5ToolButton(self.baseWidget)
  File "/usr/lib64/python3/site-packages/eric6/E5Gui/E5ToolButton.py", line 55, in __init__
    font.setPixelSize(self.__badgeLabel.height() / 2.5)

--------------------------------------------------------------------------------
Version Numbers:
  Python 3.10.8, 64-Bit
  Qt 5.15.8
  PyQt 5.15.7
  sip 6.6.2
  QScintilla 2.13.1
  WebEngine 87.0.4280.144
  eric6 19.8 (rev. c1a8a2cf56d0)

Platform: linux
3.10.8 (main, Dec 17 2022, 11:34:59) [GCC 12.1.1 20220518 (ALT Sisyphus 12.1.1-alt2)]

Desktop: KDE
--------------------------------------------------------------------------------
Distribution Info:
  /etc/system-release
  ALT Workstation K 10.1 (Sorbaronia Mitschurinii)

  /etc/redhat-release
  ALT Workstation K 10.1 (Sorbaronia Mitschurinii)

  /etc/fedora-release
  ALT Workstation K 10.1 (Sorbaronia Mitschurinii)

  /etc/os-release
  NAME="ALT"
  VERSION="10.1"
  ID=altlinux
  VERSION_ID=10.1
  PRETTY_NAME="ALT Workstation K 10.1 (Sorbaronia Mitschurinii)"
  ANSI_COLOR="1;33"
  CPE_NAME="cpe:/o:alt:kworkstation:10.1"
  BUILD_ID="ALT 10.1"
  HOME_URL="https://www.basealt.ru/"
  BUG_REPORT_URL="https://bugs.altlinux.org/"
  DOCUMENTATION_URL="https://docs.altlinux.org/"
  SUPPORT_URL="https://support.basealt.ru/"

  /etc/altlinux-release
  ALT Workstation K 10.1 (Sorbaronia Mitschurinii)
An unhandled exception occurred. Please report the problem
using the error reporting dialog or via email to <eric-bugs@eric-ide.python-projects.org>.
A log has been written to "/home/test/.eric6/eric6_error.log".

Error information:
--------------------------------------------------------------------------------
2023-03-22, 11:56:19
--------------------------------------------------------------------------------
<class 'RuntimeError'>: 
wrapped C/C++ object of type BackgroundService has been deleted
--------------------------------------------------------------------------------
  File "/usr/lib64/python3/site-packages/eric6/Utilities/BackgroundService.py", line 399, in <lambda>
    lambda x=lang: self.on_disconnectSocket(x))
  File "/usr/lib64/python3/site-packages/eric6/Utilities/BackgroundService.py", line 434, in on_disconnectSocket
    self.tr('Background client disconnected.'),

--------------------------------------------------------------------------------
Version Numbers:
  Python 3.10.8, 64-Bit
  Qt 5.15.8
  PyQt 5.15.7
  sip 6.6.2
  QScintilla 2.13.1
  WebEngine 87.0.4280.144
  eric6 19.8 (rev. c1a8a2cf56d0)

Platform: linux
3.10.8 (main, Dec 17 2022, 11:34:59) [GCC 12.1.1 20220518 (ALT Sisyphus 12.1.1-alt2)]

Desktop: KDE
--------------------------------------------------------------------------------
Distribution Info:
  /etc/system-release
  ALT Workstation K 10.1 (Sorbaronia Mitschurinii)

  /etc/redhat-release
  ALT Workstation K 10.1 (Sorbaronia Mitschurinii)

  /etc/fedora-release
  ALT Workstation K 10.1 (Sorbaronia Mitschurinii)

  /etc/os-release
  NAME="ALT"
  VERSION="10.1"
  ID=altlinux
  VERSION_ID=10.1
  PRETTY_NAME="ALT Workstation K 10.1 (Sorbaronia Mitschurinii)"
  ANSI_COLOR="1;33"
  CPE_NAME="cpe:/o:alt:kworkstation:10.1"
  BUILD_ID="ALT 10.1"
  HOME_URL="https://www.basealt.ru/"
  BUG_REPORT_URL="https://bugs.altlinux.org/"
  DOCUMENTATION_URL="https://docs.altlinux.org/"
  SUPPORT_URL="https://support.basealt.ru/"

  /etc/altlinux-release
  ALT Workstation K 10.1 (Sorbaronia Mitschurinii)
QProcess: Destroyed while process ("/usr/bin/python3") is still running."
Comment 2 Антон Мидюков 2023-03-22 12:29:23 MSK
Пакету нужен мантейнер.
Comment 3 Антон Мидюков 2023-10-13 19:41:28 MSK
(Ответ для Антон Мидюков на комментарий #2)
> Пакету нужен мантейнер.

Мантейнер не нашёлся, поэтому пакет был удалён из Сизифа:
https://packages.altlinux.org/en/tasks/331679/
Comment 4 Gleb Kulikov 2023-10-14 19:42:16 MSK
радикально. а ведь эта штука очень востребована в учебном процессе.
Comment 5 Антон Мидюков 2023-10-14 19:45:21 MSK
(Ответ для Gleb Kulikov на комментарий #4)
> радикально. а ведь эта штука очень востребована в учебном процессе.

Очень надеюсь, что после удаления мантейнер найдётся. Можете багу повесить на сборку пакета с ссылкой на этот баг.