* [Comm] Свободная среда программирования ПЛК @ 2017-07-06 12:07 Антон Мидюков 2017-07-06 19:36 ` Pavel Vainerman 0 siblings, 1 reply; 5+ messages in thread From: Антон Мидюков @ 2017-07-06 12:07 UTC (permalink / raw) To: ALT Linux Community general discussions Здравствуйте! В репозиторий p8 сегодня пришли два пакета beremiz и yaplc-ide. Beremiz - это интегрированная среда разработки для ПЛК с открытым исходным кодом, которая полностью соответствует стандарту МЭК-61131-3. YAPLC представляет собой набор программ и библиотек со свободными лицензиями, которые позволяют создавать программное обеспечение ПЛК на базе микроконтроллеров. Является надстройкой над beremiz. Подробности читать на форуме: https://forum.altlinux.org/index.php?topic=39088.msg312710#msg312710 -- С уважением Антон Мидюков <antohami@altlinux.org> ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] Свободная среда программирования ПЛК 2017-07-06 12:07 [Comm] Свободная среда программирования ПЛК Антон Мидюков @ 2017-07-06 19:36 ` Pavel Vainerman 2017-07-07 15:44 ` Антон Мидюков 0 siblings, 1 reply; 5+ messages in thread From: Pavel Vainerman @ 2017-07-06 19:36 UTC (permalink / raw) To: ALT Linux Community general discussions 06.07.2017 15:07, Антон Мидюков пишет: > Здравствуйте! > > В репозиторий p8 сегодня пришли два пакета beremiz и yaplc-ide. > Что-то пока не удалось запустить. [pv@pvbook SES]$ beremiz Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/beremiz/Beremiz.py", line 195, in <module> beremiz.Start() File "/usr/lib/python2.7/site-packages/beremiz/Beremiz.py", line 191, in Start self.CreateApplication() File "/usr/lib/python2.7/site-packages/beremiz/Beremiz.py", line 129, in CreateApplication self.BackgroundInitialization() File "/usr/lib/python2.7/site-packages/beremiz/Beremiz.py", line 136, in BackgroundInitialization self.ImportModules() File "/usr/lib/python2.7/site-packages/beremiz/Beremiz.py", line 175, in ImportModules import BeremizIDE File "/usr/lib/python2.7/site-packages/beremiz/BeremizIDE.py", line 48, in <module> from editors.EditorPanel import EditorPanel File "/usr/lib/python2.7/site-packages/beremiz/editors/EditorPanel.py", line 27, in <module> from controls import VariablePanel File "/usr/lib/python2.7/site-packages/beremiz/controls/__init__.py", line 31, in <module> from DebugVariablePanel import DebugVariablePanel File "/usr/lib/python2.7/site-packages/beremiz/controls/DebugVariablePanel/__init__.py", line 26, in <module> from DebugVariablePanel import DebugVariablePanel File "/usr/lib/python2.7/site-packages/beremiz/controls/DebugVariablePanel/DebugVariablePanel.py", line 32, in <module> import matplotlib File "/usr/lib64/python2.7/site-packages/matplotlib/__init__.py", line 1182, in <module> rcParams = rc_params() File "/usr/lib64/python2.7/site-packages/matplotlib/__init__.py", line 1025, in rc_params return rc_params_from_file(fname, fail_on_error) File "/usr/lib64/python2.7/site-packages/matplotlib/__init__.py", line 1158, in rc_params_from_file if key not in _all_deprecated]) File "/usr/lib64/python2.7/site-packages/matplotlib/__init__.py", line 907, in __init__ self[k] = v File "/usr/lib64/python2.7/site-packages/matplotlib/__init__.py", line 926, in __setitem__ cval = self.validate[key](val) File "/usr/lib64/python2.7/site-packages/matplotlib/rcsetup.py", line 853, in validate_cycler cycler_inst.change_key(prop, norm_prop) AttributeError: 'Cycler' object has no attribute 'change_key' P.S. Или наверно лучше баг создать? -- Pavel Vainerman www.etersoft.ru ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] Свободная среда программирования ПЛК 2017-07-06 19:36 ` Pavel Vainerman @ 2017-07-07 15:44 ` Антон Мидюков 2017-07-09 14:57 ` Антон Мидюков 2017-07-10 11:40 ` Pavel Vainerman 0 siblings, 2 replies; 5+ messages in thread From: Антон Мидюков @ 2017-07-07 15:44 UTC (permalink / raw) To: community 07.07.2017 02:36, Pavel Vainerman пишет: > 06.07.2017 15:07, Антон Мидюков пишет: >> Здравствуйте! >> >> В репозиторий p8 сегодня пришли два пакета beremiz и yaplc-ide. >> > Что-то пока не удалось запустить. > > [pv@pvbook SES]$ beremiz > Traceback (most recent call last): > File "/usr/lib/python2.7/site-packages/beremiz/Beremiz.py", line 195, > in <module> > beremiz.Start() > File "/usr/lib/python2.7/site-packages/beremiz/Beremiz.py", line 191, > in Start > self.CreateApplication() > File "/usr/lib/python2.7/site-packages/beremiz/Beremiz.py", line 129, > in CreateApplication > self.BackgroundInitialization() > File "/usr/lib/python2.7/site-packages/beremiz/Beremiz.py", line 136, > in BackgroundInitialization > self.ImportModules() > File "/usr/lib/python2.7/site-packages/beremiz/Beremiz.py", line 175, > in ImportModules > import BeremizIDE > File "/usr/lib/python2.7/site-packages/beremiz/BeremizIDE.py", line > 48, in <module> > from editors.EditorPanel import EditorPanel > File > "/usr/lib/python2.7/site-packages/beremiz/editors/EditorPanel.py", line > 27, in <module> > from controls import VariablePanel > File "/usr/lib/python2.7/site-packages/beremiz/controls/__init__.py", > line 31, in <module> > from DebugVariablePanel import DebugVariablePanel > File > "/usr/lib/python2.7/site-packages/beremiz/controls/DebugVariablePanel/__init__.py", > line 26, in <module> > from DebugVariablePanel import DebugVariablePanel > File > "/usr/lib/python2.7/site-packages/beremiz/controls/DebugVariablePanel/DebugVariablePanel.py", > line 32, in <module> > import matplotlib > File "/usr/lib64/python2.7/site-packages/matplotlib/__init__.py", line > 1182, in <module> > rcParams = rc_params() > File "/usr/lib64/python2.7/site-packages/matplotlib/__init__.py", line > 1025, in rc_params > return rc_params_from_file(fname, fail_on_error) > File "/usr/lib64/python2.7/site-packages/matplotlib/__init__.py", line > 1158, in rc_params_from_file > if key not in _all_deprecated]) > File "/usr/lib64/python2.7/site-packages/matplotlib/__init__.py", line > 907, in __init__ > self[k] = v > File "/usr/lib64/python2.7/site-packages/matplotlib/__init__.py", line > 926, in __setitem__ > cval = self.validate[key](val) > File "/usr/lib64/python2.7/site-packages/matplotlib/rcsetup.py", line > 853, in validate_cycler > cycler_inst.change_key(prop, norm_prop) > AttributeError: 'Cycler' object has no attribute 'change_key' > > > P.S. Или наверно лучше баг создать? > Вашу проблему не воспроизвёл. Но обнаружил две проблемы: 1. На p8 не запускается с python-module-wx3.0 Необходимо вместо него установить python-module-wx 2. Не вытягивается по зависимостям python-module-matplotlib-wx Нужно установить его самому Эти проблемы в воскресенье постараюсь решить. А ваша проблема, пока не понятна. Жалуется на отсутствие атрибута change_key в python-module-cycler. А этот пакет по зависимостям должен вытягиваться. Вполне возможно, что какой-то модуль python перекрывает собой python-module-cycler и импортируется вместо него. -- С уважением Антон Мидюков <antohami@altlinux.org> ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] Свободная среда программирования ПЛК 2017-07-07 15:44 ` Антон Мидюков @ 2017-07-09 14:57 ` Антон Мидюков 2017-07-10 11:40 ` Pavel Vainerman 1 sibling, 0 replies; 5+ messages in thread From: Антон Мидюков @ 2017-07-09 14:57 UTC (permalink / raw) To: community 07.07.2017 22:44, Антон Мидюков пишет: > 07.07.2017 02:36, Pavel Vainerman пишет: >> 06.07.2017 15:07, Антон Мидюков пишет: >>> Здравствуйте! >>> >>> В репозиторий p8 сегодня пришли два пакета beremiz и yaplc-ide. >>> >> Что-то пока не удалось запустить. >> >> [pv@pvbook SES]$ beremiz >> Traceback (most recent call last): >> File "/usr/lib/python2.7/site-packages/beremiz/Beremiz.py", line 195, >> in <module> >> beremiz.Start() >> File "/usr/lib/python2.7/site-packages/beremiz/Beremiz.py", line 191, >> in Start >> self.CreateApplication() >> File "/usr/lib/python2.7/site-packages/beremiz/Beremiz.py", line 129, >> in CreateApplication >> self.BackgroundInitialization() >> File "/usr/lib/python2.7/site-packages/beremiz/Beremiz.py", line 136, >> in BackgroundInitialization >> self.ImportModules() >> File "/usr/lib/python2.7/site-packages/beremiz/Beremiz.py", line 175, >> in ImportModules >> import BeremizIDE >> File "/usr/lib/python2.7/site-packages/beremiz/BeremizIDE.py", line >> 48, in <module> >> from editors.EditorPanel import EditorPanel >> File >> "/usr/lib/python2.7/site-packages/beremiz/editors/EditorPanel.py", line >> 27, in <module> >> from controls import VariablePanel >> File "/usr/lib/python2.7/site-packages/beremiz/controls/__init__.py", >> line 31, in <module> >> from DebugVariablePanel import DebugVariablePanel >> File >> "/usr/lib/python2.7/site-packages/beremiz/controls/DebugVariablePanel/__init__.py", >> >> line 26, in <module> >> from DebugVariablePanel import DebugVariablePanel >> File >> "/usr/lib/python2.7/site-packages/beremiz/controls/DebugVariablePanel/DebugVariablePanel.py", >> >> line 32, in <module> >> import matplotlib >> File "/usr/lib64/python2.7/site-packages/matplotlib/__init__.py", >> line >> 1182, in <module> >> rcParams = rc_params() >> File "/usr/lib64/python2.7/site-packages/matplotlib/__init__.py", >> line >> 1025, in rc_params >> return rc_params_from_file(fname, fail_on_error) >> File "/usr/lib64/python2.7/site-packages/matplotlib/__init__.py", >> line >> 1158, in rc_params_from_file >> if key not in _all_deprecated]) >> File "/usr/lib64/python2.7/site-packages/matplotlib/__init__.py", >> line >> 907, in __init__ >> self[k] = v >> File "/usr/lib64/python2.7/site-packages/matplotlib/__init__.py", >> line >> 926, in __setitem__ >> cval = self.validate[key](val) >> File "/usr/lib64/python2.7/site-packages/matplotlib/rcsetup.py", line >> 853, in validate_cycler >> cycler_inst.change_key(prop, norm_prop) >> AttributeError: 'Cycler' object has no attribute 'change_key' >> >> >> P.S. Или наверно лучше баг создать? >> > Вашу проблему не воспроизвёл. Но обнаружил две проблемы: > 1. На p8 не запускается с python-module-wx3.0 > Необходимо вместо него установить python-module-wx Это проблема в python-module-wx3.0 в p8. В Сизифе всё нормально. В задании 185183 сделал бэкпорт wxGTK3.0 и python-module-wx3.0 для p8. Ждёт одобрения. > 2. Не вытягивается по зависимостям python-module-matplotlib-wx > Нужно установить его самому Исправленные пакеты придут завтра. > А ваша проблема, пока не понятна. Жалуется на отсутствие атрибута > change_key в python-module-cycler. А этот пакет по зависимостям должен > вытягиваться. Вполне возможно, что какой-то модуль python перекрывает > собой python-module-cycler и импортируется вместо него. Мне нужно больше информации, чтобы воспроизвести проблему. А именно список установленных python пакетов. -- С уважением Антон Мидюков <antohami@altlinux.org> ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] Свободная среда программирования ПЛК 2017-07-07 15:44 ` Антон Мидюков 2017-07-09 14:57 ` Антон Мидюков @ 2017-07-10 11:40 ` Pavel Vainerman 1 sibling, 0 replies; 5+ messages in thread From: Pavel Vainerman @ 2017-07-10 11:40 UTC (permalink / raw) To: ALT Linux Community general discussions 07.07.2017 18:44, Антон Мидюков пишет: > 07.07.2017 02:36, Pavel Vainerman пишет: >> 06.07.2017 15:07, Антон Мидюков пишет: >>> Здравствуйте! >>> >>> В репозиторий p8 сегодня пришли два пакета beremiz и yaplc-ide. >>> >> Что-то пока не удалось запустить. Выяснили, что нужно было обновить python-module-cycler до версии 0.10.0-alt1 P.S. Спасибо за решение Антону <antohami@altlinux.org> -- Pavel Vainerman www.etersoft.ru ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-07-10 11:40 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-07-06 12:07 [Comm] Свободная среда программирования ПЛК Антон Мидюков 2017-07-06 19:36 ` Pavel Vainerman 2017-07-07 15:44 ` Антон Мидюков 2017-07-09 14:57 ` Антон Мидюков 2017-07-10 11:40 ` Pavel Vainerman
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git