Post Reply 
New firmware for G2 20211126
12-23-2021, 06:34 AM
Post: #43
RE: New firmware for G2 20211126
Hi Klaas and jte,

Thank you for your help!

(12-22-2021 07:36 PM)jte Wrote:  
(12-02-2021 12:22 PM)Elias Wrote:  There is a similar Bug for all firmware versions with Python (with physical device G2 and also in the simulator):

Directly after running a Python program the cursor key does not work and the soft key more in the Program menu triggers a reboot.
If you press directly after the Python program the Home button and then Program (Shift 1) again, there are no errors.

I’ve just tried this with a very short Python program, but didn’t experience the problem. (From my experience playing around with the UI of the Python app, my general impression is that it seems that some needed initialization is missing within parts of the Python app’s implementation, as changing the order in which views are visited, and the presence / absence of data, affects the app’s behaviour. [Whether it reboots / hangs or not.] Entering a bit of source code, turning off the calculator / visiting other views [such as Help, or pressing the Views key] can help get it towards working properly.)

I've found that the bug only occurs when using Python's input() method. Here's an example:

Code:
#PYTHON name
a = 'Python'
a = input('Input a word: ')
print(a)
#end
EXPORT input_bug()
BEGIN
  PRINT;
  PYTHON(name);
END;

If you remove or comment out the line "a = input('Input a word: ')", the error does not occur.

(12-22-2021 07:36 PM)jte Wrote:  Klaas above mentioned sending him bug reports. Another option is for me to create an account for you on the bug tracker. With an account, you can enter bug reports directly and be notified automatically by email when progress is made on the bug report. Let me know if you would like an account.

Yes, Please create me an account. I also sent you a PM.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
New firmware for G2 20211126 - pippocalo - 11-27-2021, 10:43 PM
RE: New firmware for G2 20211126 - jte - 12-07-2021, 07:30 AM
RE: New firmware for G2 20211126 - hape - 12-02-2021, 07:43 AM
RE: New firmware for G2 20211126 - Elias - 12-02-2021, 12:22 PM
RE: New firmware for G2 20211126 - jte - 12-22-2021, 07:36 PM
RE: New firmware for G2 20211126 - jte - 12-22-2021, 09:47 PM
RE: New firmware for G2 20211126 - Elias - 12-23-2021 06:34 AM
RE: New firmware for G2 20211126 - jte - 12-22-2021, 07:20 PM
RE: New firmware for G2 20211126 - hape - 12-03-2021, 06:19 AM
RE: New firmware for G2 20211126 - lrdheat - 12-05-2021, 08:31 PM
RE: New firmware for G2 20211126 - lrdheat - 12-05-2021, 08:33 PM
RE: New firmware for G2 20211126 - jte - 12-08-2021, 06:01 PM



User(s) browsing this thread: 1 Guest(s)