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

Crash -> IndexError: list index out of range #90

Open
zDEFz opened this issue Feb 16, 2023 · 0 comments
Open

Crash -> IndexError: list index out of range #90

zDEFz opened this issue Feb 16, 2023 · 0 comments

Comments

@zDEFz
Copy link

zDEFz commented Feb 16, 2023

Trying to pass the following directories to ignore:
bin/ boot/ build/ dev/ etc/ home/ lib/ lib64/ mnt/XXX/ mnt/unused/ mnt/tmp/ mnt/sdv/ mnt/secret-device/ mnt/musiclib/ mnt/nmve5n1p1/ mnt/2tb-ssd-offload/ mnt/ext-unknown/ mnt/2tb1/ mnt/2tb1b/ opt/ proc/ root/ run/ sbin/ scripts/ srv/ sys/ tmp/ usr/ var/

Upon trying to apply...

 angrysearch 
Ignoring directory: /bin
Ignoring directory: /boot
Ignoring directory: /build
Ignoring directory: /dev
Ignoring directory: /etc
Ignoring directory: /home
Ignoring directory: /lib
Ignoring directory: /lib64
Ignoring directory: /opt
Ignoring directory: /root
Ignoring directory: /run
Ignoring directory: /sbin
Ignoring directory: /scripts
Ignoring directory: /srv
Ignoring directory: /sys
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/angrysearch.py", line 247, in run
    self.crawling_drives()
  File "/usr/lib/python3.10/site-packages/angrysearch.py", line 282, in crawling_drives
    dirs[:] = self.remove_excluded_dirs(dirs, root, self.prep_excluded)
  File "/usr/lib/python3.10/site-packages/angrysearch.py", line 409, in remove_excluded_dirs
    if y[-1] == z['up']:
IndexError: list index out of range
[1]    409993 IOT instruction (core dumped)  angrysearch
@zDEFz zDEFz changed the title IndexError: list index out of range Crash IndexError: list index out of range Feb 16, 2023
@zDEFz zDEFz changed the title Crash IndexError: list index out of range Crash -> IndexError: list index out of range Feb 16, 2023
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