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

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

    <bug>
          <bug_id>45081</bug_id>
          
          <creation_ts>2023-01-31 12:01:37 +0300</creation_ts>
          <short_desc>bCNC вылетает при запуске на Kworkstation</short_desc>
          <delta_ts>2023-01-31 14:15:49 +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>bCNC</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</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="Alexandr Shashkin">dutyrok</reporter>
          <assigned_to name="Антон Мидюков">antohami</assigned_to>
          <cc>antohami</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>220935</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandr Shashkin">dutyrok</who>
    <bug_when>2023-01-31 12:01:37 +0300</bug_when>
    <thetext>Стенды с ошибкой:
=================
* Kworkstation 10.1 x86_64 (Обновлено до Sisyphus)

Версия пакета:
==============
bCNC-0.9.14.318-alt1

Шаги, приводящие к ошибке:
==========================
1) Установить bCNC
2) Убедиться, что установлен python3-modules-tkinter
3) В эмуляторе терминала запустить bCNC

Результат:
==========
Программа начинает запускаться и вылетает:
self.canvas.winfo_id(): 73400410
Traceback (most recent call last):
  File &quot;/usr/bin/bCNC&quot;, line 9, in &lt;module&gt;
    sys.exit(main())
  File &quot;/usr/lib/python3/site-packages/bCNC/__main__.py&quot;, line 2696, in main
    application = Application(tk)
  File &quot;/usr/lib/python3/site-packages/bCNC/__main__.py&quot;, line 197, in __init__
    page = cls(self.ribbon, self)
  File &quot;/usr/lib/python3/site-packages/bCNC/CNCRibbon.py&quot;, line 115, in __init__
    self.register()
  File &quot;/usr/lib/python3/site-packages/bCNC/FilePage.py&quot;, line 392, in register
    self._register((FileGroup,
  File &quot;/usr/lib/python3/site-packages/bCNC/CNCRibbon.py&quot;, line 134, in _register
    w = f(self.master._pageFrame, self.app)
  File &quot;/usr/lib/python3/site-packages/bCNC/FilePage.py&quot;, line 254, in __init__
    self.comportRefresh()
  File &quot;/usr/lib/python3/site-packages/bCNC/FilePage.py&quot;, line 348, in comportRefresh
    for hw in i[2].split(&apos; &apos;):
AttributeError: &apos;NoneType&apos; object has no attribute &apos;split&apos;

Ожидаемый результат:
====================
Приложение запускается как на других стендах.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220938</commentid>
    <comment_count>1</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2023-01-31 12:43:29 +0300</bug_when>
    <thetext>Попробуйте установить python3-module-serial. Мне на регулярке KDE5 сейчас помогло.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220941</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandr Shashkin">dutyrok</who>
    <bug_when>2023-01-31 12:57:07 +0300</bug_when>
    <thetext>(Ответ для Антон Мидюков на комментарий #1)
&gt; Попробуйте установить python3-module-serial. Мне на регулярке KDE5 сейчас
&gt; помогло.

Да установка помогла, тогда нужно добавить его в зависимости для bCNC</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220945</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-01-31 14:15:49 +0300</bug_when>
    <thetext>bCNC-0.9.14.318-alt3 -&gt; sisyphus:

 Tue Jan 31 2023 Anton Midyukov &lt;antohami@altlinux&gt; 0.9.14.318-alt3
 - add %py3_requires serial (Closes:45081)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>