Skip to content
This repository has been archived by the owner on Apr 19, 2020. It is now read-only.

error when invoking program outside of git clone folder #50

Closed
ghost opened this issue May 24, 2016 · 2 comments
Closed

error when invoking program outside of git clone folder #50

ghost opened this issue May 24, 2016 · 2 comments
Labels

Comments

@ghost
Copy link

ghost commented May 24, 2016

~> sudo wifi-pumpkin
[sudo] password for REDACTED: 
Traceback (most recent call last):
  File "/usr/bin/wifi-pumpkin", line 31, in <module>
    check_dep_pumpkin()
  File "/home/REDACTED/Development/gitClones/WiFi-Pumpkin/Core/loaders/checker/check_depen.py", line 28, in check_dep_pumpkin
    copy('Settings/source.tar.gz','Templates/')
  File "/usr/lib/python2.7/shutil.py", line 119, in copy
    copyfile(src, dst)
  File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: 'Settings/source.tar.gz'
exit 1

changing "Settings/source.tar.gz" and "Templates/" in check_depen.py, line 28

copy('Settings/source.tar.gz','Templates/')

to absolute paths could be possible fix .

@mh4x0f
Copy link
Member

mh4x0f commented May 24, 2016

thank's for report :D

@ghost
Copy link
Author

ghost commented May 24, 2016

thank you! issue resolved!

@ghost ghost closed this as completed May 24, 2016
@mh4x0f mh4x0f added the fixed label May 29, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant