Package Details: autojump 22.5.3-7

Git Clone URL: https://aur.archlinux.org/autojump.git (read-only, click to copy)
Package Base: autojump
Description: A faster way to navigate your filesystem from the command line
Upstream URL: https://github.com/wting/autojump
Licenses: GPL3
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 19
Popularity: 0.67
First Submitted: 2019-11-21 20:22
Last Updated: 2020-12-02 11:51

Dependencies (1)

Required by (1)

Sources (1)

Latest Comments

1 2 Next › Last »

joshm commented on 2021-01-07 13:29

@SkywalkerDarren -- thanks! It was a bit different for me, here's how I fixed it on Manjaro:

> locate autojump_argparse.py             
/home/josh/.pyenv/versions/3.7.7/lib/python3.7/site-packages/autojump_argparse.py

> find /usr/lib -type d -path '*python*' -name 'site-packages'       
/usr/lib/python2.7/site-packages
/usr/lib/python3.9/site-packages

> sudo cp /home/josh/.pyenv/versions/3.7.7/lib/python3.7/site-packages/autojump*.py /usr/lib/python2.7/site-packages/
> sudo cp /home/josh/.pyenv/versions/3.7.7/lib/python3.7/site-packages/autojump*.py /usr/lib/python3.9/site-packages/

That is, found where the autojump scripts lives, then found where the python site-packages lived, and copied the autojump scripts to both locations.

graysky commented on 2021-01-05 11:54

I think you just need to rebuild the package.

SkywalkerDarren commented on 2021-01-05 04:17

@joshm - Try to move autojump_argparse.py, autojump_data.py, autojump_match.py, autojump_utils.py from /usr/lib/python3.8/site-packages to /usr/lib/python3.9/site-packages

It's work.

joshm commented on 2020-12-11 13:58

Hello. autojump-22.5.3-7 appears to be broken (Manjaro). After installing, the instructions say to add this to .bashrc:

[[ -s /home/josh/.cache/pacaur/autojump/pkg/autojump/etc/profile.d/autojump.sh ]] && source /home/josh/.cache/pacaur/autojump/pkg/autojump/etc/profile.d/autojump.sh

But this file does not exist. I added the line anyway, and opened a new terminal. No errors, but when I try to autojump, I get this:

> autojump proj

Traceback (most recent call last):

File "/usr/bin/autojump", line 39, in <module>

from autojump_argparse import ArgumentParser

ModuleNotFoundError: No module named 'autojump_argparse'

Following this recommendation, I then open a new terminal and try autojump again and this time it appears to work, but does not actually change the directory:

> autojump proj

/home/josh/Projects

> pwd

/home/josh

Not sure what else to try.

graysky commented on 2020-12-02 11:51

@Jake - Nice! Thanks for the tip. See 22.5.3-7.

Jake commented on 2020-12-02 11:40

@graysky: Thanks for maintaining this! You don't need to hardcode the the python version (and make manual updates). Instead you can use this trick to get the site-packages path: https://wiki.archlinux.org/index.php/Python_package_guidelines#Using_site-packages

Used for example like this: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=searx

Also the depends should be set back to python>=3.3, like the project actually requires, just in case someone wants to stay on a old python and ignore updates.

graysky commented on 2020-12-02 11:15

@captn3m0 - Yes, fixed in 22.5.3-6

captn3m0 commented on 2020-12-02 07:45

Broken again with the Python 3.9 release. I did a clean rebuild using yay, and still get the same error. Changing 3.8 to 3.9 in the PKGBUILD fixes it for now.

Traceback (most recent call last):
  File "/usr/sbin/autojump", line 39, in <module>
    from autojump_argparse import ArgumentParser
ModuleNotFoundError: No module named 'autojump_argparse'
autojump: directory 'cal' not found
\n\n
Try `autojump --help` for more information.

graysky commented on 2019-12-22 08:05

@fzerof - Upstream is a bit of a mess, but on a headless system accessed only via ssh with the default set to /bin/zsh (Arch), I do not experience this.

fzerof commented on 2019-12-22 03:55

"/etc/profile" is invoked only for login shells. If I run an interactive shell, like zsh, I still encounter the error "https://github.com/joelthelion/autojump/pull/339". So I have to add "autojump.zsh" to .zshrc manually.

I use manjaro, i3, and zsh.