Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last): +
- File "./app/error_logs/errorlogger.py", line 49, in wrapper +
- ret = f(*args, **kwargs) +
- File "./app/auth/users.py", line 275, in decorated_function +
- return f(*args, **kwargs) +
- File "./app/auth/users.py", line 519, in decorated_function +
- return f(*args, user=user, **kwargs) +
- File "./app/harmonogram/routings.py", line 46, in decorator +
- return f(*args, **kwargs) +
- File "./app/editing_sessions/routings.py", line 139, in sesja_edycyjna_zapis +
- data, code = sesja_edycyjna_zapis_func(id, user, request.args.get('async') == 'true') +
- File "./app/editing_sessions/routings.py", line 173, in sesja_edycyjna_zapis_func +
- bledy_json = waliduj_i_publikuj_sesje_edycyjna(**kwargs) +
- File "./app/editing_sessions/akcje/publikuj.py", line 34, in waliduj_i_publikuj_sesje_edycyjna +
- status='Raport walidacyjny', +
- File "/home/pit2/pit2/UKE.PIT.GIS/backend/.venv/local/lib/python2.7/site-packages/peewee.py", line 5531, in create +
- inst.save(force_insert=True) +
- File "./app/db/general.py", line 107, in save +
- super(BaseModel, self).save(force_insert=force_insert, only=only) +
- File "/home/pit2/pit2/UKE.PIT.GIS/backend/.venv/local/lib/python2.7/site-packages/peewee.py", line 5678, in save +
- pk_from_cursor = self.insert(**field_dict).execute() +
- File "/home/pit2/pit2/UKE.PIT.GIS/backend/.venv/local/lib/python2.7/site-packages/peewee.py", line 1604, in inner +
- return method(self, database, *args, **kwargs) +
- File "/home/pit2/pit2/UKE.PIT.GIS/backend/.venv/local/lib/python2.7/site-packages/peewee.py", line 1675, in execute +
- return self._execute(database) +
- File "/home/pit2/pit2/UKE.PIT.GIS/backend/.venv/local/lib/python2.7/site-packages/peewee.py", line 2331, in _execute +
- return super(Insert, self)._execute(database) +
- File "/home/pit2/pit2/UKE.PIT.GIS/backend/.venv/local/lib/python2.7/site-packages/peewee.py", line 2095, in _execute +
- cursor = self.execute_returning(database) +
- File "/home/pit2/pit2/UKE.PIT.GIS/backend/.venv/local/lib/python2.7/site-packages/peewee.py", line 2102, in execute_returning +
- cursor = database.execute(self) +
- File "/home/pit2/pit2/UKE.PIT.GIS/backend/.venv/local/lib/python2.7/site-packages/playhouse/postgres_ext.py", line 451, in execute+
- cursor = self.execute_sql(sql, params, commit=commit) +
- File "/home/pit2/pit2/UKE.PIT.GIS/backend/.venv/local/lib/python2.7/site-packages/peewee.py", line 2690, in execute_sql +
- self.commit() +
- File "/home/pit2/pit2/UKE.PIT.GIS/backend/.venv/local/lib/python2.7/site-packages/peewee.py", line 2481, in __exit__ +
- reraise(new_type, new_type(*exc_args), traceback) +
- File "/home/pit2/pit2/UKE.PIT.GIS/backend/.venv/local/lib/python2.7/site-packages/peewee.py", line 2683, in execute_sql +
- cursor.execute(sql, params or ()) +
- ProgrammingError: column "id" does not exist +
- LINE 1: ...("zasilenie_masowe_id", "status", "data") VALUES ("id", 'Rap... +
- ^ +
- HINT: There is a column named "id" in table "historia_zasilenia", but it cannot be referenced from this part of the query.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement