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

Pronterface won't launch, AttributeError: 'NoneType' object has no attribute 'write' #1340

Closed
naeim77 opened this issue Apr 8, 2023 · 7 comments

Comments

@naeim77
Copy link

naeim77 commented Apr 8, 2023

AttributeError: 'NoneType' object has no attribute 'write'

I open the pronterface and I get this error

How can I fix it?

@rockstorm101
Copy link
Collaborator

rockstorm101 commented Apr 8, 2023

Please share your operating system, Printrun version, where did you download it? Python version? How are you launching it?

@volconst
Copy link
Collaborator

volconst commented Apr 8, 2023

Try to find/enable log file
#1295 (comment)

@rockstorm101
Copy link
Collaborator

Hi @naeim77, did you manage to solve your issue? Did the suggestion help in anyway?

@DivingDuck
Copy link
Collaborator

@rockstorm101,
This issue should be solved with Pronterface 2.1.0. Guess, we can close this issue.

@rockstorm101
Copy link
Collaborator

@rockstorm101, This issue should be solved with Pronterface 2.1.0. Guess, we can close this issue.

Agreed, this is clearly gone stale. Thanks for catching up.

@FredBello
Copy link

My friends, in my case, not even the current one worked
Version: printrun-2.2.0_windows_x64_py3.10
Error message:
"Traceback (most recent call last):
File "pronterface.py", line 62, in
File "printrun\pronterface.py", line 2596, in init
File "printrun\pronterface.py", line 171, in init
File "printrun\pronsole.py", line 778, in parse_cmdline
File "printrun\pronterface.py", line 1161, in process_cmdline_arguments
File "printrun\pronsole.py", line 761, in process_cmdline_arguments
File "printrun\pronsole.py", line 656, in load_default_rc
File "printrun\pronsole.py", line 627, in load_rc
File "cmd.py", line 211, in onecmd
File "printrun\pronsole.py", line 403, in default
File "cmd.py", line 236, in default
AttributeError: 'NoneType' object has no attribute 'write' "

I don't know what to do, could you give me some suggestions?
Thanks

@DivingDuck
Copy link
Collaborator

For reference: #1462

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants