eScriptorium issueshttps://gitlab.inria.fr/scripta/escriptorium/-/issues2020-03-27T20:43:47+01:00https://gitlab.inria.fr/scripta/escriptorium/-/issues/196training error2020-03-27T20:43:47+01:00daniel stoekltraining errorTraining stops unexpectedly on
document/328
(regular kraken model)Training stops unexpectedly on
document/328
(regular kraken model)https://gitlab.inria.fr/scripta/escriptorium/-/issues/195vanishing text after import2020-03-04T16:09:40+01:00daniel stoeklvanishing text after importSome text vanishes on the transcription panel even though it seems to be in the database, here document/328/
Go to element 7 for example. On my screen, I see that first all lines of the 6 columns are filled with text but a millisecond af...Some text vanishes on the transcription panel even though it seems to be in the database, here document/328/
Go to element 7 for example. On my screen, I see that first all lines of the 6 columns are filled with text but a millisecond afterwards only some of them are filled. All others are empty. The segmentation is there, but not the transcription. Here is the xml_import for this image.[PNX_MANUSCRIPTS000041854-1_IE14959541_FL15993913_rewrite.xml](/uploads/610c93b789660a12cac6595647fa4bb1/PNX_MANUSCRIPTS000041854-1_IE14959541_FL15993913_rewrite.xml)https://gitlab.inria.fr/scripta/escriptorium/-/issues/192escriptorium does not generate valid alto and page xml files2020-03-18T17:28:15+01:00Ghost Userescriptorium does not generate valid alto and page xml filesUsing the `feature/regions` branch
Alto
```
wget http://www.loc.gov/standards/alto/v4/alto.xsd
xmllint --noout --schema alto-4-0.xsd escriptorium_alto.xml
# element TextLine: Schemas validity error
# fails to validate
```
Page
```
wget...Using the `feature/regions` branch
Alto
```
wget http://www.loc.gov/standards/alto/v4/alto.xsd
xmllint --noout --schema alto-4-0.xsd escriptorium_alto.xml
# element TextLine: Schemas validity error
# fails to validate
```
Page
```
wget https://www.primaresearch.org/schema/PAGE/gts/pagecontent/2018-07-15/pagecontent.xsd
xmllint --noout --schema pagecontent.xsd escriptorium_page.xml
# element TextLine: Schemas validity error
# fails to validate
```
Sample files
[images.zip](/uploads/e867c692a69f9c159f04a5501b5ecab7/images.zip)
[alto.zip](/uploads/b89f57e8c10eaec6bc04612d0933aab3/alto.zip)
[page.zip](/uploads/eb823ce1713408a82798484d517f1426/page.zip)https://gitlab.inria.fr/scripta/escriptorium/-/issues/191":" missing in asynchronous export2020-03-02T16:25:27+01:00daniel stoekl":" missing in asynchronous exportThere is a ":" missing after http in the link emailed in asynchronous export.
We also need a url with a name and an https protocolThere is a ":" missing after http in the link emailed in asynchronous export.
We also need a url with a name and an https protocolhttps://gitlab.inria.fr/scripta/escriptorium/-/issues/190cutting polygon error2020-03-02T11:38:23+01:00daniel stoeklcutting polygon errorIf delete the left part of a line (on an RTL document), the baseline is cut correctly, but the polygon preserved is exactly the wrong left part, instead of the right part.
![image](/uploads/2e1ba8cfc7d5bd4ebee6724b30f5c2dc/image.png)If delete the left part of a line (on an RTL document), the baseline is cut correctly, but the polygon preserved is exactly the wrong left part, instead of the right part.
![image](/uploads/2e1ba8cfc7d5bd4ebee6724b30f5c2dc/image.png)https://gitlab.inria.fr/scripta/escriptorium/-/issues/189weird error 5002020-03-23T12:53:20+01:00Robin Tissotweird error 500```
Internal Server Error: /document/create/
AttributeError at /document/create/
'CreateDocument' object has no attribute 'object'
Request Method: POST
Request URL: http://ns342141.ip-5-196-76.eu/document/create/
Django Version: 2.1.4
...```
Internal Server Error: /document/create/
AttributeError at /document/create/
'CreateDocument' object has no attribute 'object'
Request Method: POST
Request URL: http://ns342141.ip-5-196-76.eu/document/create/
Django Version: 2.1.4
Python Executable: /usr/local/bin/uwsgi
Python Version: 3.7.5
Python Path: ['/usr/src/app', '.', '', '/usr/local/lib/python37.zip', '/usr/local/lib/python3.7', '/usr/local/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7/site-packages', '/usr/src/app/apps']
Server time: Wed, 19 Feb 2020 10:43:25 +0000
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sites',
'django.forms',
'django_cleanup',
'ordered_model',
'easy_thumbnails',
'easy_thumbnails.optimize',
'channels',
'rest_framework',
'compressor',
'bootstrap',
'versioning',
'users',
'core',
'imports']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']
Traceback:
File "/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
126. response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
124. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.7/site-packages/django/views/generic/base.py" in view
68. return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/django/contrib/auth/mixins.py" in dispatch
52. return super().dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/django/views/generic/base.py" in dispatch
88. return handler(request, *args, **kwargs)
File "/usr/src/app/apps/core/views.py" in post
72. return self.form_invalid(form)
File "/usr/local/lib/python3.7/site-packages/django/views/generic/edit.py" in form_invalid
61. return self.render_to_response(self.get_context_data(form=form))
File "/usr/src/app/apps/core/views.py" in get_context_data
62. context = super().get_context_data(**kwargs)
File "/usr/local/lib/python3.7/site-packages/django/views/generic/edit.py" in get_context_data
67. return super().get_context_data(**kwargs)
File "/usr/local/lib/python3.7/site-packages/django/views/generic/detail.py" in get_context_data
94. if self.object:
Exception Type: AttributeError at /document/create/
Exception Value: 'CreateDocument' object has no attribute 'object'
Request information:
USER: MaThMill
```https://gitlab.inria.fr/scripta/escriptorium/-/issues/187lasso select points2020-02-18T12:56:30+01:00daniel stoekllasso select pointsLasso select selects points of lines according to the boundingbox of the boundary line rather than the points of the baseline. I mean, if I want to select points of two adjacent oversegmented lines, it too easily selects also all points ...Lasso select selects points of lines according to the boundingbox of the boundary line rather than the points of the baseline. I mean, if I want to select points of two adjacent oversegmented lines, it too easily selects also all points of the baseline below as soon as my selection box enters the area of the bounding box of the line below. So merging becomes rather difficult.
![image](/uploads/f7dfcce175666cc704f4c6b7a3efc5d3/image.png)https://gitlab.inria.fr/scripta/escriptorium/-/issues/186Catch old models error and display it nicely2021-02-02T11:21:24+01:00Robin TissotCatch old models error and display it nicely```
Traceback:
File "/usr/src/app/apps/core/tasks.py" in transcribe
525. part.transcribe(model=model)
File "/usr/src/app/apps/core/models.py" in transcribe
590. model_ = kraken_models.load_any(model.file.path)
...```
Traceback:
File "/usr/src/app/apps/core/tasks.py" in transcribe
525. part.transcribe(model=model)
File "/usr/src/app/apps/core/models.py" in transcribe
590. model_ = kraken_models.load_any(model.file.path)
File "/usr/local/lib/python3.7/site-packages/kraken/lib/models.py" in load_any
157. seq = TorchSeqRecognizer(nn, train=train, device=device)
File "/usr/local/lib/python3.7/site-packages/kraken/lib/models.py" in __init__
52. if nn.model_type not in [None, 'recognition']:
File "/usr/local/lib/python3.7/site-packages/kraken/lib/vgsl.py" in model_type
471. return self.user_metadata['model_type']
Exception Type: KeyError
Exception Value: 'model_type'
Request data not supplied
```https://gitlab.inria.fr/scripta/escriptorium/-/issues/185ghostline2020-03-06T09:58:21+01:00daniel stoeklghostlineDocument 314, page 6 line 6 exists but is not displayed in the transcription panel. If one hovers with the mouse over the transcription panel where it should be it highlights on the image. If one clicks, the line transcription panel disp...Document 314, page 6 line 6 exists but is not displayed in the transcription panel. If one hovers with the mouse over the transcription panel where it should be it highlights on the image. If one clicks, the line transcription panel displays it, but not the display panel of the whole page.
![image](/uploads/e6f74e1c4d975766d2f7c89507b741bc/image.png)
![image](/uploads/c4f697a21bf099a4a260f2fb1fa94886/image.png)https://gitlab.inria.fr/scripta/escriptorium/-/issues/184yellow line beginning circle with line number too small2020-02-13T00:40:49+01:00daniel stoeklyellow line beginning circle with line number too smallsince most recent redeploy (if there was one since Monday)since most recent redeploy (if there was one since Monday)https://gitlab.inria.fr/scripta/escriptorium/-/issues/181merge vertical lines needs recalculation2020-03-16T13:38:26+01:00daniel stoeklmerge vertical lines needs recalculationWhen merging two vertical lines, the dots are aligned to a new line sometimes in quite crazy orders.When merging two vertical lines, the dots are aligned to a new line sometimes in quite crazy orders.https://gitlab.inria.fr/scripta/escriptorium/-/issues/180500 on export2020-02-25T11:04:19+01:00daniel stoekl500 on exportI get a 500 on exporting even partially document/68. Is this because it follows the old boundingboxes?I get a 500 on exporting even partially document/68. Is this because it follows the old boundingboxes?https://gitlab.inria.fr/scripta/escriptorium/-/issues/179error on training2020-03-04T16:10:58+01:00daniel stoeklerror on trainingI tried to train on the first 140 pages of document 257 on bw images, but it gave me an error after about 10 minutes.I tried to train on the first 140 pages of document 257 on bw images, but it gave me an error after about 10 minutes.https://gitlab.inria.fr/scripta/escriptorium/-/issues/178crazily complex boundary polygon2020-03-09T13:42:23+01:00daniel stoeklcrazily complex boundary polygonJust got excellent results for the main lines of K, but for some interlinear comments I get truly crazily complex boundary polygons, i.e.
![image](/uploads/b4dc0fefca4ca8fe4b827cd5e9000757/image.png)
or
![image](/uploads/3289c97e9e0e9b...Just got excellent results for the main lines of K, but for some interlinear comments I get truly crazily complex boundary polygons, i.e.
![image](/uploads/b4dc0fefca4ca8fe4b827cd5e9000757/image.png)
or
![image](/uploads/3289c97e9e0e9b7587ed978c147ad0e1/image.png)
I will upload the images also to the zoo.KIESSLING BenjaminKIESSLING Benjaminhttps://gitlab.inria.fr/scripta/escriptorium/-/issues/177line segmentation error leaves page unsegmented2020-02-12T10:34:39+01:00daniel stoeklline segmentation error leaves page unsegmentedI will add a couple of images where the line segmentation sends back an error with the standard Hebrew model to document 306. Feature request: It would be VERY good to show such error pages with a YELLOW instead of GREEN line segmentatio...I will add a couple of images where the line segmentation sends back an error with the standard Hebrew model to document 306. Feature request: It would be VERY good to show such error pages with a YELLOW instead of GREEN line segmentation button in the image wheel to locate them quickly, because the red error box does not give the element number.https://gitlab.inria.fr/scripta/escriptorium/-/issues/176delete point button vanishes2020-02-17T22:56:56+01:00daniel stoekldelete point button vanishesCurrently, if one selects a point, the yellow delete point button vanishes. Only the red one stays. If one selects the whole line, the yellow button reappears.Currently, if one selects a point, the yellow delete point button vanishes. Only the red one stays. If one selects the whole line, the yellow button reappears.https://gitlab.inria.fr/scripta/escriptorium/-/issues/175undo replaces baseline by polygon2020-02-07T09:56:14+01:00daniel stoeklundo replaces baseline by polygonThis is a funny one. I put it in the zoo on the third page. But I am not sure it can be reproduced.This is a funny one. I put it in the zoo on the third page. But I am not sure it can be reproduced.https://gitlab.inria.fr/scripta/escriptorium/-/issues/174line segmentation forth and back2020-02-07T09:59:10+01:00daniel stoeklline segmentation forth and backI have encountered several lines where the line segmentation goes into one direction and then backwardsI have encountered several lines where the line segmentation goes into one direction and then backwardshttps://gitlab.inria.fr/scripta/escriptorium/-/issues/173doesnt go to next image2020-02-07T09:40:42+01:00daniel stoekldoesnt go to next imageWhen I change sthg in the layout segmentation in this document, either the left arrow button for going to the next page becomes irresponsive or the blue lines and yellow circles of the next page become minuscule
document/113/part/7613/edit/When I change sthg in the layout segmentation in this document, either the left arrow button for going to the next page becomes irresponsive or the blue lines and yellow circles of the next page become minuscule
document/113/part/7613/edit/https://gitlab.inria.fr/scripta/escriptorium/-/issues/171Cancel segmentation with override does delete lines anyway2020-02-12T10:33:50+01:00Robin TissotCancel segmentation with override does delete lines anywaydelete the lines in the transaction.delete the lines in the transaction.