Skip to content

gui.adapt fails due to Entry.get() returning an empty string #5

@artiqknight

Description

@artiqknight

Tested in blinkingLight and oneArmedRobot
The programs start and seems to run just fine.
Ran on: Archlinux

The traceback:

Traceback (most recent call last):
File "/home/robin/.local/lib/python3.7/site-packages/SimPyLC/gui.py", line 134, in adapt
self.element._write (round (eval (self.entry.get ())) + delta)
File "", line 0

^

SyntaxError: unexpected EOF while parsing

Traceback (most recent call last):
File "/home/robin/.local/lib/python3.7/site-packages/SimPyLC/gui.py", line 134, in adapt
self.element._write (round (eval (self.entry.get ())) + delta)
File "", line 0

^

SyntaxError: unexpected EOF while parsing

Traceback (most recent call last):
File "/home/robin/.local/lib/python3.7/site-packages/SimPyLC/gui.py", line 134, in adapt
self.element._write (round (eval (self.entry.get ())) + delta)
File "", line 0

^

SyntaxError: unexpected EOF while parsing

Traceback (most recent call last):
File "/home/robin/.local/lib/python3.7/site-packages/SimPyLC/gui.py", line 134, in adapt
self.element._write (round (eval (self.entry.get ())) + delta)
File "", line 0

^

SyntaxError: unexpected EOF while parsing

Metadata

Metadata

Assignees

No one assigned

    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