On 2017/01/06 10:23, Sebastien Marie wrote:
> Hi,
>
> After an update of packages (pkg_add -u) urlwatch breaks at runtime with
> the following exception:
>
> $ urlwatch
> Traceback (most recent call last):
> File "/usr/local/bin/urlwatch", line 101, in <module>
> urlwatch_command.run()
> File "/usr/local/lib/python3.6/site-packages/urlwatch/command.py", line
> 167, in run
> self.urlwatcher.close()
> File "/usr/local/lib/python3.6/site-packages/urlwatch/main.py", line 97, in
> close
> self.cache_storage.close()
> File "/usr/local/lib/python3.6/site-packages/urlwatch/storage.py", line
> 465, in close
> self.db.close()
> File "/usr/local/lib/python3.6/site-packages/minidb.py", line 170, in close
> self._execute('VACUUM')
> File "/usr/local/lib/python3.6/site-packages/minidb.py", line 153, in
> _execute
> return self.db.execute(sql)
> sqlite3.OperationalError: cannot VACUUM from within a transaction
>
> Does the switch of MODPY_DEFAULT_VERSION_3 from 3.4 to 3.6 changed
> something related to sqlite3 ?
>
> My host is amd64 with -current. (note that some parts of the port tree aren't
> updated due to libssl version changes : my system base isn't up-to-date
> regarding latest libssl&co bumps).
I can confirm this is also a problem with base + ports all updated.