Closed jojoo- closed 11 years ago
i'm having some problems with this merge. utils.py is broken for me:
jakobh@think:~/Dokumente/git/parabird$ sudo python parabird_build.py
Traceback (most recent call last):
File "parabird_build.py", line 10, in <module>
from utils import *
File "/home/jakobh/Dokumente/git/parabird/utils.py", line 30, in <module>
parser.set('DEFAULT', 'tmpdir', tempdir)
NameError: name 'parser' is not defined
i tried moving it at the end of parser, didn't solve it for me. moving the whole section fails because tempdir must be defined at the beginning. but even if i move everything back except the parser.set argument, the script fails immediately:
jakobh@think:~/Dokumente/git/parabird$ sudo python parabird_build.py
[INFO::utils]: Logfile: /tmp/tmpnKKEv_/parabirdy_log.txt
Traceback (most recent call last):
File "parabird_build.py", line 10, in <module>
from utils import *
File "/home/jakobh/Dokumente/git/parabird/utils.py", line 231, in <module>
parser.set('DEFAULT', 'tmpdir', tempdir)
AttributeError: 'ArgumentParser' object has no attribute 'set'
any easy fix for this?
i made some heavy adjustments. see my files, maybe the pull requests is updated as well?
fixed some typos on the way as well
to implement it we just have to overwrite the download function
and of course put some logic around that, but for debugging youre good to go.
of course u need ~/.parbirdy/cache/ filled