irc.libera.chat #tryton log beginning Wed Sep 1 12:00:01 AM CEST 2021 | ||
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 04:44 | |
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 06:15 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:06 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 07:06 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 07:06 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 08:00 | |
-!- nicoe(~nicoe@2a02:2788:54:1ff:18c2:1aff:fef9:2b7f) has joined #tryton | 08:24 | |
-!- udono(~udono@068-137-067-156.ip-addr.inexio.net) has joined #tryton | 08:37 | |
-!- udono1(~udono@068-137-067-156.ip-addr.inexio.net) has joined #tryton | 09:08 | |
-!- nicoe(~nicoe@host-82-212-178-227.dynamic.voo.be) has joined #tryton | 09:08 | |
-!- catonano(~catonano@151.50.177.254) has joined #tryton | 10:30 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 11:59 | |
-!- barns(~barns@102.222.12.22) has joined #tryton | 12:19 | |
barns | Hi, quick question. I've not used tryton in quite a while (few years) but now have a need for a small project. I'm trying to set it up on a box that has Python 3.6.9 (which might be an issue?) but I'm running into a sqlite3.OperationalError when trying to initialise a database. Could this have something to do with the Python version or am I doing | 12:21 |
---|---|---|
barns | something else wrong. | 12:21 |
barns | -> trytond-admin -v -c test.conf -d test --all | 12:26 |
barns | Traceback (most recent call last): | 12:26 |
barns | File "/home/redacted/tryton/venv/bin/trytond-admin", line 23, in <module> | 12:26 |
barns | admin.run(options) | 12:26 |
barns | File "/home/redacted/tryton/venv/lib/python3.6/site-packages/trytond/admin.py", line 31, in run | 12:26 |
barns | database.init() | 12:26 |
barns | File "/home/redacted/tryton/venv/lib/python3.6/site-packages/trytond/backend/sqlite/database.py", line 518, in init | 12:26 |
barns | cursor.execute(*insert) | 12:26 |
barns | sqlite3.OperationalError: near "AS": syntax error | 12:26 |
barns | this is the specific error | 12:26 |
pokoli | barns: which tryton version are you using' | 12:44 |
barns | its a fresh install from pypi | 12:44 |
barns | so 6.0.5 | 12:45 |
pokoli | barns: our test suite is working correctly on 6.0 series using sqlite: https://drone.tryton.org/tryton/trytond/775/10 | 12:45 |
pokoli | barns: maybe you are using an outdated sqlite version | 12:45 |
barns | the installed sqlite binary seems to be 3.22.0 on this machine, does the python sqlite module use the system sqlite? | 12:47 |
barns | I've never really thought about it | 12:47 |
barns | its certainly quite a number of point releases behind, but is the latest available on Ubuntu 18.04 which is what this machine is | 12:48 |
-!- catonano(~catonano@151.50.177.254) has joined #tryton | 14:07 | |
cedk | FYI the problem come from this feature https://python-sql.tryton.org/bug71 | 14:49 |
cedk | which is only available on recent sqlite version | 14:49 |
cedk | but it is difficult to know when something was added to SQLite | 14:52 |
cedk | any way SQLite is only used for testing | 14:52 |
-!- catonano(~catonano@151.50.177.254) has joined #tryton | 14:58 | |
-!- catonano(~catonano@151.50.177.254) has joined #tryton | 15:14 | |
-!- catonano(~catonano@151.50.177.254) has joined #tryton | 15:39 | |
-!- catonano(~catonano@151.50.177.254) has joined #tryton | 15:44 | |
-!- catonano(~catonano@151.50.177.254) has joined #tryton | 15:45 | |
-!- catonano(~catonano@151.50.177.254) has joined #tryton | 16:12 | |
-!- catonano(~catonano@151.50.177.254) has joined #tryton | 21:08 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!