Bug 1883582 - Create event don't work
Summary: Create event don't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-humblewx
Version: 33
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Rickard Lindberg
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-29 15:53 UTC by rvcsaba
Modified: 2020-10-04 00:15 UTC (History)
2 users (show)

Fixed In Version: python-humblewx-0.2.1-17.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-04 00:15:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description rvcsaba 2020-09-29 15:53:52 UTC
Description of problem:

I started timeline, and click create event menu.

/usr/bin/timeline 
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/timelinelib/wxgui/setup.py", line 48, in unhandled_exception_hook
    show_feedback_dialog(
  File "/usr/lib/python3.9/site-packages/timelinelib/wxgui/dialogs/feedback/view.py", line 92, in show_feedback_dialog
    dialog = FeedbackDialog(parent, info, subject, body)
  File "/usr/lib/python3.9/site-packages/timelinelib/wxgui/dialogs/feedback/view.py", line 52, in __init__
    Dialog.__init__(self, FeedbackDialogController, parent, {
  File "/usr/lib/python3.9/site-packages/humblewx/__init__.py", line 205, in __init__
    component = self._create(controller_class, variables)
  File "/usr/lib/python3.9/site-packages/humblewx/__init__.py", line 41, in _create
    return self._create_from_node(self, xml.etree.ElementTree.fromstring(self.__doc__))
  File "/usr/lib/python3.9/site-packages/humblewx/__init__.py", line 51, in _create_from_node
    component = creator(parent, node)
  File "/usr/lib/python3.9/site-packages/humblewx/__init__.py", line 58, in _create_BoxSizerVertical
    return self._populate_sizer(parent, node, wx.BoxSizer(wx.VERTICAL))
  File "/usr/lib/python3.9/site-packages/humblewx/__init__.py", line 94, in _populate_sizer
    for child_node in node.getchildren():
AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/timelinelib/wxgui/frames/mainframe/menus/timelinemenu.py", line 38, in <lambda>
    mid.ID_CREATE_EVENT: lambda evt: open_create_event_editor(parent, parent, parent.config, parent.timeline),
  File "/usr/lib/python3.9/site-packages/timelinelib/wxgui/dialogs/editevent/view.py", line 376, in open_create_event_editor
    safe_locking(edit_controller, edit_function)
  File "/usr/lib/python3.9/site-packages/timelinelib/db/utils.py", line 90, in safe_locking
    edit_function()
  File "/usr/lib/python3.9/site-packages/timelinelib/wxgui/dialogs/editevent/view.py", line 373, in edit_function
    dialog = create_event_editor()
  File "/usr/lib/python3.9/site-packages/timelinelib/wxgui/dialogs/editevent/view.py", line 370, in create_event_editor
    return EditEventDialog(parent, config, label, db, start, end)
  File "/usr/lib/python3.9/site-packages/timelinelib/wxgui/dialogs/editevent/view.py", line 175, in __init__
    Dialog.__init__(self, EditEventDialogController, parent, {
  File "/usr/lib/python3.9/site-packages/humblewx/__init__.py", line 205, in __init__
    component = self._create(controller_class, variables)
  File "/usr/lib/python3.9/site-packages/humblewx/__init__.py", line 41, in _create
    return self._create_from_node(self, xml.etree.ElementTree.fromstring(self.__doc__))
  File "/usr/lib/python3.9/site-packages/humblewx/__init__.py", line 51, in _create_from_node
    component = creator(parent, node)
  File "/usr/lib/python3.9/site-packages/humblewx/__init__.py", line 58, in _create_BoxSizerVertical
    return self._populate_sizer(parent, node, wx.BoxSizer(wx.VERTICAL))
  File "/usr/lib/python3.9/site-packages/humblewx/__init__.py", line 94, in _populate_sizer
    for child_node in node.getchildren():
AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'

^C



Version-Release number of selected component (if applicable):

timeline-2.2.0-3.fc33.noarch


How reproducible:

I started timeline, and click create event menu.

Comment 1 Gwyn Ciesla 2020-09-29 16:22:25 UTC
python-humblewx bug. I submitted a patch upstream, and an updated build is coming.

Comment 2 Fedora Update System 2020-09-29 16:24:15 UTC
FEDORA-2020-477eef52a5 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-477eef52a5

Comment 3 Fedora Update System 2020-09-30 01:11:48 UTC
FEDORA-2020-477eef52a5 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-477eef52a5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-477eef52a5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 rvcsaba 2020-09-30 11:50:54 UTC
This patch solved the problem. Thank you!

Comment 5 Fedora Update System 2020-10-04 00:15:07 UTC
FEDORA-2020-477eef52a5 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.