Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Exception after adding two devices #79

@bustawin

Description

@bustawin

I added a device, and once it started I added another. The result was the following exception:

Traceback (most recent call last):
  File "erasetor.py", line 373, in <module>
    ErasetorServer()
  File "erasetor.py", line 77, in __init__
    wrapper(self.start)
  File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
    return func(stdscr, *args, **kwds)
  File "erasetor.py", line 98, in start
    self.start_erasetor_process()
  File "erasetor.py", line 92, in start_erasetor_process
    main_menu.display()
  File "erasetor.py", line 138, in display
    devices = self.process.get_list()
  File "erasetor.py", line 364, in get_list
    for device in self.devices:
RuntimeError: dictionary changed size during iteration

Note that not always happens, and I couldn't reproduce the error again.

SO: linux mint 18.1 Cinnamon 32-bit

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions