Search found 76 matches

by KevinPawsey
Wed Mar 20, 2019 10:47 am
Forum: Issues or Errors
Topic: Scanning as input
Replies: 13
Views: 578

Re: Scanning as input

ok... another update... to get this working, I have created a 'shim' for the scanimage executable in /usr/bin. So what I have done is renamed /usr/bin/scanimage to /usr/bin/scanimage_prog, I have then created a shell script that looks like this: #!/bin/bash scanimage_prog --format=tiff --buffermode=...
by KevinPawsey
Tue Mar 19, 2019 2:56 pm
Forum: Issues or Errors
Topic: Scanning as input
Replies: 13
Views: 578

Re: Scanning as input

and after another lightbulb moment, I thought that I would have a think about what is happening, and it turns out that the scanimage command is being done by the user "mayan" and I was testing under the user "root"... funny enough, the following command fails: sudo -u mayan scanimage -v --format=jpe...
by KevinPawsey
Tue Mar 19, 2019 1:06 pm
Forum: Issues or Errors
Topic: Scanning as input
Replies: 13
Views: 578

Re: Scanning as input

Today I have received the scanner... much quicker than I expected... just trying to set it up, but it doesn't seem to want to work. The scanner is seen within the docker image: sane-find-scanner # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you e...
by KevinPawsey
Thu Mar 14, 2019 7:44 pm
Forum: Issues or Errors
Topic: Scanning as input
Replies: 13
Views: 578

Re: Scanning as input

OK, I have just bit the bullet and I have just ordered myself a Canon imageFORMULA DR-2580C Document Scanner. Does anyone have any experience with using this with Mayan? I've look at the SANE compatibility, and this is what it says: DR-2580C USB SCSI 0x04a9/0x1608 Complete Hardware provides: Gray/Co...
by KevinPawsey
Thu Mar 14, 2019 6:19 pm
Forum: General topics
Topic: Mayan EDMS index reference post
Replies: 8
Views: 594

Re: Mayan EDMS index reference post

If you'd like an index that uses the Cabinet label, this example may help: {% if document.cabinets.count == 0 %} None {% else %} {% for cab in document.cabinets.all %} {{ cab.label }} {% endfor %} {% endif %} Thank you for that... just tried it and it works a charm... great for picking out the stra...
by KevinPawsey
Wed Mar 06, 2019 1:37 pm
Forum: Feature requests
Topic: New document import flow
Replies: 4
Views: 127

Re: New document import flow

Hi @rosarior, good to hear from you again, and thanks for the progress update... it is nice to know that things are going on in the background :) I did wonder if the reason for the wizard was due to the way that the app worked that does all the back end work. Let me know what details would be useful...
by KevinPawsey
Wed Mar 06, 2019 1:32 pm
Forum: Feature requests
Topic: document separator page
Replies: 1
Views: 54

Re: document separator page

Quite like this idea... never thought of doing that way of scanning documents... not that I can think of a way of automating all that you have said. I use the Mayan Staging folder as my method of importing the documents, so at least this might help to remind me what the document is and where it need...
by KevinPawsey
Wed Mar 06, 2019 1:27 pm
Forum: General topics
Topic: Adding metadata automatically
Replies: 1
Views: 82

Re: Adding metadata automatically

There is an add-on called Document Analyzer, that I think will do that job... but not sure.

I haven't successfully managed to get the add-on working, so I couldn't say for sure what it is like to use.
by KevinPawsey
Wed Mar 06, 2019 1:20 pm
Forum: General topics
Topic: Databse conversion (SQLite to PostgreSQL)
Replies: 14
Views: 713

Re: Databse conversion (SQLite to PostgreSQL)

Hi @winstonsmith, I think that you are most of the way there, but Mayan does rely on the environment variables to get the connection parameters for the python database... so you will need to run it with the environment variables to tell Mayan where to find the database, and what the connection param...
by KevinPawsey
Wed Mar 06, 2019 1:12 pm
Forum: Issues or Errors
Topic: Leaving files in 'Watch Folder'
Replies: 6
Views: 282

Re: Leaving files in 'Watch Folder'

qweqweqwe wrote:
Wed Feb 27, 2019 11:17 pm
Check permissions. My folder allowed read and execute for mayan user but not delete. Use chmod.
If you are going to use chmod, I believe that the chmod command should be

Code: Select all

chmod 755 -R {folder_name}
Hope that helps.