Bug 45603

Summary: ошбка при раборе автосоздаваемого файла конфигурации плагинов, ошибки при повторном старте
Product: Branch p10 Reporter: Gleb Kulikov <glebus>
Component: eric6Assignee: Nobody's working on this, feel free to take it <nobody>
Status: NEW --- QA Contact: qa-p10 <qa-p10>
Severity: normal    
Priority: P5 CC: amakeenk, osmolovskayaaa
Version: не указана   
Hardware: x86_64   
OS: Linux   

Description Gleb Kulikov 2023-03-21 09:34:04 MSK
eric6 -- ошибка анализа XML ~/.eric6/PluginRepository,
строка 1, позиция 50
Ошибка: Требуется "", а получено ">"..

при повторном старте:

--------------------------------------------------------------------------------
2023-03-21, 13:31:15
--------------------------------------------------------------------------------
<class 'RuntimeError'>: 
wrapped C/C++ object of type Redirector has been deleted
--------------------------------------------------------------------------------
  File "/usr/lib64/python3/site-packages/eric6/E5Gui/E5ErrorMessage.py", line 167, in messageHandler
    print("{0}: {1} in {2} at line {3} ({4})".format(
  File "/usr/lib64/python3/site-packages/eric6/UI/UserInterface.py", line 119, in write
    self.__nWrite(self.__bufferedWrite())
  File "/usr/lib64/python3/site-packages/eric6/UI/UserInterface.py", line 94, in __nWrite
    self.appendStdout.emit(line)

--------------------------------------------------------------------------------
Version Numbers:
  Python 3.9.6, 64-Bit
  Qt 5.15.8
  PyQt 5.15.4
  sip 5.4.0
  QScintilla 2.11.5
  WebEngine 87.0.4280.144
  eric6 19.8 (rev. c1a8a2cf56d0)

Platform: linux
3.9.6 (default, Jun 29 2021, 10:42:27) 
[GCC 10.2.1 20210313 (ALT Sisyphus 10.2.1-alt3)]
--------------------------------------------------------------------------------
Plugins Version Numbers:
  PluginAbout 19.8
  PluginCodeStyleChecker 19.8
  PluginEricapi 19.8
  PluginEricdoc 19.8
  PluginSyntaxChecker 19.8
  PluginTabnanny 19.8
  PluginTranslator 19.8
  PluginVcsGit 19.8
  PluginVcsMercurial 19.8
  PluginVcsPySvn 19.8
  PluginVcsSubversion 19.8
  PluginVmListspace 19.8
  PluginVmTabview 19.8
  PluginWizardDotDesktop 19.8
  PluginWizardE5MessageBox 19.8
  PluginWizardEricPlugin 19.8
  PluginWizardPyRegExp 19.8
  PluginWizardQColorDialog 19.8
  PluginWizardQFileDialog 19.8
  PluginWizardQFontDialog 19.8
  PluginWizardQInputDialog 19.8
  PluginWizardQMessageBox 19.8
  PluginWizardQRegExp 19.8
  PluginWizardQRegularExpression 19.8
  PluginWizardSetup 19.8
--------------------------------------------------------------------------------
Distribution Info:
  /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.0BETA"
  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/lsb-release
  LSB_VERSION="core-3.0-noarch:core-5.0-noarch:core-3.0-amd64:core-5.0-amd64"
  DISTRIB_ID="ALT"
  LSB_VERSION="5.0"
  #
  # Examples:
  #
  # DISTRIB_ID - single word, ID of DISTRIBUTOR
  # DISTRIB_RELEASE="5.0.0"
  # DISTRIB_CODENAME="Lycoris Radiata"
  # DISTRIB_DESCRIPTION="ALT Linux Sisyphus (20081222)"
  # DISTRIB_DESCRIPTION="ALT Linux 1.0.0 Server Light r1 (Lycoris Radiata)"

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

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

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

  /etc/system-release
  ALT Workstation K 10.1 (Sorbaronia Mitschurinii)
Comment 1 Osmolovskaya Anastasia 2023-03-22 12:26:08 MSK
Проверялось в p10 - ошибка воспроизводится 
На данный момент нет возможности проверить в Sisyphus из-за ошибки https://bugzilla.altlinux.org/45602

Версия пакета: eric6-19.8-alt4.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", в выводе консоли отсутствуют ошибки 

Реальный результат: приложение запускается, но воспроизводится поведение, описанное в https://bugzilla.altlinux.org/show_bug.cgi?id=45603#c0

Error information:
--------------------------------------------------------------------------------
2023-03-22, 10:33:59
--------------------------------------------------------------------------------
&lt;class 'RuntimeError'&gt;: 
wrapped C/C++ object of type Redirector has been deleted
--------------------------------------------------------------------------------
  File "/usr/lib64/python3/site-packages/eric6/E5Gui/E5ErrorMessage.py", line 167, in messageHandler
    print("{0}: {1} in {2} at line {3} ({4})".format(
  File "/usr/lib64/python3/site-packages/eric6/UI/UserInterface.py", line 119, in write
    self.__nWrite(self.__bufferedWrite())
  File "/usr/lib64/python3/site-packages/eric6/UI/UserInterface.py", line 94, in __nWrite
    self.appendStdout.emit(line)

--------------------------------------------------------------------------------
Version Numbers:
  Python 3.9.6, 64-Bit
  Qt 5.15.8
  PyQt 5.15.4
  sip 5.4.0
  QScintilla 2.11.5
  WebEngine 87.0.4280.144
  eric6 19.8 (rev. c1a8a2cf56d0)
Comment 2 Антон Мидюков 2023-03-22 12:31:45 MSK
Пакету нужен мантейнер.