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

title(...) should disable itself if it fails; debug_output is not defined that early in the program #1814

Open
revoxhere opened this issue Aug 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@revoxhere
Copy link
Owner

As found by @igotek on Discord, there's an issue with set_title if the miner is started without a CLI

Ağu 18 22:10:37 orangepizero python3[1946]: AttributeError: 'NoneType' object has no attribute 'set_title'
Ağu 18 22:10:37 orangepizero python3[1946]: During handling of the above exception, another exception occurred:
Ağu 18 22:10:37 orangepizero python3[1946]: Traceback (most recent call last):
Ağu 18 22:10:37 orangepizero python3[1946]:   File "/home/orangepizero/duino-coin/PC_Miner.py", line 1390, in <module>
Ağu 18 22:10:37 orangepizero python3[1946]:     title(f"{get_string('duco_python_miner')}{str(Settings.VER)})")
Ağu 18 22:10:37 orangepizero python3[1946]:   File "/home/orangepizero/duino-coin/PC_Miner.py", line 201, in title
Ağu 18 22:10:37 orangepizero python3[1946]:     debug_output("Error setting title: " +str(e))
Ağu 18 22:10:37 orangepizero python3[1946]:     ^^^^^^^^^^^^
Ağu 18 22:10:37 orangepizero python3[1946]: NameError: name 'debug_output' is not defined
@revoxhere revoxhere self-assigned this Aug 18, 2024
@revoxhere revoxhere added the bug Something isn't working label Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant