Closed chewyf5 closed 11 years ago
good point, also see #38
jafeha: imo we should log the stacktrace to debug
you're right, we have to return the missing programm, i will have a look at that. right now we're logging to error and exception which would be ok for me.
here we go, that the problem:
[INFO::main]: Checking all Dependencies...
[ERROR::utils]: Missing Depedencies: dmg2img not installed, exiting...
[ERROR::utils]: Missing Depedencies: dmg2img not installed, exiting...
Traceback (most recent call last):
File "/home/jafeha/Dokumente/git/parabird/utils.py", line 184, in dependency_check
subprocess.check_call(checked_app, stdout=FNULL)
File "/usr/lib/python2.7/subprocess.py", line 506, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 493, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
[ERROR::main]: Dependency Checks failed large scale, exiting...
[ERROR::main]: Dependency Checks failed large scale, exiting...
Traceback (most recent call last):
File "parabird_build.py", line 96, in <module>
dependency_check("dmg2img")
File "/home/jafeha/Dokumente/git/parabird/utils.py", line 193, in dependency_check
sys.exit()
SystemExit
closed for the moment.
other ideas: (c&p from irc, so it's in german)
show up, which dependency/eis is/are missing and exit normally - now it shows a python stacktrace ;-)