Python Forum
Error notification after encoding - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Error notification after encoding (/thread-37336.html)



Error notification after encoding - robertje1024 - May-29-2022

Hello everyone,

I'm new here, sorry for my english is not so good.
I'm learning Python and get an error message after entering a code.

This is my code, sorry it's in Dutch:

Python 3.8.10
>>> voornaam = 'Brammetje'
achternaam = 'Jansen'
print('Hee hallo, %s %s!' % (voornaam, achternaam))

This is my error:

PROBLEM WITH THONNY'S BACK-END:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 1245, in execute_source
statements = compile(ast.Module(body=root.body[:-1]), filename, "exec")
TypeError: required field "type_ignores" missing from Module.

I don't know how to fix this, or where I can find this solution.

Remarks,

Robert


RE: Error notification after encoding - Axel_Erfurt - May-29-2022

What's your OS?
Works fine here with thonny and Python 3.8.10 in Linux.