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.

Why we have to satisfy dependency on modules we don't use?

See original GitHub issue

I didn’t look into the code to see why the engine import module has to happen, but If I don’t have taskw enabled I shouldn’t have to get taskw python from random AUR repository, it’s not in official arch repos.

./bumblebee-status
Traceback (most recent call last):
  File "./bumblebee-status", line 74, in <module>
    main()
  File "./bumblebee-status", line 46, in main
    inp=inp,
  File "/home/frdm/.config/bumblebee-status/bumblebee/engine.py", line 142, in __ini
    self._aliases = self._read_aliases()
  File "/home/frdm/.config/bumblebee-status/bumblebee/engine.py", line 219, in _read
    mod = importlib.import_module("bumblebee.modules.{}".format(module["name"]))
  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/frdm/.config/bumblebee-status/bumblebee/modules/taskwarrior.py", line
    from taskw import TaskWarrior
ModuleNotFoundError: No module named 'taskw'

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tobi-wan-kenobicommented, Feb 1, 2018

Good question, frankly speaking: I’m not aware that anything the tool is doing depends on a specific Font Awesome version, so if you system supports Font Awesome 5, you should be able to use it in your themes.

1reaction
tobi-wan-kenobicommented, Feb 1, 2018

oh, that is a pretty bad bug. will fix that in the engine, sorry for that!

⁣Sent from TypeApp ​

On Feb 1, 2018, 11:05, at 11:05, “Antonín Dach” notifications@github.com wrote:

Can’t even install taskw, the one from AUR doesn’t work and the taskw installed via pip didn’t help neither.

– You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tobi-wan-kenobi/bumblebee-status/issues/227#issuecomment-362218177

Read more comments on GitHub >

github_iconTop Results From Across the Web

Should you specify Node.js built-in modules as “dependencies?”
1 Answer 1 ... No you do not need to add them to your dependencies, and you should not add them to your...
Read more >
Dependency Managers Don't Manage Your Dependencies
Analyze dependencies. First, we need to get an understanding of what kind of packages are in our node_modules folders. We'll analyze our ...
Read more >
version do not work together with puppet module install
I am using puppet version 3.7.5. I tried to run the following command: [root@dvcm puppetmaster]# puppet module install --ignore-dependencies ...
Read more >
cmd/go: satisfy import by adding require of available ... - GitHub
I feel that the require with a real version requirement is still neccessary if both modules may be required by a third. Otherwise,...
Read more >
How To Use Node.js Modules with npm and package.json
Packages that are used for the development of a project but not for building or running it in production are called development dependencies....
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