Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extraneous output in Serial window #230

Closed
dhalbert opened this issue Aug 8, 2024 · 3 comments
Closed

Extraneous output in Serial window #230

dhalbert opened this issue Aug 8, 2024 · 3 comments
Labels
beta Issue is available in beta bug Something isn't working

Comments

@dhalbert
Copy link
Contributor

dhalbert commented Aug 8, 2024

CircuitPython Version

CircuitPython 9.1.1 on QT Py ESP32-C3

Workflow(s)

USB

Browser(s)

Version 127.0.6533.99 (Official Build) (64-bit) on Ubuntu 24.04

Console Log

nothing unusual in console log

Steps

  1. Shift reload https://code-beta.circuitpython.org/
  2. select USB and choose serial. The board has previously had storage.erase_filesystem() done, so CIRCUITPY is in good shape.
  3. open Serial window
  4. edit code.py and another another print() statement

Description

I see extraneous output in the Serial Window, copied below. I see soft restarts, raw REPL info, a few errors, the file I'm writing, etc.


raw REPL; CTRL-B to exit
>raw REPL; CTRL-B to exit
>OKFalse
>

Adafruit CircuitPython 9.1.1 on 2024-07-22; Adafruit QT Py ESP32C3 with ESP32-C3FN4
>>> 

Adafruit CircuitPython 9.1.1 on 2024-07-22; Adafruit QT Py ESP32C3 with ESP32-C3FN4
>>> 
connected

>>> 
>>> 
soft reboot

Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
Hello World!

Code done running.

Press any key to enter the REPL. Use CTRL-D to reload.

Adafruit CircuitPython 9.1.1 on 2024-07-22; Adafruit QT Py ESP32C3 with ESP32-C3FN4
>>> 
raw REPL; CTRL-B to exit
>raw REPL; CTRL-B to exit
>OKFalse
>

Adafruit CircuitPython 9.1.1 on 2024-07-22; Adafruit QT Py ESP32C3 with ESP32-C3FN4
>>> 

Adafruit CircuitPython 9.1.1 on 2024-07-22; Adafruit QT Py ESP32C3 with ESP32-C3FN4
>>> 
raw REPL; CTRL-B to exit
>raw REPL; CTRL-B to exit
>OKsd 16384 0 946684802
settings.toml 32768 0 946684802
code.py 32768 22 946684802
lib 16384 0 946684802
boot_out.txt 32768 135 946684804
>

Adafruit CircuitPython 9.1.1 on 2024-07-22; Adafruit QT Py ESP32C3 with ESP32-C3FN4
>>> 

Adafruit CircuitPython 9.1.1 on 2024-07-22; Adafruit QT Py ESP32C3 with ESP32-C3FN4
>>> 
raw REPL; CTRL-B to exit
>raw REPL; CTRL-B to exit
>OKprint("Hello World!")

>

Adafruit CircuitPython 9.1.1 on 2024-07-22; Adafruit QT Py ESP32C3 with ESP32-C3FN4
>>> 

Adafruit CircuitPython 9.1.1 on 2024-07-22; Adafruit QT Py ESP32C3 with ESP32-C3FN4
>>> 
raw REPL; CTRL-B to exit
>raw REPL; CTRL-B to exit
>OKTraceback (most recent call last):
  File "<stdin>", line 6, in <module>
NameError: name 'os' is not defined
>

Adafruit CircuitPython 9.1.1 on 2024-07-22; Adafruit QT Py ESP32C3 with ESP32-C3FN4
>>> 

Adafruit CircuitPython 9.1.1 on 2024-07-22; Adafruit QT Py ESP32C3 with ESP32-C3FN4
>>> 
soft reboot

Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
Hello World!
foo

Code done running.

Press any key to enter the REPL. Use CTRL-D to reload.

Adafruit CircuitPython 9.1.1 on 2024-07-22; Adafruit QT Py ESP32C3 with ESP32-C3FN4
>>> 
>>> 
soft reboot

Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
Hello World!
foo

Code done running.

Press any key to enter the REPL. Use CTRL-D to reload.

Adafruit CircuitPython 9.1.1 on 2024-07-22; Adafruit QT Py ESP32C3 with ESP32-C3FN4
>>> 
raw REPL; CTRL-B to exit
>raw REPL; CTRL-B to exit
>OKsd 16384 0 946684802
settings.toml 32768 0 946684802
code.py 32768 34 946684856
lib 16384 0 946684802
boot_out.txt 32768 135 946684804
>

Adafruit CircuitPython 9.1.1 on 2024-07-22; Adafruit QT Py ESP32C3 with ESP32-C3FN4
>>> 

Adafruit CircuitPython 9.1.1 on 2024-07-22; Adafruit QT Py ESP32C3 with ESP32-C3FN4
>>> 
raw REPL; CTRL-B to exit
>raw REPL; CTRL-B to exit
>OKprint("Hello World!")
print("foo")
>

Additional information

No response

@dhalbert dhalbert added the bug Something isn't working label Aug 8, 2024
@makermelissa
Copy link
Collaborator

Thanks. I'll look into this today.

@makermelissa
Copy link
Collaborator

I noticed this as well and was able to reproduce the issue locally. I haven't traced down the exact cause yet.

@makermelissa
Copy link
Collaborator

This is now via #231.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Issue is available in beta bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants