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

import jupyros is failing #155

Closed
jlmeunier opened this issue Nov 15, 2023 · 1 comment
Closed

import jupyros is failing #155

jlmeunier opened this issue Nov 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@jlmeunier
Copy link

Hi there!

Several names are unknown in the code.
It started by Unicode in file jupyros/ros3d.py
=> I explicitly import it by a from traitlets import Unicode
But then, I'm getting a:

>>> import jupyros
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/meunier/miniforge3/envs/ros_env2/lib/python3.9/site-packages/jupyros/__init__.py", line 16, in <module>
    from .ros3d import *
  File "/home/meunier/miniforge3/envs/ros_env2/lib/python3.9/site-packages/jupyros/ros3d.py", line 78, in <module>
    class TFClient(widgets.Widget):
  File "/home/meunier/miniforge3/envs/ros_env2/lib/python3.9/site-packages/jupyros/ros3d.py", line 95, in TFClient
    ros = Instance(ROSConnection).tag(**sync_widget)
NameError: name 'Instance' is not defined

I've done the standard installation of Robotstack, for ROS Noetic, followed by: mamba install jupyter-ros -c robostack
On a x86_64 macchine running Ubuntu 20.04.6 LTS

Some version info:

jupyter-ros               0.5.0              pyhd8ed1ab_0    robostack
jupyter_client            7.4.9              pyhd8ed1ab_0    conda-forge
jupyter_core              5.5.0            py39hf3d152e_0    conda-forge
jupyter_events            0.9.0              pyhd8ed1ab_0    conda-forge
jupyter_server            2.10.1             pyhd8ed1ab_0    conda-forge
jupyter_server_fileid     0.9.0              pyhd8ed1ab_0    conda-forge
jupyter_server_terminals  0.4.4              pyhd8ed1ab_1    conda-forge
jupyter_server_ydoc       0.8.0              pyhd8ed1ab_0    conda-forge
jupyter_ydoc              0.2.4              pyhd8ed1ab_0    conda-forge
jupyterlab                3.6.6              pyhd8ed1ab_0    conda-forge
jupyterlab_pygments       0.2.2              pyhd8ed1ab_0    conda-forge
jupyterlab_server         2.25.1             pyhd8ed1ab_0    conda-forge
jupyterlab_widgets        3.0.9              pyhd8ed1ab_0    conda-forge

Thanks for any help,
JL

@IsabelParedes IsabelParedes added the bug Something isn't working label Dec 13, 2023
@IsabelParedes
Copy link
Collaborator

IsabelParedes commented Dec 13, 2023

Hi @jlmeunier !

This issue was fixed with #145

Please try with the new release v0.7.0

pip install jupyros==0.7.0

or

 conda install -c conda-forge jupyros 

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

2 participants