question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Local First Run Results in AttributeError Exception

See original GitHub issue

Hello 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:open
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found