nix-community / home-manager

Manage a user environment using Nix [maintainer=@rycee]
https://nix-community.github.io/home-manager/
MIT License
6.78k stars 1.77k forks source link

bug: AttributeError: module 'mistune.renderers' has no attribute 'BaseRenderer' #5507

Open OfflineBot opened 3 months ago

OfflineBot commented 3 months ago

Are you following the right branch?

Is there an existing issue for this?

Issue description

I tried installing home-manager with: nix-shell '' -A install and i got this error: ` Creating initial Home Manager generation...

trace: warning: lib.modules.defaultPriority is deprecated, please use lib.modules.defaultOverridePriority instead. trace: warning: lib.mdDoc will be removed from nixpkgs in 24.11. Option descriptions are now in Markdown by default; you can remove any remaining uses of lib.mdDoc. these 12 derivations will be built: /nix/store/srdmkzjxr9zwfjdfqi6yr2jm9xshpcir-options.json.drv /nix/store/0y9jnsggsdpk2zam3kzrmhi2dw1rnj7x-options-db.xml.drv /nix/store/7h4g6cx413jyd99q41i9hhz1yq25lrdj-options.json.drv /nix/store/j1ngg18i7r5f1ivkr263zg5dvvr06dz4-options-db.xml.drv /nix/store/nxsf8qdv37383bzyrpybzbb6j1q37xqc-options-db.xml.drv /nix/store/b3j5lv3r1m80hqyavrzn7q7zrjy86rdv-nmd-documents.drv /nix/store/avlnsfslqrl2a8jy43qpn5qvjjp4r3p2-manual-combined.drv /nix/store/7jw0yqn90bkpnqis323knvl9pb6apjs2-manual-olinkdb.drv /nix/store/4d5bjas9qd8jkykx9inh36z3myfy61i1-man-pages.drv /nix/store/hfxq3i6rflx53an1jgdadxd8h192d1j5-home-manager-path.drv /nix/store/w16jbvba7mc5pydsycz7ndq3vdfng54n-activation-script.drv /nix/store/y647579xi7b5m70ddaysj44dn33zxw1k-home-manager-generation.drv building '/nix/store/7h4g6cx413jyd99q41i9hhz1yq25lrdj-options.json.drv'... Traceback (most recent call last): File "/nix/store/4b5nzglksisqssvhh8xpq2fcv7n6xcc0-docbookify-options-json.py", line 66, in class Renderer(mistune.renderers.BaseRenderer): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'mistune.renderers' has no attribute 'BaseRenderer' error: builder for '/nix/store/7h4g6cx413jyd99q41i9hhz1yq25lrdj-options.json.drv' failed with exit code 1 error: 1 dependencies of derivation '/nix/store/j1ngg18i7r5f1ivkr263zg5dvvr06dz4-options-db.xml.drv' failed to build error: 1 dependencies of derivation '/nix/store/b3j5lv3r1m80hqyavrzn7q7zrjy86rdv-nmd-documents.drv' failed to build error: 1 dependencies of derivation '/nix/store/avlnsfslqrl2a8jy43qpn5qvjjp4r3p2-manual-combined.drv' failed to build error: 1 dependencies of derivation '/nix/store/4d5bjas9qd8jkykx9inh36z3myfy61i1-man-pages.drv' failed to build error: 1 dependencies of derivation '/nix/store/hfxq3i6rflx53an1jgdadxd8h192d1j5-home-manager-path.drv' failed to build error: 1 dependencies of derivation '/nix/store/y647579xi7b5m70ddaysj44dn33zxw1k-home-manager-generation.drv' failed to build Uh oh, the installation failed! Please create an issue at

https://github.com/nix-community/home-manager/issues

if the error seems to be the fault of Home Manager. `

Maintainer CC

No response

System information

this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):
  /nix/store/y11cs26gb9b1irv5hk776mra7hgy80bl-nix-info
copying path '/nix/store/y11cs26gb9b1irv5hk776mra7hgy80bl-nix-info' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.10-300.fc40.x86_64, Fedora Linux, 40 (Workstation Edition), nobuild`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.22.1`
 - nixpkgs: `/home/offlinebot/.nix-defexpr/channels/nixpkgs`
stale[bot] commented 2 weeks ago

Thank you for your contribution! I marked this issue as stale due to inactivity. Please be considerate of people watching this issue and receiving notifications before commenting 'I have this issue too'. We welcome additional information that will help resolve this issue. Please read the relevant sections below before commenting.

If you are the original author of the issue

* If this is resolved, please consider closing it so that the maintainers know not to focus on this. * If this might still be an issue, but you are not interested in promoting its resolution, please consider closing it while encouraging others to take over and reopen an issue if they care enough. * If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.

If you are not the original author of the issue

* If you are also experiencing this issue, please add details of your situation to help with the debugging process. * If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.

Memorandum on closing issues

Don't be afraid to manually close an issue, even if it holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen – nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort.