ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Антон Мидюков" <midyukov-anton@ya.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Свободная среда программирования ПЛК
Date: Fri, 7 Jul 2017 22:44:11 +0700
Message-ID: <4f78c864-9ea4-75d8-057b-b4aa4685a7d0@ya.ru> (raw)
In-Reply-To: <24ccaa2b-61e2-cb3b-a1d7-39453b07d969@etersoft.ru>

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>



  reply	other threads:[~2017-07-07 15:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-06 12:07 Антон Мидюков
2017-07-06 19:36 ` Pavel Vainerman
2017-07-07 15:44   ` Антон Мидюков [this message]
2017-07-09 14:57     ` Антон Мидюков
2017-07-10 11:40     ` Pavel Vainerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4f78c864-9ea4-75d8-057b-b4aa4685a7d0@ya.ru \
    --to=midyukov-anton@ya.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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