Local First Run Results in AttributeError Exception
See original GitHub issueHello when starting to test this out, I was immediately faced with the issue below.
Done.
data found from 2018-03-25 14:14:30 to 2018-03-26 05:49:05
Converting to milliseconds ...
Done
Adding time offset of 0.06 seconds
Setting speed to 1x
Done
Traceback (most recent call last):
File ".../tryingdsio/dsio-env/bin/dsio", line 9, in <module>
load_entry_point('dsio==0.1.0', 'console_scripts', 'dsio')()
File ".../tryingdsio/dsio-env/src/dsio/dsio/main.py", line 155, in main
cols=int(args.cols)
File ".../tryingdsio/dsio-env/src/dsio/dsio/main.py", line 70, in restream_dataframe
port=bokeh_port, update_queue=update_queue
File ".../tryingdsio/dsio-env/src/dsio/dsio/dashboard/bokeh.py", line 74, in generate_dashboard
if io_loop._running: # Assume we're in a Jupyter notebook
AttributeError: 'AsyncIOMainLoop' object has no attribute '_running'```
I'm not sure what the root cause of the issue is, but I have a non-breaking fix for myself that may also help other people. I will make a PR with the change.
Thank you!
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
Built-in Exceptions — Python 3.11.1 documentation
User code can create subclasses that inherit from an exception type. It's recommended to only subclass one exception type at a time to...
Read more >Why am I getting AttributeError: Object has no attribute? [closed]
Run the script with python -tt to verify. ... This will throw error 'AttributeError: <name_of_class_object> object has no attribute 'pqr'.
Read more >Understanding the Python Traceback
In Python, the term used is traceback. When your program results in an exception, Python will print the current traceback to help you...
Read more >Python errors and exceptions
Inside this function, the program encountered an error on Line 7, when it tried to run the code print ice_creams[3] . Long tracebacks....
Read more >Exception and Error Handling in Python - DataCamp
Name Error is raised when a local or global name is not found. In the below example, ans variable is not defined. Hence,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
https://github.com/MentatInnovations/datastream.io/issues/28#issuecomment-401280534 @robmarkcole @amkrous
+1 having this issue