- Exception in thread Thread-1 (run):
- Traceback (most recent call last):
- File "C:\Python\Lib\threading.py", line 1038, in _bootstrap_inner
- self.run()
- File "C:\Python\Lib\threading.py", line 975, in run
- self._target(*self._args, **self._kwargs)
- File "C:\Dev\LiSE\LiSE\LiSE\allegedb\query.py", line 126, in run
- self.sql = gather_sql(self.meta)
- ^^^^^^^^^^^^^^^^^^^^^
- File "C:\Dev\LiSE\LiSE\LiSE\query.py", line 872, in gather
- return gather_sql(meta)
- ^^^^^^^^^^^^^^^^
- File "C:\Dev\LiSE\LiSE\LiSE\alchemy.py", line 449, in gather_sql
- query = queries(table)
- ^^^^^^^^^^^^^^
- File "C:\Dev\LiSE\LiSE\LiSE\alchemy.py", line 356, in queries
- r = alchemy.queries_for_table_dict(table)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Dev\LiSE\LiSE\LiSE\allegedb\alchemy.py", line 216, in queries_for_table_dict
- select([table['global'].c.value
- File "C:\Python\Lib\site-packages\sqlalchemy\sql\_selectable_constructors.py", line 493, in select
- return Select(*entities)
- ^^^^^^^^^^^^^^^^^
- File "C:\Python\Lib\site-packages\sqlalchemy\sql\selectable.py", line 5160, in __init__
- self._raw_columns = [
- ^
- File "C:\Python\Lib\site-packages\sqlalchemy\sql\selectable.py", line 5161, in <listcomp>
- coercions.expect(
- File "C:\Python\Lib\site-packages\sqlalchemy\sql\coercions.py", line 413, in expect
- resolved = impl._literal_coercion(
- ^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Python\Lib\site-packages\sqlalchemy\sql\coercions.py", line 652, in _literal_coercion
- self._raise_for_expected(element, argname)
- File "C:\Python\Lib\site-packages\sqlalchemy\sql\coercions.py", line 1143, in _raise_for_expected
- return super()._raise_for_expected(
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Python\Lib\site-packages\sqlalchemy\sql\coercions.py", line 711, in _raise_for_expected
- super()._raise_for_expected(
- File "C:\Python\Lib\site-packages\sqlalchemy\sql\coercions.py", line 536, in _raise_for_expected
- raise exc.ArgumentError(msg, code=code) from err
- sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [Column('value', TEXT(), table=<global>)]. Did you mean to say select(Column('value', TEXT(), table=<global>))?
Undefined
By: Guest | Date: Feb 13 2023 05:15 | Format: None | Expires: never | Size: 2.3 KB | Hits: 213
Latest pastes
1 days ago
1 days ago
11 months ago
13 months ago
17 months ago