Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Canon 9000F mark II doesn't work #765

Open
h2ofranck opened this issue Mar 27, 2018 · 18 comments
Open

Canon 9000F mark II doesn't work #765

h2ofranck opened this issue Mar 27, 2018 · 18 comments

Comments

@h2ofranck
Copy link

Hello,
I can not recognize my scanner by paperwork (ok for xsane)
The problem is since the update of Ubuntu 17.10 artful

selection_098
selection_099

can you help me ? this software is really good

@jflesch jflesch added this to the 1.2.5 milestone Mar 27, 2018
@jflesch
Copy link
Member

jflesch commented Mar 27, 2018

Can you do the following please:

  • open the settings dialog
  • wait a little bit
  • close the settings dialog
  • get the diagnostic output
  • attach the diagnostic output to this ticket

?

@h2ofranck
Copy link
Author

sorry, I do not have a setting button (???)

selection_100

@jflesch
Copy link
Member

jflesch commented Mar 27, 2018

Application menus in Gnome and Unity are at the top of the screen.

@h2ofranck
Copy link
Author

honte

INFO   paperwork.paperwork            Using locales in '/home/franck/.python-eggs/paperwork-1.2.4-py3.5.egg-tmp/paperwork/frontend/locale'
INFO   paperwork_backend              Assuming we are running in Flatpak. Building tessdata directory /home/franck/.var/app/work.openpaper.Paperwork/data/paperwork/tessdata ...
INFO   paperwork_backend.util         Deleting file /home/franck/.var/app/work.openpaper.Paperwork/data/paperwork/tessdata/osd.traineddata
INFO   paperwork_backend.util         Deleting file /home/franck/.var/app/work.openpaper.Paperwork/data/paperwork/tessdata/eng.traineddata
INFO   paperwork_backend.util         Deleting file /home/franck/.var/app/work.openpaper.Paperwork/data/paperwork/tessdata/fra.traineddata
INFO   paperwork_backend.util         Deleting link /home/franck/.var/app/work.openpaper.Paperwork/data/paperwork/tessdata/tessconfigs
INFO   paperwork_backend.util         Deleting link /home/franck/.var/app/work.openpaper.Paperwork/data/paperwork/tessdata/configs
INFO   paperwork_backend.util         Deleting dir /home/franck/.var/app/work.openpaper.Paperwork/data/paperwork/tessdata
INFO   paperwork_backend              /app/share/locale/fr/fra.traineddata found
INFO   paperwork_backend              Tessdata directory ready
INFO   paperwork.paperwork            Initializing pyinsane ...
INFO   pyinsane2.sane.abstract_proc   Starting Pyinsane subprocess
INFO   pyinsane2.sane.abstract_proc   Pyinsane pipes: /tmp/pyinsane_0l053r1q/pipe_c2s | /tmp/pyinsane_0l053r1q/pipe_s2c
INFO   pyinsane2.sane.abstract_proc   Connected to Pyinsane subprocess
INFO   paperwork.paperwork            Initializing libnotify ...
INFO   paperwork_backend.config       Config file found: /home/franck/.var/app/work.openpaper.Paperwork/config/paperwork.conf
INFO   paperwork_backend.config       Reloading /home/franck/.var/app/work.openpaper.Paperwork/config/paperwork.conf ...
INFO   paperwork.frontend.util.jobs   [Scheduler Main] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler Main] Started
INFO   paperwork.frontend.util.jobs   [Scheduler OCR] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler OCR] Started
INFO   paperwork.frontend.util.jobs   [Scheduler Export] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler Export] Started
INFO   paperwork.frontend.util.jobs   [Scheduler Index search / update] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler Index search / update] Started
INFO   paperwork.frontend.util.jobs   [Scheduler Page boxes loader] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler Page boxes loader] Started
INFO   paperwork.frontend.util.jobs   [Scheduler Progress] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler Progress] Started
INFO   paperwork.frontend.util.jobs   [Scheduler Scan] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler Scan] Started
INFO   paperwork.frontend.util.jobs   [Scheduler Search] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler Search] Started
INFO   paperwork.frontend.beacon      Updates were last checked: 2018-03-26 00:00:00
INFO   paperwork.frontend.beacon      No need to check for new updates yet
INFO   paperwork.frontend.util.canvas Animators: 1
INFO   paperwork.frontend.mainwindow  Image view port resized. (0, 0) --> (904, 873)
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.util.actions Action: [Refresh index]
INFO   paperwork.frontend.mainwindow  Index loaded
INFO   paperwork.frontend.beacon      Anonymous statistics are disabled
INFO   paperwork.frontend.util.actions Action: [Set document date]
INFO   paperwork.frontend.mainwindow.docs Invalid date: Nouveau document
INFO   paperwork.frontend.mainwindow  Document examen finished. Updating index ...
INFO   paperwork.frontend.mainwindow  1 labels found
INFO   paperwork.frontend.mainwindow  New document: 0
INFO   paperwork.frontend.mainwindow  Updated document: 0
INFO   paperwork.frontend.mainwindow  Deleted document: 0
INFO   paperwork.frontend.mainwindow  No changes
INFO   paperwork.frontend.util.canvas Animators: 0
INFO   paperwork.frontend.util.canvas Animators: 1
INFO   paperwork.frontend.mainwindow  Searching: []
INFO   paperwork.frontend.mainwindow  Got 1 documents
INFO   paperwork.frontend.mainwindow.docs Will display documents 0:50 (actual number: 1)
INFO   paperwork.frontend.mainwindow  Got 0 suggestions
INFO   paperwork.frontend.mainwindow.docs Will get thumbnails for 1 documents [0-2]
INFO   paperwork.frontend.mainwindow.docs Start thumbnailing 1 documents (DocThumbnailer:0)
INFO   paperwork.frontend.mainwindow.docs [DocThumbnailer:0]: Got thumbnail for 20180327_1317_31 (0.001935s)
INFO   paperwork.frontend.mainwindow.docs End of thumbnailing [DocThumbnailer:0]
INFO   paperwork.frontend.util.actions Action: [Open selected document]
INFO   paperwork.frontend.mainwindow.docs Showing doc 20180327_1317_31
INFO   paperwork.frontend.mainwindow.docs Document position: 0 | Number of boxes currently displayed: 1
INFO   paperwork.frontend.mainwindow  Showing document 20180327_1317_31
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/0.06691919191919192
INFO   paperwork.frontend.util.actions Action: [Set document date]
INFO   paperwork.frontend.mainwindow.docs Valid date: 27/03/2018
INFO   paperwork.frontend.util.canvas Animators: 1
INFO   paperwork.frontend.util.canvas Animators: 2
INFO   paperwork.frontend.util.canvas Animators: 3
INFO   paperwork.frontend.util.canvas Animators: 4
INFO   paperwork.frontend.util.canvas Animators: 5
INFO   paperwork.frontend.util.canvas Animators: 4
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.util.canvas Animators: 3
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.util.canvas Animators: 2
INFO   paperwork.frontend.mainwindow.pages No box selected
INFO   paperwork.frontend.mainwindow.pages [page] found 0 boxes to highlight
INFO   paperwork.frontend.mainwindow.pages 0 boxes found
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.util.canvas Animators: 1
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.util.canvas Animators: 0
INFO   paperwork.frontend.mainwindow.pages No box selected
INFO   paperwork.frontend.mainwindow.pages [page] found 0 boxes to highlight
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.mainwindow.pages 0 boxes found
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.mainwindow.pages No box selected
INFO   paperwork.frontend.mainwindow.pages [page] found 0 boxes to highlight
INFO   paperwork.frontend.mainwindow.pages 0 boxes found
INFO   paperwork.frontend.mainwindow.pages No box selected
INFO   paperwork.frontend.mainwindow.pages [page] found 0 boxes to highlight
INFO   paperwork.frontend.mainwindow.pages 0 boxes found
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.mainwindow  Showing page 20180327_1317_31 p1
INFO   paperwork.frontend.mainwindow.docs Document position: 0 | Number of boxes currently displayed: 1
INFO   paperwork.frontend.mainwindow  Showing document 20180327_1317_31
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/0.35294117647058826
INFO   paperwork.frontend.util.canvas Animators: 1
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.util.canvas Animators: 0
INFO   paperwork.frontend.mainwindow.pages No box selected
INFO   paperwork.frontend.mainwindow.pages [page] found 0 boxes to highlight
INFO   paperwork.frontend.mainwindow.pages 0 boxes found
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.mainwindow.pages No box selected
INFO   paperwork.frontend.mainwindow.pages [page] found 0 boxes to highlight
INFO   paperwork.frontend.mainwindow.pages 0 boxes found
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.mainwindow.pages No box selected
INFO   paperwork.frontend.mainwindow.pages [page] found 0 boxes to highlight
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.mainwindow.pages 0 boxes found
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.mainwindow.pages No box selected
INFO   paperwork.frontend.mainwindow.pages [page] found 0 boxes to highlight
INFO   paperwork.frontend.mainwindow.pages 0 boxes found
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.mainwindow.pages No box selected
INFO   paperwork.frontend.mainwindow.pages [page] found 0 boxes to highlight
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.mainwindow.pages 0 boxes found
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.util.actions Action: [Open selected document]
INFO   paperwork.frontend.mainwindow.docs Showing doc 20180327_1650_35
WARNING paperwork_backend.fs           Gio.Gerror
Traceback (most recent call last):
  File "/app/lib/python3.5/site-packages/paperwork_backend-1.2.4-py3.5.egg/paperwork_backend/fs.py", line 309, in listdir
    None
GLib.GError: g-io-error-quark: Error opening directory '/home/franck/Papiers/20180327_1650_35': No such file or directory (1)
INFO   paperwork.frontend.mainwindow  Showing document 20180327_1650_35
WARNING paperwork_backend.fs           Gio.Gerror
Traceback (most recent call last):
  File "/app/lib/python3.5/site-packages/paperwork_backend-1.2.4-py3.5.egg/paperwork_backend/fs.py", line 309, in listdir
    None
GLib.GError: g-io-error-quark: Error opening directory '/home/franck/Papiers/20180327_1650_35': No such file or directory (1)
WARNING paperwork_backend.fs           Gio.Gerror
Traceback (most recent call last):
  File "/app/lib/python3.5/site-packages/paperwork_backend-1.2.4-py3.5.egg/paperwork_backend/fs.py", line 309, in listdir
    None
GLib.GError: g-io-error-quark: Error opening directory '/home/franck/Papiers/20180327_1650_35': No such file or directory (1)
WARNING paperwork_backend.fs           Gio.Gerror
Traceback (most recent call last):
  File "/app/lib/python3.5/site-packages/paperwork_backend-1.2.4-py3.5.egg/paperwork_backend/fs.py", line 309, in listdir
    None
GLib.GError: g-io-error-quark: Error opening directory '/home/franck/Papiers/20180327_1650_35': No such file or directory (1)
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.util.actions Action: [Set document date]
INFO   paperwork.frontend.mainwindow.docs Invalid date: Nouveau document
INFO   paperwork.frontend.mainwindow.pages No box selected
INFO   paperwork.frontend.mainwindow.pages [page] found 0 boxes to highlight
INFO   paperwork.frontend.mainwindow.pages 0 boxes found
INFO   paperwork.frontend.mainwindow  Image view port resized. (904, 873) --> (1666, 1085)
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.mainwindow  Image view port resized. (1666, 1085) --> (1620, 1039)
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.util.actions Action: [New document]
INFO   paperwork.frontend.mainwindow  Doc is already shown
INFO   paperwork.frontend.mainwindow  Showing document 20180327_1650_35
WARNING paperwork_backend.fs           Gio.Gerror
Traceback (most recent call last):
  File "/app/lib/python3.5/site-packages/paperwork_backend-1.2.4-py3.5.egg/paperwork_backend/fs.py", line 309, in listdir
    None
