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

Dies on symlinks #8

Open
Blake- opened this issue Jan 4, 2015 · 0 comments
Open

Dies on symlinks #8

Blake- opened this issue Jan 4, 2015 · 0 comments

Comments

@Blake-
Copy link

Blake- commented Jan 4, 2015

In this case "/backup2/home.com.0/etc/squirrelmail/conf.pl" was a bad symlink

root@Linux:~# /root/NeoPI/neopi.py -A -a /backup2/home.com.0/

   )         (   (
( /(         )\ ))\ )
)\())  (    (()/(()/(

(()\ ))\ ( /())())
(()/((
))())())
| | ()) (() _ _ |
| .` / -
) _ \ /| |
|
|_/| || Ver. *.USEGIT

Traceback (most recent call last):
File "/root/NeoPI/neopi.py", line 449, in
for data, filename in locator.search_file_path(args, valid_regex):
File "/root/NeoPI/neopi.py", line 309, in search_file_path
if (valid_regex.search(file) and os.path.getsize(filename) > SMALLEST):
File "/usr/lib/python2.7/genericpath.py", line 49, in getsize
return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/backup2/home.com.0/etc/squirrelmail/conf.pl'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant