Search found 8 matches

by noses
Wed Mar 31, 2021 2:43 am
Forum: Issues or Errors
Topic: Seemingly clean file resulting in an empty document
Replies: 1
Views: 75

Seemingly clean file resulting in an empty document

I have a single file from a series of similar files from the same origin that, unlike all the other 60 siblings, results in an empty document on the server. I had the creator redo it from scratch (resulting in a file with a different checksum) which is causing the same problem. The file is not encry...
by noses
Wed Mar 31, 2021 2:34 am
Forum: Issues or Errors
Topic: File uploads via API generating 0 page documents
Replies: 0
Views: 39

File uploads via API generating 0 page documents

A small number of files (about 3%) are resulting in the dreaded 0-page documents on the server. I can download the files again and compare them to the original and they are the same. If I re-upload them via API the result is a "normal" document looking like any other document on the server... I neve...
by noses
Wed Mar 31, 2021 1:38 am
Forum: API
Topic: Wrong next URL scheme
Replies: 5
Views: 547

Re: Wrong next URL scheme

I already tried to fix it by settings "proxy_set_header X-Forwarded-Proto $scheme;" in NGINX config. Is there a possibility to get the URL with the correct scheme? I independently added that as feature request to the gitlab issues and it was closed immediately but I got the general answer "Specify ...
by noses
Tue Mar 30, 2021 12:52 pm
Forum: Feature requests
Topic: digital signature
Replies: 5
Views: 1625

Re: digital signature

We were experimenting with a direct canvas widget and were having some issues. This library provides all that in a single package. Looks like the ideal candidate. We'll use over the experimental branch to see how well we can make it interface with the current backend. Thanks for the suggestion! Thi...
by noses
Tue Mar 30, 2021 12:10 pm
Forum: General topics
Topic: Export all Documents
Replies: 12
Views: 18012

Re: Export all Documents

What about writing a short Python program that is extracting all documents AND their metadata and storing this in files? Due to legal requirements (and to avoid a vendor lock-in) I wrote a backup script for that purpose (even dealing with certain uglinesses like the paged output of the API) which is...
by noses
Fri Dec 04, 2020 3:01 am
Forum: API
Topic: Uploading a document and immediately adding labels/cabinets/metadata...
Replies: 1
Views: 326

Re: Uploading a document and immediately adding labels/cabinets/metadata...

To answer my own question: If a metadata type has a "Default" or a "Lookup" defined it is impossible to create it giving it a value. And it is also impossible to create it without a value. PS: If file names turned into labels start with a date in the format of YYYYMMDD using {{ document.label|slice:...
by noses
Tue Dec 01, 2020 7:21 pm
Forum: API
Topic: Uploading a document and immediately adding labels/cabinets/metadata...
Replies: 1
Views: 326

Uploading a document and immediately adding labels/cabinets/metadata...

And the second problem came up immediately... I'm trying to write a command line tool to upload documents and add all the things I know about it in one pass as the web interface is driving me nuts. The uploading is not the problem but how do I go on from here? def document_upload (self, filename, la...
by noses
Tue Dec 01, 2020 7:05 pm
Forum: API
Topic: API parameter inconsistencies
Replies: 1
Views: 207

API parameter inconsistencies

Nearly everything dealing with documents wants a "document_pk" but the documents_* functions return "id"s. Let's not get into the documents_versioning functions talking about "docment_id" (at least that's clear bt a third name). Could someone lease throw some light on what is what here?


Achim