GLib.GError: g-io-error-quark: Error opening directory '/home/franck/Papiers/20180327_1650_35': No such file or directory (1)
WARNING paperwork_backend.fs           Gio.Gerror
Traceback (most recent call last):
  File "/app/lib/python3.5/site-packages/paperwork_backend-1.2.4-py3.5.egg/paperwork_backend/fs.py", line 309, in listdir
    None
GLib.GError: g-io-error-quark: Error opening directory '/home/franck/Papiers/20180327_1650_35': No such file or directory (1)
WARNING paperwork_backend.fs           Gio.Gerror
Traceback (most recent call last):
  File "/app/lib/python3.5/site-packages/paperwork_backend-1.2.4-py3.5.egg/paperwork_backend/fs.py", line 309, in listdir
    None
GLib.GError: g-io-error-quark: Error opening directory '/home/franck/Papiers/20180327_1650_35': No such file or directory (1)
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.util.actions Action: [Open selected document]
INFO   paperwork.frontend.mainwindow.docs Showing doc 20180327_1317_31
INFO   paperwork.frontend.mainwindow.docs Document position: 0 | Number of boxes currently displayed: 1
INFO   paperwork.frontend.mainwindow  Showing document 20180327_1317_31
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/0.11601307189542484
INFO   paperwork.frontend.util.actions Action: [Set document date]
INFO   paperwork.frontend.mainwindow.docs Valid date: 27/03/2018
INFO   paperwork.frontend.util.canvas Animators: 1
INFO   paperwork.frontend.util.canvas Animators: 2
INFO   paperwork.frontend.util.canvas Animators: 3
INFO   paperwork.frontend.util.canvas Animators: 4
INFO   paperwork.frontend.util.canvas Animators: 5
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.util.canvas Animators: 4
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.util.canvas Animators: 3
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.util.canvas Animators: 2
INFO   paperwork.frontend.mainwindow.pages No box selected
INFO   paperwork.frontend.mainwindow.pages [page] found 0 boxes to highlight
INFO   paperwork.frontend.mainwindow.pages 0 boxes found
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.util.canvas Animators: 1
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.util.canvas Animators: 0
INFO   paperwork.frontend.mainwindow.pages No box selected
INFO   paperwork.frontend.mainwindow.pages [page] found 0 boxes to highlight
INFO   paperwork.frontend.mainwindow.pages 0 boxes found
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.util.actions Action: [New document]
INFO   paperwork.frontend.mainwindow  Showing document 20180327_1650_35
WARNING paperwork_backend.fs           Gio.Gerror
Traceback (most recent call last):
  File "/app/lib/python3.5/site-packages/paperwork_backend-1.2.4-py3.5.egg/paperwork_backend/fs.py", line 309, in listdir
    None
GLib.GError: g-io-error-quark: Error opening directory '/home/franck/Papiers/20180327_1650_35': No such file or directory (1)
WARNING paperwork_backend.fs           Gio.Gerror
Traceback (most recent call last):
  File "/app/lib/python3.5/site-packages/paperwork_backend-1.2.4-py3.5.egg/paperwork_backend/fs.py", line 309, in listdir
    None
GLib.GError: g-io-error-quark: Error opening directory '/home/franck/Papiers/20180327_1650_35': No such file or directory (1)
WARNING paperwork_backend.fs           Gio.Gerror
Traceback (most recent call last):
  File "/app/lib/python3.5/site-packages/paperwork_backend-1.2.4-py3.5.egg/paperwork_backend/fs.py", line 309, in listdir
    None
GLib.GError: g-io-error-quark: Error opening directory '/home/franck/Papiers/20180327_1650_35': No such file or directory (1)
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.util.actions Action: [Set document date]
INFO   paperwork.frontend.mainwindow.docs Invalid date: Nouveau document
INFO   paperwork.frontend.mainwindow.pages No box selected
INFO   paperwork.frontend.mainwindow.pages [page] found 0 boxes to highlight
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.mainwindow.pages 0 boxes found
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.mainwindow.pages No box selected
INFO   paperwork.frontend.mainwindow.pages [page] found 0 boxes to highlight
INFO   paperwork.frontend.mainwindow.pages 0 boxes found
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork_backend.pdf.doc      PDF: Opening file:///home/franck/Papiers/20180327_1317_31/doc.pdf
INFO   paperwork.frontend.mainwindow.pages No box selected
INFO   paperwork.frontend.mainwindow.pages [page] found 0 boxes to highlight
INFO   paperwork.frontend.mainwindow.pages 0 boxes found
INFO   paperwork.frontend.util.actions Action: [Open selected document]
INFO   paperwork.frontend.mainwindow.docs Showing doc 20180327_1650_35
WARNING paperwork_backend.fs           Gio.Gerror
Traceback (most recent call last):
  File "/app/lib/python3.5/site-packages/paperwork_backend-1.2.4-py3.5.egg/paperwork_backend/fs.py", line 309, in listdir
    None
GLib.GError: g-io-error-quark: Error opening directory '/home/franck/Papiers/20180327_1650_35': No such file or directory (1)
INFO   paperwork.frontend.mainwindow  Doc is already shown
INFO   paperwork.frontend.mainwindow  Showing document 20180327_1650_35
WARNING paperwork_backend.fs           Gio.Gerror
Traceback (most recent call last):
  File "/app/lib/python3.5/site-packages/paperwork_backend-1.2.4-py3.5.egg/paperwork_backend/fs.py", line 309, in listdir
    None
GLib.GError: g-io-error-quark: Error opening directory '/home/franck/Papiers/20180327_1650_35': No such file or directory (1)
WARNING paperwork_backend.fs           Gio.Gerror
Traceback (most recent call last):
  File "/app/lib/python3.5/site-packages/paperwork_backend-1.2.4-py3.5.egg/paperwork_backend/fs.py", line 309, in listdir
    None
GLib.GError: g-io-error-quark: Error opening directory '/home/franck/Papiers/20180327_1650_35': No such file or directory (1)
WARNING paperwork_backend.fs           Gio.Gerror
Traceback (most recent call last):
  File "/app/lib/python3.5/site-packages/paperwork_backend-1.2.4-py3.5.egg/paperwork_backend/fs.py", line 309, in listdir
    None
GLib.GError: g-io-error-quark: Error opening directory '/home/franck/Papiers/20180327_1650_35': No such file or directory (1)
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.mainwindow  Image view port resized. (1620, 1039) --> (904, 873)
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.mainwindow  Image view port resized. (904, 873) --> (858, 827)
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.mainwindow  Image view port resized. (858, 827) --> (904, 873)
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.util.actions Action: [Open settings dialog]
INFO   paperwork.frontend.settingswindow Distribution: []
INFO   paperwork.frontend.settingswindow Language name translations loaded
INFO   paperwork.frontend.settingswindow Translation: English | anglais
INFO   paperwork.frontend.settingswindow Translation: French | français
INFO   paperwork.frontend.util.jobs   [Scheduler progress] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler progress] Started
INFO   paperwork.frontend.settingswindow Looking for scan devices ...
INFO   paperwork.frontend.settingswindow End of scan for device
WARNING paperwork.frontend.util.jobs   Job DeviceFinder:0 took 6825ms and is unstoppable ! (maximum allowed: 500ms)
INFO   paperwork_backend.config       Updating /home/franck/.var/app/work.openpaper.Paperwork/config/paperwork.conf ...
INFO   paperwork_backend.config       Done
INFO   paperwork.frontend.settingswindow Settings window destroyed
INFO   paperwork.frontend.util.jobs   [Scheduler progress] Stopping
INFO   paperwork.frontend.util.jobs   [Scheduler progress] Stopped
INFO   paperwork.frontend.util.actions Action: [Opening diagnostic dialog]
INFO   paperwork.frontend.diag        ====== START OF SYSTEM INFO ======
INFO   paperwork.frontend.diag        os.name: posix
INFO   paperwork.frontend.diag        sys.version: 3.5.2 (default, Jan 10 2018, 06:17:28) 
[GCC 6.2.0]
INFO   paperwork.frontend.diag        os.uname: posix.uname_result(sysname='Linux', nodename='Terminator', release='4.13.0-37-generic', version='#42-Ubuntu SMP Wed Mar 7 14:13:23 UTC 2018', machine='x86_64')
INFO   paperwork.frontend.diag        platform.architecture: ('64bit', 'ELF')
INFO   paperwork.frontend.diag        platform.platform: Linux-4.13.0-37-generic-x86_64-with-glibc2.3.4
INFO   paperwork.frontend.diag        platform.processor: x86_64
INFO   paperwork.frontend.diag        platform.version: #42-Ubuntu SMP Wed Mar 7 14:13:23 UTC 2018
INFO   paperwork.frontend.diag        platform.linux_distribution: ('', '', '')
INFO   paperwork.frontend.diag        platform.win32_ver: ('', '', '', '')
INFO   paperwork.frontend.diag        multiprocessing.cpu_count: 4
INFO   paperwork.frontend.diag        Available memory: 8305397760
INFO   paperwork.frontend.diag        ====== END OF SYSTEM INFO ======
INFO   paperwork.frontend.diag        ====== START OF PAPERWORK INFO ======
INFO   paperwork.frontend.diag        Paperwork version: 1.2.4-168-g8dd5004-refs/heads/develop
INFO   paperwork.frontend.diag        Scan library: Pyinsane2 2.0.12-19-gc251345
INFO   paperwork.frontend.diag        Total number of documents: 1
INFO   paperwork.frontend.diag        Document types: {"<class 'paperwork_backend.pdf.doc.PdfDoc'>": 0}
INFO   paperwork.frontend.diag        Total number of pages: 0 (average: 0.0/doc)
INFO   paperwork.frontend.diag        Maximum number of pages in one document: 5
INFO   paperwork.frontend.diag        ====== END OF PAPERWORK INFO ======
INFO   paperwork.frontend.diag        ====== START OF SCANNER INFO ======
INFO   paperwork.frontend.diag        0 scanners found
INFO   paperwork.frontend.diag        ====== END OF SCANNER INFORMATIONS ======

@jflesch
Copy link
Member

jflesch commented Mar 27, 2018

It doesn't see any scanner at all.

However, you're running it in Flatpak. To access the scanner from Flatpak, Paperwork needs the daemon Sane to be running on the host system. When updating your Ubuntu, maybe you disabled Saned unintentionally ? Just to be sure, can you run the following commands please ?

sudo apt install flatpak sane-utils
# Enable Saned on the loopback only
sudo sh -c "echo 127.0.0.1 >> /etc/sane.d/saned.conf"
sudo systemctl enable saned.socket
sudo systemctl start saned.socket

@h2ofranck
Copy link
Author

no it still does not work

franck@Terminator:~$ sudo apt install flatpak sane-utils
[sudo] Mot de passe de franck : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
sane-utils est déjà la version la plus récente (1.0.27-1~experimental2ubuntu2.1).
flatpak est déjà la version la plus récente (0.8.9-0ubuntu0.1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
franck@Terminator:~$ sudo sh -c "echo 127.0.0.1 >> /etc/sane.d/saned.conf"
franck@Terminator:~$ sudo systemctl enable saned.socket
franck@Terminator:~$ sudo systemctl start saned.socket
franck@Terminator:~$ systemctl status saned.socket
● saned.socket - saned incoming socket
   Loaded: loaded (/lib/systemd/system/saned.socket; enabled; vendor preset: enabled)
   Active: active (listening) since Tue 2018-03-27 14:19:56 CEST; 4h 23min ago
   Listen: [::]:6566 (Stream)
 Accepted: 10; Connected: 0

mars 27 14:19:56 Terminator systemd[1]: Listening on saned incoming socket.
INFO   paperwork.paperwork            Using locales in '/home/franck/.python-eggs/paperwork-1.2.4-py3.5.egg-tmp/paperwork/frontend/locale'
INFO   paperwork_backend              Assuming we are running in Flatpak. Building tessdata directory /home/franck/.var/app/work.openpaper.Paperwork/data/paperwork/tessdata ...
INFO   paperwork_backend.util         Deleting file /home/franck/.var/app/work.openpaper.Paperwork/data/paperwork/tessdata/osd.traineddata
INFO   paperwork_backend.util         Deleting file /home/franck/.var/app/work.openpaper.Paperwork/data/paperwork/tessdata/eng.traineddata
INFO   paperwork_backend.util         Deleting file /home/franck/.var/app/work.openpaper.Paperwork/data/paperwork/tessdata/fra.traineddata
INFO   paperwork_backend.util         Deleting link /home/franck/.var/app/work.openpaper.Paperwork/data/paperwork/tessdata/tessconfigs
INFO   paperwork_backend.util         Deleting link /home/franck/.var/app/work.openpaper.Paperwork/data/paperwork/tessdata/configs
INFO   paperwork_backend.util         Deleting dir /home/franck/.var/app/work.openpaper.Paperwork/data/paperwork/tessdata
INFO   paperwork_backend              /app/share/locale/fr/fra.traineddata found
INFO   paperwork_backend              Tessdata directory ready
INFO   paperwork.paperwork            Initializing pyinsane ...
INFO   pyinsane2.sane.abstract_proc   Starting Pyinsane subprocess
INFO   pyinsane2.sane.abstract_proc   Pyinsane pipes: /tmp/pyinsane_o2f9yr4e/pipe_c2s | /tmp/pyinsane_o2f9yr4e/pipe_s2c
INFO   pyinsane2.sane.abstract_proc   Connected to Pyinsane subprocess
INFO   paperwork.paperwork            Initializing libnotify ...
INFO   paperwork_backend.config       Config file found: /home/franck/.var/app/work.openpaper.Paperwork/config/paperwork.conf
INFO   paperwork_backend.config       Reloading /home/franck/.var/app/work.openpaper.Paperwork/config/paperwork.conf ...
INFO   paperwork.frontend.util.jobs   [Scheduler Page boxes loader] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler Page boxes loader] Started
INFO   paperwork.frontend.util.jobs   [Scheduler Main] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler Main] Started
INFO   paperwork.frontend.util.jobs   [Scheduler Search] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler Search] Started
INFO   paperwork.frontend.util.jobs   [Scheduler Progress] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler Progress] Started
INFO   paperwork.frontend.util.jobs   [Scheduler Scan] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler Scan] Started
INFO   paperwork.frontend.util.jobs   [Scheduler Export] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler Export] Started
INFO   paperwork.frontend.util.jobs   [Scheduler OCR] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler OCR] Started
INFO   paperwork.frontend.util.jobs   [Scheduler Index search / update] Starting
INFO   paperwork.frontend.util.jobs   [Scheduler Index search / update] Started
INFO   paperwork.frontend.beacon      Updates were last checked: 2018-03-26 00:00:00
INFO   paperwork.frontend.beacon      No need to check for new updates yet
INFO   paperwork.frontend.util.canvas Animators: 1
INFO   paperwork.frontend.mainwindow  Image view port resized. (0, 0) --> (1042, 1126)
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.util.actions Action: [Refresh index]
INFO   paperwork.frontend.mainwindow  Image view port resized. (1042, 1126) --> (1042, 1039)
INFO   paperwork.frontend.mainwindow  Changing zoom level (internal): True/1.0
INFO   paperwork.frontend.mainwindow  Index loaded
INFO   paperwork.frontend.beacon      Anonymous statistics are disabled
INFO   paperwork.frontend.util.actions Action: [Set document date]
INFO   paperwork.frontend.mainwindow.docs Invalid date: Nouveau document
INFO   paperwork.frontend.mainwindow  Document examen finished. Updating index ...
INFO   paperwork.frontend.mainwindow  1 labels found
INFO   paperwork.frontend.mainwindow  New document: 0
INFO   paperwork.frontend.mainwindow  Updated document: 0
INFO   paperwork.frontend.mainwindow  Deleted document: 0
INFO   paperwork.frontend.mainwindow  No changes
INFO   paperwork.frontend.util.canvas Animators: 0
INFO   paperwork.frontend.util.canvas Animators: 1
INFO   paperwork.frontend.mainwindow  Searching: []
INFO   paperwork.frontend.mainwindow  Got 1 documents
INFO   paperwork.frontend.mainwindow.docs Will display documents 0:50 (actual number: 1)
INFO   paperwork.frontend.mainwindow  Got 0 suggestions
INFO   paperwork.frontend.mainwindow.docs Will get thumbnails for 1 documents [0-2]
INFO   paperwork.frontend.mainwindow.docs Start thumbnailing 1 documents (DocThumbnailer:0)
INFO   paperwork.frontend.mainwindow.docs [DocThumbnailer:0]: Got thumbnail for 20180327_1317_31 (0.002784s)
INFO   paperwork.frontend.mainwindow.docs End of thumbnailing [DocThumbnailer:0]
INFO   paperwork.frontend.util.actions Action: [Opening diagnostic dialog]
INFO   paperwork.frontend.diag        ====== START OF SYSTEM INFO ======
INFO   paperwork.frontend.diag        os.name: posix
INFO   paperwork.frontend.diag        sys.version: 3.5.2 (default, Jan 10 2018, 06:17:28) 
[GCC 6.2.0]
INFO   paperwork.frontend.diag        os.uname: posix.uname_result(sysname='Linux', nodename='Terminator', release='4.13.0-37-generic', version='#42-Ubuntu SMP Wed Mar 7 14:13:23 UTC 2018', machine='x86_64')
INFO   paperwork.frontend.diag        platform.architecture: ('64bit', 'ELF')
INFO   paperwork.frontend.diag        platform.platform: Linux-4.13.0-37-generic-x86_64-with-glibc2.3.4
INFO   paperwork.frontend.diag        platform.processor: x86_64
INFO   paperwork.frontend.diag        platform.version: #42-Ubuntu SMP Wed Mar 7 14:13:23 UTC 2018
INFO   paperwork.frontend.diag        platform.linux_distribution: ('', '', '')
INFO   paperwork.frontend.diag        platform.win32_ver: ('', '', '', '')
INFO   paperwork.frontend.diag        multiprocessing.cpu_count: 4
INFO   paperwork.frontend.diag        Available memory: 8305397760
INFO   paperwork.frontend.diag        ====== END OF SYSTEM INFO ======
INFO   paperwork.frontend.diag        ====== START OF PAPERWORK INFO ======
INFO   paperwork.frontend.diag        Paperwork version: 1.2.4-168-g8dd5004-refs/heads/develop
INFO   paperwork.frontend.diag        Scan library: Pyinsane2 2.0.12-19-gc251345
INFO   paperwork.frontend.diag        Total number of documents: 1
INFO   paperwork.frontend.diag        Document types: {"<class 'paperwork_backend.pdf.doc.PdfDoc'>": 0}
INFO   paperwork.frontend.diag        Total number of pages: 0 (average: 0.0/doc)
INFO   paperwork.frontend.diag        Maximum number of pages in one document: 5
INFO   paperwork.frontend.diag        ====== END OF PAPERWORK INFO ======
INFO   paperwork.frontend.diag        ====== START OF SCANNER INFO ======
INFO   paperwork.frontend.diag        0 scanners found
INFO   paperwork.frontend.diag        ====== END OF SCANNER INFORMATIONS ======

@jflesch
Copy link
Member

jflesch commented Mar 27, 2018

Weird. And you said it works with xsane right ?

Can you try IronScanner and submit a test scan report with it please ? (you can submit a report even if it didn't find any scanner). It will provide more details.

@jflesch
Copy link
Member

jflesch commented Mar 27, 2018

I'm going to assume that the report https://openpaper.work/en-us/scanner_db/report/102/ is yours.
Are you sure it works with Xsane ? Because Sane reports no scanner at all.
Have you tried with Simple-scan ?

@h2ofranck
Copy link
Author

xsane & simple-scan work, no problem.
result ironscaner

@jflesch
Copy link
Member

jflesch commented Mar 27, 2018

Hm, OK, the result is not pretty, but at least IronScanner sees your scanner.
Which means the problem is probably between Flatpak and Saned.

@jflesch
Copy link
Member

jflesch commented Mar 27, 2018

Oh, "48 bits color" .. that explains the weird result ... It's not supported by Pyinsane.

@h2ofranck
Copy link
Author

sorry for report for report 102 to 104, the scanner power off automatically ;-)

@jflesch
Copy link
Member

jflesch commented Mar 27, 2018

Just to be sure: what does systemctl status saned.socket | cat returns ?
Also, I assume you have no firewall up ?

@h2ofranck
Copy link
Author

No, no firewall.

franck@Terminator:/tmp$ systemctl status saned.socket | cat
● saned.socket - saned incoming socket
   Loaded: loaded (/lib/systemd/system/saned.socket; enabled; vendor preset: enabled)
   Active: active (listening) since Tue 2018-03-27 14:19:56 CEST; 9h ago
   Listen: [::]:6566 (Stream)
 Accepted: 12; Connected: 0

mars 27 14:19:56 Terminator systemd[1]: Listening on saned incoming socket.

@jflesch
Copy link
Member

jflesch commented Mar 28, 2018

Well, I'm running out of ideas :/

I think the manual installation should work for you, but it makes uninstallating Paperwork harder :/

@jflesch
Copy link
Member

jflesch commented Mar 28, 2018

Just in case, can you paste the output of apt show sane-utils here please ?

@h2ofranck
Copy link
Author

franck@Terminator:~$ sudo apt show sane-utils -a
Package: sane-utils
Version: 1.0.27-1~experimental2ubuntu2.1
Priority: optional
Section: graphics
Source: sane-backends
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Jörg Frings-Fürst <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 574 kB
Depends: adduser, lsb-base (>= 3.0-6), update-inetd, debconf (>= 0.5) | debconf-2.0, init-system-helpers (>= 1.18~), libavahi-client3 (>= 0.6.16), libavahi-common3 (>= 0.6.16), libc6 (>= 2.15), libieee1284-3, libjpeg8 (>= 8c), libpng16-16 (>= 1.6.2-1), libsane1 (>= 1.0.27), libsystemd0, libusb-1.0-0 (>= 2:1.0.8)
Suggests: avahi-daemon, unpaper
Homepage: http://www.sane-project.org
Task: ubuntu-desktop, ubuntu-usb, print-server, kubuntu-desktop, edubuntu-desktop, edubuntu-usb, xubuntu-core, xubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntu-gnome-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Supported: 9m
Download-Size: 186 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu artful-updates/main amd64 Packages
Description: Bibliothèque API pour les scanneurs - utilitaires
 SANE signifie « Scanner Access Now Easy » (accès au scanner maintenant
 facile) et est une interface de programmation pour une application (API ;
 application programming interface) qui fournit un accès standardisé à tout
 matériel de numérisation d'image (scanner à plat, à main, vidéo et caméra
 fixe, frame-grabbers, etc.). Le standard SANE est libre et ses discussions
 ou développement sont libres pour tout le monde. Le code source courant
 est écrit pour supporter plusieurs systèmes d'exploitation, incluant
 GNU/Linux, OS/2, Win32, ainsi que diverses versions d'Unix et est
 disponible sous la Licence Publique Générale de GNU (les applications
 commerciales et utilitaires sont aussi, néanmoins, les bienvenues).
 .
 Ce paquet comprend l'interface en ligne de commande scanimage, le serveur
 saned et l'utilitaire sane-find-scanner, avec leur documentation.

@jflesch jflesch changed the title Canon 9000F mark II not work Canon 9000F mark II doesn't work Mar 28, 2018
@jflesch jflesch modified the milestones: 1.2.5, hardware Apr 10, 2018
@jflesch jflesch removed the hardware label Apr 10, 2018
@halbekanne
Copy link

halbekanne commented May 21, 2018

Hi, I'm having the same kind of problem, just with a different Scanner (ironscaner report here, scanning works):

  • Installed via Flatpak
  • Saned enabled and started (output of status saned.socket), configured to be accessible via 127.0.0.1
  • works with xsane
  • Diagnostics results finds no scanner (report here)
  • Kubuntu 18.04
  • local install works (able to detect and scan, OCR hangs but that's another issue)
  • It worked with the same scanner on the same machine (previous version of Paperwork, Debian install), not sure if it was installed via flatpak or not.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants