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

bloom-generate not executable #720

Open
K-Zanaty opened this issue Jan 12, 2024 · 0 comments
Open

bloom-generate not executable #720

K-Zanaty opened this issue Jan 12, 2024 · 0 comments

Comments

@K-Zanaty
Copy link

I tried to install bloom via apt-get and PyPi.

In both cases I encounter issues while following the tutorial as described here

The commands bloom-generate ros-debian reports:

In case of PyPi:
-bash: /usr/bin/bloom-generate: No such file or directory

In case of Apt-Get:
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: is an invalid version and will not be supported in a future release warnings.warn( Traceback (most recent call last): File "/usr/bin/bloom-generate", line 11, in <module> load_entry_point('bloom==0.11.2', 'console_scripts', 'bloom-generate')() File "/usr/local/lib/python3.10/dist-packages/bloom/commands/generate.py", line 82, in main create_subparsers(parser, generator_cmds) File "/usr/local/lib/python3.10/dist-packages/bloom/commands/generate.py", line 68, in create_subparsers desc = load_generator_description(generator_cmd) File "/usr/local/lib/python3.10/dist-packages/bloom/commands/generate.py", line 56, in load_generator_description return entry_point.load() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2465, in load return self.resolve() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2471, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/local/lib/python3.10/dist-packages/bloom/generators/debian/__init__.py", line 1, in <module> from .generator import DebianGenerator File "/usr/local/lib/python3.10/dist-packages/bloom/generators/debian/generator.py", line 84, in <module> from bloom.packages import get_package_data File "/usr/local/lib/python3.10/dist-packages/bloom/packages.py", line 46, in <module> from bloom.config import BLOOM_CONFIG_BRANCH File "/usr/local/lib/python3.10/dist-packages/bloom/config.py", line 122, in <module> get_non_eol_distros_prompt() File "/usr/local/lib/python3.10/dist-packages/bloom/rosdistro_api.py", line 191, in get_non_eol_distros_prompt rosdistro_index = get_index() File "/usr/local/lib/python3.10/dist-packages/bloom/rosdistro_api.py", line 121, in get_index _rosdistro_index = rosdistro.get_index(get_index_url()) File "/usr/local/lib/python3.10/dist-packages/bloom/rosdistro_api.py", line 90, in get_index_url gh = get_github_interface(quiet=True) File "/usr/local/lib/python3.10/dist-packages/bloom/github.py", line 299, in get_github_interface config = json.loads(f.read()) File "/usr/lib/python3.10/json/__init__.py", line 346, in loads return _default_decoder.decode(s) File "/usr/lib/python3.10/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I would appreciate some advice, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant