eScriptorium issueshttps://gitlab.inria.fr/scripta/escriptorium/-/issues2020-03-18T14:50:10+01:00https://gitlab.inria.fr/scripta/escriptorium/-/issues/208stubborn line creation2020-03-18T14:50:10+01:00daniel stoeklstubborn line creationVery strange: On some pages I cannot create a new line. It shows, but if I go to next or previous page it is vanished.Very strange: On some pages I cannot create a new line. It shows, but if I go to next or previous page it is vanished.https://gitlab.inria.fr/scripta/escriptorium/-/issues/207next page shortcut not working2020-03-18T14:50:03+01:00daniel stoeklnext page shortcut not workingfrequently the page down, page up shortcut does not work. Ctrl left arrow or right arrow never worked on my configuration.frequently the page down, page up shortcut does not work. Ctrl left arrow or right arrow never worked on my configuration.https://gitlab.inria.fr/scripta/escriptorium/-/issues/205inresponsive toggle buttons2020-03-06T09:55:35+01:00daniel stoeklinresponsive toggle buttonsI turned on the masks, corrected some polygons and the buttons on the top (![image](/uploads/8637d64682c337ca5a8caec445c67dcc/image.png)) became irresponsive. This is the second time it happened to me.I turned on the masks, corrected some polygons and the buttons on the top (![image](/uploads/8637d64682c337ca5a8caec445c67dcc/image.png)) became irresponsive. This is the second time it happened to me.https://gitlab.inria.fr/scripta/escriptorium/-/issues/204masks are not activated anymore when going to previous/next page2020-03-09T13:41:33+01:00daniel stoeklmasks are not activated anymore when going to previous/next pageIf one toggles the masks on and then goes to the next page, the masks on the next page are not "turned on" / activated anymore. One has to declick mask, click mask again and then they are visible.If one toggles the masks on and then goes to the next page, the masks on the next page are not "turned on" / activated anymore. One has to declick mask, click mask again and then they are visible.https://gitlab.inria.fr/scripta/escriptorium/-/issues/203Transcription crash2020-03-27T20:43:37+01:00Robin TissotTranscription crash> File "/usr/src/app/apps/core/tasks.py" in transcribe
> 529. part.transcribe(model=model)
>
> File "/usr/src/app/apps/core/models.py" in transcribe
> 633. for pred in it:
>
> File "/usr/local/lib/python...> File "/usr/src/app/apps/core/tasks.py" in transcribe
> 529. part.transcribe(model=model)
>
> File "/usr/src/app/apps/core/models.py" in transcribe
> 633. for pred in it:
>
> File "/usr/local/lib/python3.7/site-packages/kraken/rpred.py" in __next__
> 333. o = self.next_iter(bound)
>
> File "/usr/local/lib/python3.7/site-packages/kraken/rpred.py" in _recognize_baseline_line
> 287. box, coords = next(extract_polygons(self.im, line))
>
> File "/usr/local/lib/python3.7/site-packages/kraken/lib/segmentation.py" in extract_polygons
> 705. c_min, c_max = int(pl[:,0].min()), int(pl[:,0].max())
>
> Exception Type: IndexError
> Exception Value: too many indices for array
> Request data not supplied
@bkiessli any idea?https://gitlab.inria.fr/scripta/escriptorium/-/issues/202bidirectional characters at end of lines in RTL texts at wrong end2020-03-09T13:41:48+01:00daniel stoeklbidirectional characters at end of lines in RTL texts at wrong endThe apostroph should have been at the left end not the beginning of the line
![image](/uploads/41f908e2c3455150ec72c51e68655388/image.png)
We have had this earlier. Guess a vue.js issue.The apostroph should have been at the left end not the beginning of the line
![image](/uploads/41f908e2c3455150ec72c51e68655388/image.png)
We have had this earlier. Guess a vue.js issue.https://gitlab.inria.fr/scripta/escriptorium/-/issues/201cannot turn on scissors anymore2020-03-06T09:55:42+01:00daniel stoeklcannot turn on scissors anymorehttps://gitlab.inria.fr/scripta/escriptorium/-/issues/197repolygonisation error2020-03-04T10:39:43+01:00daniel stoeklrepolygonisation errorRepolygonisation does not work. It opens an "object:" warning and then breaks the system with a 504 error. This seems to me an urgent error to fix before Monday. If possible create another instance of this button next to the segment butt...Repolygonisation does not work. It opens an "object:" warning and then breaks the system with a 504 error. This seems to me an urgent error to fix before Monday. If possible create another instance of this button next to the segment button to be able to apply repolygonisation to a selection of pages.
I think it should be possible to repolygonize only a specific line to save calculation costs.https://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/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/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 Benjamin