View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004421 | Taler | obsolete component | public | 2016-04-15 15:56 | 2016-04-15 16:44 |
| Reporter | Christian Grothoff | Assigned To | Florian Dold | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | i7 | OS | Debian GNU/Linux | OS Version | squeeze |
| Product Version | 0.0 | ||||
| Target Version | 0.0 | Fixed in Version | 0.0 | ||
| Summary | 0004421: taler-bank-manage crashes on -h | ||||
| Description | $ taler-bank-manage -h 2016-04-15 15:53:50,116 settings INFO secret key not configured in TALER_BANK_SECRET_KEY env variable, generating random secret Traceback (most recent call last): File "/home/grothoff/bin/taler-bank-manage", line 21, in <module> django.setup() File "/usr/lib/python3/dist-packages/django/__init__.py", line 17, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 55, in __getattr__ self._setup(name) File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 43, in _setup self._wrapped = Settings(settings_module) File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 99, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 986, in _gcd_import File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 662, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "/home/grothoff/lib/python3.5/site-packages/talerbank/settings.py", line 140, in <module> curr = tc.get_string("bank", "currency") File "/home/grothoff/lib/python3.5/site-packages/talerbank/talerconfig.py", line 53, in get_string r, v = self._run(*args) File "/home/grothoff/lib/python3.5/site-packages/talerbank/talerconfig.py", line 43, in _run p = subprocess.Popen([cmd] + list(args), stdout=subprocess.PIPE) File "/usr/lib/python3.5/subprocess.py", line 947, in __init__ restore_signals, start_new_session) File "/usr/lib/python3.5/subprocess.py", line 1541, in _execute_child raise child_exception_type(errno_num, err_msg) FileNotFoundError: [Errno 2] No such file or directory: 'taler-config' | ||||
| Tags | No tags attached. | ||||
|
|
(this was without a recent exchange installation; still, it must never crash like this.) |
|
|
This just means that you need to update your exchange. The taler-config executable is not on your $PATH. Django now uses taler-config to read settings. Eventually we should use either a Python parser or ctypes to do it, but for now it works I guess. I've added a better error message though ... |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-04-15 15:56 | Christian Grothoff | New Issue | |
| 2016-04-15 15:56 | Christian Grothoff | Status | new => assigned |
| 2016-04-15 15:56 | Christian Grothoff | Assigned To | => Florian Dold |
| 2016-04-15 15:56 | Christian Grothoff | Note Added: 0010479 | |
| 2016-04-15 16:02 | Florian Dold | Note Added: 0010481 | |
| 2016-04-15 16:02 | Florian Dold | Status | assigned => resolved |
| 2016-04-15 16:02 | Florian Dold | Resolution | open => no change required |
| 2016-04-15 16:44 | Christian Grothoff | Status | resolved => closed |
| 2016-04-15 16:44 | Christian Grothoff | Fixed in Version | => 0.0 |
| 2022-08-23 20:26 | Christian Grothoff | Category | bank (demonstrator) => py bank (demonstrator, obsolete) |
| 2023-12-03 01:23 | Christian Grothoff | Category | py bank (demonstrator, obsolete) => obsolete componet |
| 2023-12-11 20:08 | Florian Dold | Category | obsolete componet => obsolete component |