Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#42829 - [zsh] cannot load modules (wrong path)

Attached to Project: Arch Linux
Opened by Ma Jiehong (jiehong) - Tuesday, 18 November 2014, 07:59 GMT
Last edited by Pierre Schmitz (Pierre) - Saturday, 16 May 2015, 12:11 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

When trying to load a module with `zmodload`, the path used is incorrect, resulting in an error, and the module is not loaded.

Additional info:
* zsh 5.0.7

Steps to reproduce:
1. launch zsh (`zsh`);
2. try to load a module (let say datetime): `zmodload datetime`;

The error returned is: `zsh: failed to load module `datetime': /usr/lib/zsh/5.0.7/datetime.so: cannot open shared object file: No such file or directory`.

However, we can check that the modules are actually stored in `/usr/lib/zsh/5.0.7/zsh`.

Either zsh should be searching for the modules in the nested path, or the modules should be put 1 level higher.
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Saturday, 16 May 2015, 12:11 GMT
Reason for closing:  Not a bug
Comment by Ma Jiehong (jiehong) - Saturday, 03 January 2015, 08:39 GMT
Ok, I've found a workaround: it works with `zmodload zsh/datetime`.

Is it supposed to be like that?

I checked on the zsh website, and the path is actually correct, and the $module_path array variable also seems correct.
Perhaps it's the new way to call modules.
Comment by Pierre Schmitz (Pierre) - Saturday, 16 May 2015, 12:11 GMT
So I guess this is not a bug then? Request to reopen if I am wrong.

Loading...