This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/3975
osmodumpdoc: print called commands and OSError messages
Change-Id: Ib044cbb8a1b8e02cbe6852f785c75b5c7aae6174
---
M osmopy/osmodumpdoc.py
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests refs/changes/75/3975/1
diff --git a/osmopy/osmodumpdoc.py b/osmopy/osmodumpdoc.py
index 247fb84..4841bcc 100644
--- a/osmopy/osmodumpdoc.py
+++ b/osmopy/osmodumpdoc.py
@@ -42,9 +42,11 @@
print "Starting app for %s" % appname
proc = None
cmd = [app[1], "-c", os.path.join(confpath, configs[appname][0])]
+ print 'cd', os.path.abspath(os.path.curdir), ';', ' '.join(cmd)
try:
proc = subprocess.Popen(cmd, stdin=None, stdout=None)
- except OSError: # Probably a missing binary
+ except OSError as e: # Probably a missing binary
+ print >> sys.stderr, e
print >> sys.stderr, "Skipping app %s" % appname
failures += 1
else:
--
To view, visit https://gerrit.osmocom.org/3975
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib044cbb8a1b8e02cbe6852f785c75b5c7aae6174
Gerrit-PatchSet: 1
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>