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.

Hi,

I wanted to run brainrender-gui and I am getting the following error. Could I be missing installing any python modules?

Thanks, Seita

Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pyinspect/exceptions.py", line 146, in excepthook
    emanager.render_error()
  File "/usr/local/lib/python3.9/site-packages/pyinspect/exceptions.py", line 79, in render_error
    *inspect_traceback(
  File "/usr/local/lib/python3.9/site-packages/pyinspect/_exceptions.py", line 291, in inspect_traceback
    eline = read_single_line(fpath, f.f_lineno - 1)
  File "/usr/local/lib/python3.9/site-packages/pyinspect/utils.py", line 135, in read_single_line
    raise FileExistsError(
FileExistsError: When reading a single line from file: the file doesnt exist!

Original exception was:
Traceback (most recent call last):
  File "/usr/local/bin/brainrender-gui", line 5, in <module>
    from brainrender.gui.__init__ import clilaunch
  File "/usr/local/lib/python3.9/site-packages/brainrender/__init__.py", line 15, in <module>
    from brainrender.scene import Scene
  File "/usr/local/lib/python3.9/site-packages/brainrender/scene.py", line 18, in <module>
    from brainrender.render import Render
  File "/usr/local/lib/python3.9/site-packages/brainrender/render.py", line 1, in <module>
    from vedo import Plotter, closePlotter
ImportError: cannot import name 'closePlotter' from 'vedo' (/usr/local/lib/python3.9/site-packages/vedo/__init__.py)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:29 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
FedeClaudicommented, Dec 8, 2021

load_mesh_from_file only supports loading of .obj and .stl files (and a couple others supported by vedo). The GUI currently doesn’t have a way to load .swc data into it, though ti would be fairly easy to expand load_mesh_from_file to use the Neuron class to load neurons when a path to an .swc is passed, if you want to try creating a pull request with this new feature.

1reaction
FedeClaudicommented, Dec 3, 2021

The vtk branch was for a separate problem. Can you try pip install PySide2?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Runtime Error: What It Is and How to Fix It - Lifewire
A runtime error occurs while a program is running or when you first attempt to start the application. The error sometimes goes away...
Read more >
Runtime Errors - GeeksforGeeks
A runtime error in a program is an error that occurs while the program is running after being successfully compiled. · Runtime errors...
Read more >
Runtime errors in Internet Explorer - Browsers - Microsoft Learn
A runtime error is a software or hardware problem that prevents Internet Explorer from working correctly. Runtime errors can be caused when ...
Read more >
What are Runtime Errors? Their causes and How to fix them?
A Runtime Error is an error that occurs at the time of running or executing a program. When this error occurs, the program...
Read more >
How to fix runtime error in Windows? - Tech-addict
Runtime error indicates bugs in the program which are often found during the debugging process before the software is released. It also ...
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