eScriptorium issueshttps://gitlab.inria.fr/scripta/escriptorium/-/issues2020-07-07T13:05:04+02:00https://gitlab.inria.fr/scripta/escriptorium/-/issues/80Can edit a part without permissions2020-07-07T13:05:04+02:00Robin TissotCan edit a part without permissionscan see http://ns342141.ip-5-196-76.eu/document/70/part/5244/edit/ even though the document wasn't shared with me.can see http://ns342141.ip-5-196-76.eu/document/70/part/5244/edit/ even though the document wasn't shared with me.https://gitlab.inria.fr/scripta/escriptorium/-/issues/79no export for regions only2019-05-15T13:45:50+02:00STOKL BEN EZRA Danielno export for regions onlyI imported regions to http://ns342141.ip-5-196-76.eu/document/66 with altoXML import.
I then corrected the coordinates.Worked nicely (have some ideas for ergonomics, but is already really functional).
BUT THEN: the export is empty (prob...I imported regions to http://ns342141.ip-5-196-76.eu/document/66 with altoXML import.
I then corrected the coordinates.Worked nicely (have some ideas for ergonomics, but is already really functional).
BUT THEN: the export is empty (probably focusing on lines, and when there are no lines, there are also no regions...
See below for file-content:
[export-parma_3173-2019-05-12T17_37.xml](/uploads/041195e67e989e696525e35e26d40d64/export-parma_3173-2019-05-12T17_37.xml)https://gitlab.inria.fr/scripta/escriptorium/-/issues/73Minor edit bugs2019-05-09T17:03:32+02:00Robin TissotMinor edit bugs* transcription panel doesn't initialize properly if it starts hidden
* transcription input shadows gets really big when scaled
* transcription input min/max height seems to not work anymore (the input can get very thin or very tall)
* t...* transcription panel doesn't initialize properly if it starts hidden
* transcription input shadows gets really big when scaled
* transcription input min/max height seems to not work anymore (the input can get very thin or very tall)
* transcription input has a margin that makes the text not aligned to the img anymore
* input content doesn't scale right at first in the panel, closing/opening the panel doesn't fix it either, need to reload the page.
* pressing enter doesn't submit the transcription form anymore.
* lines overlay fade out doesn't reset when changing linehttps://gitlab.inria.fr/scripta/escriptorium/-/issues/72Import doesn't change image name when there are duplicates2019-05-27T10:16:08+02:00Robin TissotImport doesn't change image name when there are duplicatesSo if one deletes one of the images, the other one bug.
Try to use the django storage facilities to deal with this.So if one deletes one of the images, the other one bug.
Try to use the django storage facilities to deal with this.https://gitlab.inria.fr/scripta/escriptorium/-/issues/69image upload bug2019-04-26T07:43:44+02:00STOKL BEN EZRA Danielimage upload bugI cannot upload even 10 images without the small image blocks vanishing after switching a page. Sometimes the last one remains but then goes also.
http://ns342141.ip-5-196-76.eu/document/53/images/?select=3222I cannot upload even 10 images without the small image blocks vanishing after switching a page. Sometimes the last one remains but then goes also.
http://ns342141.ip-5-196-76.eu/document/53/images/?select=3222https://gitlab.inria.fr/scripta/escriptorium/-/issues/68strange image upload bug2019-05-27T10:44:27+02:00STOKL BEN EZRA Danielstrange image upload bugI tried to upload a new Hebrew document for Princeton and everything seemed to work. It loads 271 images but does not show neither the small tabs nor the big images, i.e. http://ns342141.ip-5-196-76.eu/media/documents/52/00000006.pngI tried to upload a new Hebrew document for Princeton and everything seemed to work. It loads 271 images but does not show neither the small tabs nor the big images, i.e. http://ns342141.ip-5-196-76.eu/media/documents/52/00000006.pngSTOKL BEN EZRA DanielSTOKL BEN EZRA Danielhttps://gitlab.inria.fr/scripta/escriptorium/-/issues/66import bug2019-04-26T13:01:36+02:00STOKL BEN EZRA Danielimport bugUploading an altoXML with 590 pages (I think, attached) to document 24 and selecting 590 images resulted in the following error: ![image](/uploads/ec76a965d22e009ee843aa0b9152e3cd/image.png)
[xmlOutput2Pages1Img.xml](/uploads/3dda132efad...Uploading an altoXML with 590 pages (I think, attached) to document 24 and selecting 590 images resulted in the following error: ![image](/uploads/ec76a965d22e009ee843aa0b9152e3cd/image.png)
[xmlOutput2Pages1Img.xml](/uploads/3dda132efadd5382edb79779baa34b42/xmlOutput2Pages1Img.xml)
In the error message, I do not know where the 38 comes from. It would be helpful to note WHICH side of the equation is what. I.e. 38 images and 590 XML pages or sthg like this.https://gitlab.inria.fr/scripta/escriptorium/-/issues/63RTL display error in transcription box2019-05-02T17:45:36+02:00STOKL BEN EZRA DanielRTL display error in transcription boxBoth slashes that should be at the left end of the line are displayed wrongly at its right. They are rightly on the end of the line in the transcription text if I copy the text from there and insert it into matlab.
![image](/uploads/50d...Both slashes that should be at the left end of the line are displayed wrongly at its right. They are rightly on the end of the line in the transcription text if I copy the text from there and insert it into matlab.
![image](/uploads/50d3f44ebe2dbec908c03f670cae2b97/image.png)https://gitlab.inria.fr/scripta/escriptorium/-/issues/61double use of 'element 1' as title2019-04-26T09:32:32+02:00STOKL BEN EZRA Danieldouble use of 'element 1' as titlein all documents I have seen. Both, the first and the second element are called 'element 1'.in all documents I have seen. Both, the first and the second element are called 'element 1'.https://gitlab.inria.fr/scripta/escriptorium/-/issues/59docker error in: Recreating 5267a9166bcc_escriptorium_celery-low-priority_12021-02-15T17:47:00+01:00Kaan Eraslandocker error in: Recreating 5267a9166bcc_escriptorium_celery-low-priority_1I was recently reinstalling the docker. I was also rebuilding the docker app.
Here is the full stack trace:
```
(base) kaan@mb-Precision-7510:/media/kaan/Data7510/GitProjects/escriptorium$ sudo docker-compose up -d --build
[sudo] Mot ...I was recently reinstalling the docker. I was also rebuilding the docker app.
Here is the full stack trace:
```
(base) kaan@mb-Precision-7510:/media/kaan/Data7510/GitProjects/escriptorium$ sudo docker-compose up -d --build
[sudo] Mot de passe de kaan :
WARNING: The PWD variable is not set. Defaulting to a blank string.
Removing escriptorium_channelserver_1
Removing escriptorium_web_1
Removing escriptorium_celery-main_1
Removing escriptorium_celery-low-priority_1
Building channelserver
Step 1/14 : FROM python:3.6-stretch
---> 2bb3204ab1d1
Step 2/14 : ENV PYTHONDONTWRITEBYTECODE 1
---> Using cache
---> d76830a076e9
Step 3/14 : ENV PYTHONUNBUFFERED 1
---> Using cache
---> ebd6ce490a62
Step 4/14 : WORKDIR /usr/src/app
---> Using cache
---> 4f73e3d2b5c1
Step 5/14 : RUN apt-get update
---> Using cache
---> 42ec5f576591
Step 6/14 : RUN addgroup --system uwsgi
---> Using cache
---> d3c44f639be5
Step 7/14 : RUN adduser --system --no-create-home --ingroup uwsgi uwsgi
---> Using cache
---> b2bfa7d94795
Step 8/14 : RUN apt-get install netcat-traditional pngcrush
---> Using cache
---> ac0a7185536d
Step 9/14 : RUN pip install --upgrade pip
---> Using cache
---> f414c6e12760
Step 10/14 : COPY ./requirements.txt /usr/src/app/requirements.txt
---> Using cache
---> 80c632919bac
Step 11/14 : RUN pip install -U -r requirements.txt
---> Using cache
---> 962403eb171a
Step 12/14 : COPY ./entrypoint.sh /usr/src/app/entrypoint.sh
---> Using cache
---> 4ecf46b4b7de
Step 13/14 : COPY . /usr/src/app/
---> Using cache
---> 2bb85b7e5273
Step 14/14 : ENTRYPOINT ["/usr/src/app/entrypoint.sh"]
---> Using cache
---> 5bbd5ead81df
Successfully built 5bbd5ead81df
Successfully tagged escriptorium_channelserver:latest
Building web
Step 1/14 : FROM python:3.6-stretch
---> 2bb3204ab1d1
Step 2/14 : ENV PYTHONDONTWRITEBYTECODE 1
---> Using cache
---> d76830a076e9
Step 3/14 : ENV PYTHONUNBUFFERED 1
---> Using cache
---> ebd6ce490a62
Step 4/14 : WORKDIR /usr/src/app
---> Using cache
---> 4f73e3d2b5c1
Step 5/14 : RUN apt-get update
---> Using cache
---> 42ec5f576591
Step 6/14 : RUN addgroup --system uwsgi
---> Using cache
---> d3c44f639be5
Step 7/14 : RUN adduser --system --no-create-home --ingroup uwsgi uwsgi
---> Using cache
---> b2bfa7d94795
Step 8/14 : RUN apt-get install netcat-traditional pngcrush
---> Using cache
---> ac0a7185536d
Step 9/14 : RUN pip install --upgrade pip
---> Using cache
---> f414c6e12760
Step 10/14 : COPY ./requirements.txt /usr/src/app/requirements.txt
---> Using cache
---> 80c632919bac
Step 11/14 : RUN pip install -U -r requirements.txt
---> Using cache
---> 962403eb171a
Step 12/14 : COPY ./entrypoint.sh /usr/src/app/entrypoint.sh
---> Using cache
---> 4ecf46b4b7de
Step 13/14 : COPY . /usr/src/app/
---> Using cache
---> 2bb85b7e5273
Step 14/14 : ENTRYPOINT ["/usr/src/app/entrypoint.sh"]
---> Using cache
---> 5bbd5ead81df
Successfully built 5bbd5ead81df
Successfully tagged escriptorium_web:latest
Building nginx
Step 1/3 : FROM nginx:1.15.0-alpine
---> bc7fdec94612
Step 2/3 : RUN rm /etc/nginx/conf.d/default.conf
---> Using cache
---> b866f39a302e
Step 3/3 : COPY nginx.conf /etc/nginx/conf.d
---> Using cache
---> aa6123418c6e
Successfully built aa6123418c6e
Successfully tagged escriptorium_nginx:latest
Building celery-main
Step 1/14 : FROM python:3.6-stretch
---> 2bb3204ab1d1
Step 2/14 : ENV PYTHONDONTWRITEBYTECODE 1
---> Using cache
---> d76830a076e9
Step 3/14 : ENV PYTHONUNBUFFERED 1
---> Using cache
---> ebd6ce490a62
Step 4/14 : WORKDIR /usr/src/app
---> Using cache
---> 4f73e3d2b5c1
Step 5/14 : RUN apt-get update
---> Using cache
---> 42ec5f576591
Step 6/14 : RUN addgroup --system uwsgi
---> Using cache
---> d3c44f639be5
Step 7/14 : RUN adduser --system --no-create-home --ingroup uwsgi uwsgi
---> Using cache
---> b2bfa7d94795
Step 8/14 : RUN apt-get install netcat-traditional pngcrush
---> Using cache
---> ac0a7185536d
Step 9/14 : RUN pip install --upgrade pip
---> Using cache
---> f414c6e12760
Step 10/14 : COPY ./requirements.txt /usr/src/app/requirements.txt
---> Using cache
---> 80c632919bac
Step 11/14 : RUN pip install -U -r requirements.txt
---> Using cache
---> 962403eb171a
Step 12/14 : COPY ./entrypoint.sh /usr/src/app/entrypoint.sh
---> Using cache
---> 4ecf46b4b7de
Step 13/14 : COPY . /usr/src/app/
---> Using cache
---> 2bb85b7e5273
Step 14/14 : ENTRYPOINT ["/usr/src/app/entrypoint.sh"]
---> Using cache
---> 5bbd5ead81df
Successfully built 5bbd5ead81df
Successfully tagged escriptorium_celery-main:latest
Building celery-low-priority
Step 1/14 : FROM python:3.6-stretch
---> 2bb3204ab1d1
Step 2/14 : ENV PYTHONDONTWRITEBYTECODE 1
---> Using cache
---> d76830a076e9
Step 3/14 : ENV PYTHONUNBUFFERED 1
---> Using cache
---> ebd6ce490a62
Step 4/14 : WORKDIR /usr/src/app
---> Using cache
---> 4f73e3d2b5c1
Step 5/14 : RUN apt-get update
---> Using cache
---> 42ec5f576591
Step 6/14 : RUN addgroup --system uwsgi
---> Using cache
---> d3c44f639be5
Step 7/14 : RUN adduser --system --no-create-home --ingroup uwsgi uwsgi
---> Using cache
---> b2bfa7d94795
Step 8/14 : RUN apt-get install netcat-traditional pngcrush
---> Using cache
---> ac0a7185536d
Step 9/14 : RUN pip install --upgrade pip
---> Using cache
---> f414c6e12760
Step 10/14 : COPY ./requirements.txt /usr/src/app/requirements.txt
---> Using cache
---> 80c632919bac
Step 11/14 : RUN pip install -U -r requirements.txt
---> Using cache
---> 962403eb171a
Step 12/14 : COPY ./entrypoint.sh /usr/src/app/entrypoint.sh
---> Using cache
---> 4ecf46b4b7de
Step 13/14 : COPY . /usr/src/app/
---> Using cache
---> 2bb85b7e5273
Step 14/14 : ENTRYPOINT ["/usr/src/app/entrypoint.sh"]
---> Using cache
---> 5bbd5ead81df
Successfully built 5bbd5ead81df
Successfully tagged escriptorium_celery-low-priority:latest
escriptorium_db_1 is up-to-date
escriptorium_redis_1 is up-to-date
escriptorium_mail_1 is up-to-date
Recreating 5267a9166bcc_escriptorium_celery-low-priority_1 ... error
Recreating 37b49da7644d_escriptorium_channelserver_1 ...
Recreating 8905e3ab778c_escriptorium_web_1 ...
Recreating 0bc19009ccf6_escriptorium_celery-main_1 ...
ERROR: for 5267a9166bcc_escriptorium_celery-low-priority_1 Cannot start serviceRecreating 37b49da7644d_escriptorium_channelserver_1 ... error
ptorium_static/_data': error while mounting volume with options: type='none' device='/static/' o='bind': no such file or directory
ERROR: for 37b49da7644d_escriptorium_channelserver_1 Cannot start service channelserver: error while mounting volume '/var/lib/docker/volumes/escriptorium_statRecreating 8905e3ab778c_escriptorium_web_1 ... error
/' o='bind': no such file or directory
ERROR: for 8905e3ab778c_escriptorium_web_1 Cannot start service web: error while mounting volume '/var/lib/docker/volumes/escriptorium_static/_data': error while mounting volume with options: type='none' device='/static/' o='bind': no suchRecreating 0bc19009ccf6_escriptorium_celery-main_1 ... error
ERROR: for 0bc19009ccf6_escriptorium_celery-main_1 Cannot start service celery-main: error while mounting volume '/var/lib/docker/volumes/escriptorium_static/_data': error while mounting volume with options: type='none' device='/static/' o='bind': no such file or directory
ERROR: for celery-low-priority Cannot start service celery-low-priority: error while mounting volume '/var/lib/docker/volumes/escriptorium_static/_data': error while mounting volume with options: type='none' device='/static/' o='bind': no such file or directory
ERROR: for channelserver Cannot start service channelserver: error while mounting volume '/var/lib/docker/volumes/escriptorium_static/_data': error while mounting volume with options: type='none' device='/static/' o='bind': no such file or directory
ERROR: for web Cannot start service web: error while mounting volume '/var/lib/docker/volumes/escriptorium_static/_data': error while mounting volume with options: type='none' device='/static/' o='bind': no such file or directory
ERROR: for celery-main Cannot start service celery-main: error while mounting volume '/var/lib/docker/volumes/escriptorium_static/_data': error while mounting volume with options: type='none' device='/static/' o='bind': no such file or directory
ERROR: Encountered errors while bringing up the project.
```
I also tried rebuilding without cache with: ` sudo docker-compose build --no-cache --pull`, but that did not work out either. Any ideas ?https://gitlab.inria.fr/scripta/escriptorium/-/issues/52History back button doesn't work in edit page2019-04-17T19:48:38+02:00Robin TissotHistory back button doesn't work in edit pageNeed to catch popstate see [The_popstate_event](https://developer.mozilla.org/en-US/docs/Web/API/History_API#The_popstate_event)Need to catch popstate see [The_popstate_event](https://developer.mozilla.org/en-US/docs/Web/API/History_API#The_popstate_event)https://gitlab.inria.fr/scripta/escriptorium/-/issues/49upload crashes2019-04-11T12:00:45+02:00STOKL BEN EZRA Danielupload crashesI try to upload 590 images of 7 MB each of [this manuscript](https://www.e-codices.unifr.ch/fr/list/one/bge/cl0146) and it stalls. I reduced charge to ca. 40 images and it still stalls in the middle of image 1. I reduced further to 7 ima...I try to upload 590 images of 7 MB each of [this manuscript](https://www.e-codices.unifr.ch/fr/list/one/bge/cl0146) and it stalls. I reduced charge to ca. 40 images and it still stalls in the middle of image 1. I reduced further to 7 images and it still stalls. As it is with a iiif link a direct iiif upload would be perfect.
It is the testcase of tikkoun sofrim. We have the full data of the machine transcription and I now created also new GT from the user transcriptions (UT) that looks excellent and we could use eScriptorium to quickly fix remaining issues for 200 pages.Robin TissotRobin Tissothttps://gitlab.inria.fr/scripta/escriptorium/-/issues/48API permissions are too näive2020-07-07T13:04:58+02:00Robin TissotAPI permissions are too näiveAn authenticated user can forge an api post/patch to update any document/part.An authenticated user can forge an api post/patch to update any document/part.https://gitlab.inria.fr/scripta/escriptorium/-/issues/46line coordinate error2019-03-17T20:09:12+01:00STOKL BEN EZRA Danielline coordinate errorCreated a new line on Josephus only with segmentation and transcription panels open. Then added image panel and zoomed in. The segmentation panel moved the new line elsewhere.Created a new line on Josephus only with segmentation and transcription panels open. Then added image panel and zoomed in. The segmentation panel moved the new line elsewhere.Robin TissotRobin Tissothttps://gitlab.inria.fr/scripta/escriptorium/-/issues/40download button exists but txt file is empty2019-03-08T13:52:05+01:00STOKL BEN EZRA Danieldownload button exists but txt file is emptyRobin TissotRobin Tissothttps://gitlab.inria.fr/scripta/escriptorium/-/issues/39mlmodel not allowed, only clstm2019-03-17T22:16:02+01:00STOKL BEN EZRA Danielmlmodel not allowed, only clstm![image](/uploads/a6d34ad7b766132a24a557cd4306a664/image.png)![image](/uploads/a6d34ad7b766132a24a557cd4306a664/image.png)Robin TissotRobin Tissothttps://gitlab.inria.fr/scripta/escriptorium/-/issues/35multipage upload does not work2019-03-08T13:52:23+01:00STOKL BEN EZRA Danielmultipage upload does not workTried to upload a multipage document but took only the first pageTried to upload a multipage document but took only the first pageRobin TissotRobin Tissothttps://gitlab.inria.fr/scripta/escriptorium/-/issues/33[LOW] RTL transcription2019-05-02T17:46:41+02:00STOKL BEN EZRA Daniel[LOW] RTL transcriptionI have defined the main writing direction as horizontal RTL but in the transcription window for each line (still love it!) the text is aligned to the left. When a line ends with a bidirectional unicode sign it ends up to the right instea...I have defined the main writing direction as horizontal RTL but in the transcription window for each line (still love it!) the text is aligned to the left. When a line ends with a bidirectional unicode sign it ends up to the right instead of the left. i.e. ![image](/uploads/fbe7392006a22feff9da147e064209d1/image.png) while the second apostroph should have been at the very left end of the line. I cannot give an example here because the gitlab box has the same problem. It is not an urgent correction, but it is absolutely necessary.Robin TissotRobin Tissothttps://gitlab.inria.fr/scripta/escriptorium/-/issues/32HTTP304 on static files2019-03-01T19:25:54+01:00Robin TissotHTTP304 on static filesnginx_1 | 82.253.82.112 - - [28/Feb/2019:12:12:30 +0000] "GET /static/css/escriptorium.css HTTP/1.1" 304 0 "http://ns342141.ip-5-196-76.eu/document/4/images/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Fire...nginx_1 | 82.253.82.112 - - [28/Feb/2019:12:12:30 +0000] "GET /static/css/escriptorium.css HTTP/1.1" 304 0 "http://ns342141.ip-5-196-76.eu/document/4/images/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0" "-"
tells the client to use the cached file even though it has changed on disk.https://gitlab.inria.fr/scripta/escriptorium/-/issues/30transcriptionerror2019-02-28T13:00:00+01:00STOKL BEN EZRA Danieltranscriptionerrorhttp://ns342141.ip-5-196-76.eu/document/3/transcribe/ gives me a page not found error.http://ns342141.ip-5-196-76.eu/document/3/transcribe/ gives me a page not found error.Robin TissotRobin Tissot