View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004358 | Taler | obsolete component | public | 2016-04-03 20:56 | 2016-04-06 00:26 |
| Reporter | Christian Grothoff | Assigned To | Marcello Stanisci | ||
| Priority | immediate | Severity | block | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | i7 | OS | Debian GNU/Linux | OS Version | squeeze |
| Product Version | 0.0 | ||||
| Target Version | 0.0 | ||||
| Summary | 0004358: taler-bank-manage --preaccounts fails hard | ||||
| Description | grothoff@spec:~/research/taler-bank$ taler-bank-manage --preaccounts Creating pre accounts... Traceback (most recent call last): File "manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/home/grothoff/share/talerbank/venv/lib/python3.5/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line utility.execute() File "/home/grothoff/share/talerbank/venv/lib/python3.5/site-packages/django/core/management/__init__.py", line 345, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/grothoff/share/talerbank/venv/lib/python3.5/site-packages/django/core/management/base.py", line 348, in run_from_argv self.execute(*args, **cmd_options) File "/home/grothoff/share/talerbank/venv/lib/python3.5/site-packages/django/core/management/base.py", line 399, in execute output = self.handle(*args, **options) File "/home/grothoff/share/talerbank/src/bank_app/management/commands/pre_accounts.py", line 48, in handle make_accounts() File "/home/grothoff/share/talerbank/src/bank_app/management/commands/pre_accounts.py", line 30, in make_accounts User.objects.get(u) File "/home/grothoff/share/talerbank/venv/lib/python3.5/site-packages/django/db/models/manager.py", line 122, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/home/grothoff/share/talerbank/venv/lib/python3.5/site-packages/django/db/models/query.py", line 378, in get clone = self.filter(*args, **kwargs) File "/home/grothoff/share/talerbank/venv/lib/python3.5/site-packages/django/db/models/query.py", line 790, in filter return self._filter_or_exclude(False, *args, **kwargs) File "/home/grothoff/share/talerbank/venv/lib/python3.5/site-packages/django/db/models/query.py", line 808, in _filter_or_exclude clone.query.add_q(Q(*args, **kwargs)) File "/home/grothoff/share/talerbank/venv/lib/python3.5/site-packages/django/db/models/sql/query.py", line 1243, in add_q clause, _ = self._add_q(q_object, self.used_aliases) File "/home/grothoff/share/talerbank/venv/lib/python3.5/site-packages/django/db/models/sql/query.py", line 1269, in _add_q allow_joins=allow_joins, split_subq=split_subq, File "/home/grothoff/share/talerbank/venv/lib/python3.5/site-packages/django/db/models/sql/query.py", line 1146, in build_filter arg, value = filter_expr ValueError: too many values to unpack (expected 2) grothoff@spec:~/research/taler-bank$ echo $PYTHON | ||||
| Steps To Reproduce | I installed the lastest bank, created the DB and the tables. Then I tried to initialize the accounts, and instead got the above error. | ||||
| Tags | No tags attached. | ||||
|
|
that should be due to some changes in the DB, in order to obtain the autoincrement feature when creating accounts.. |
|
|
should be fixed by 7cb4273..95d7b1d, although 0004355's fix fixed also this one |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-04-03 20:56 | Christian Grothoff | New Issue | |
| 2016-04-03 20:56 | Christian Grothoff | Status | new => assigned |
| 2016-04-03 20:56 | Christian Grothoff | Assigned To | => Marcello Stanisci |
| 2016-04-04 15:50 | Marcello Stanisci | Note Added: 0010366 | |
| 2016-04-05 14:40 | Marcello Stanisci | Note Added: 0010376 | |
| 2016-04-05 14:40 | Marcello Stanisci | Status | assigned => resolved |
| 2016-04-05 14:40 | Marcello Stanisci | Resolution | open => fixed |
| 2016-04-06 00:26 | Christian Grothoff | Status | resolved => closed |
| 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 |