Closed proycon closed 5 years ago
Is new lamachine image available for pull now?
No, i stille have to verify the issue is fixed and all other tests pass and then end of the week I expect to be able to release the new flat and foliadocserve.
ok, many thanks. will keep an eye and the issue tracker and check back later.
I pushed a temporary development LaMachine to Docker Hub and can now reproduce a permission problem upon logging in:
Request Method: | POST
http://127.0.0.1:8080/flat/login/
OperationalError
attempt to write a readonly database
/usr/local/lib/python3.5/dist-packages/django/db/backends/sqlite3/base.py in execute, line 383
Perhaps this has the same underlying cause as the issue you got, I'll investigate further.
(Technically, this is a LaMachine issue rather than a FLAT issue)
After fixing the above, the original issue now duplicates for me as well. I get a HTTP 403 Editor submission failed: Permission denied, no write access
error.
The git problem only occurs one:
2019-04-29 22:52:23 - Triggering unload for pub/example [151.60838317871094s / 587698050]
2019-04-29 22:52:23 - Saving /usr/local/var/www-data/flat.docroot/pub/example.folia.xml -
2019-04-29 22:52:23 - Initialising git repository in /usr/local/var/www-data/flat.docroot/pub
2019-04-29 22:52:23 - Doing git commit for /usr/local/var/www-data/flat.docroot/pub/example.folia.xml --
2019-04-29 22:52:23 - ERROR during git add/commit of /usr/local/var/www-data/flat.docroot/pub/example.folia.xml in /usr/local/var/www-data/flat.docroot/pub
2019-04-29 22:52:23 - Unloading pub/example
2019-04-29 22:53:23 - Documents loaded: 0
Subsequent edit doesn't properly register, so this is an error in FLAT itself rather than foliadocserve.
2019-04-29 23:02:24 - Documents loaded: 0
2019-04-29 23:03:24 - Documents loaded: 0
2019-04-29 23:03:56 - Loading /usr/local/var/www-data/flat.docroot/pub/example.folia.xml
2019-04-29 23:03:56 - [QUERY ON pub/example] SELECT FOR ALL FORMAT flat
2019-04-29 23:03:56 - Creating session 827504264 for pub/example
2019-04-29 23:03:56 - [Parsing results for FLAT]
2019-04-29 23:04:01 - Poll from session 827504264 for pub/example
2019-04-29 23:04:06 - Poll from session 827504264 for pub/example
2019-04-29 23:04:11 - Poll from session 827504264 for pub/example
2019-04-29 23:04:16 - Poll from session 827504264 for pub/example
2019-04-29 23:04:21 - Poll from session 827504264 for pub/example
2019-04-29 23:04:24 - Documents loaded: 1
2019-04-29 23:05:24 - Documents loaded: 1
2019-04-29 23:06:24 - Documents loaded: 1
2019-04-29 23:06:24 - Triggering unload for pub/example [123.42170357704163s / 827504264]
2019-04-29 23:06:24 - Unloading pub/example
The other part of this issue, "document has no default XML namespace?" is already solved by the new foliapy.
Issue is now solved in the latest FLAT release, I'm preparing a new LaMachine release now.
@vicding-mi The new LaMachine release (2.6.0) containing the new FLAT (0.8.0) is available, also on docker hub. Please also check the FLAT release notes.
strange behaviour reported by @vicding-mi, needed for meertensinstituut/clariah-wp3-vre#4 to be taken into consideration for next release. Possible git issues.