Closed Eniotan closed 10 years ago
Regarding list_all.py: Please keep in mind all my code is for python2.7, and ArchLinux uses by default Python 3. So the correct command would be:
$ python2.7 ./list_all.py
That's weird : scanimage -L reports only one device, but Paperwork obviously get 2 :
Also, there is an uncatched exception when it tries to get the available resolutions of each one. I assume it's normal for the first one. For the second one, it's a known bug, and it has already been fixed in the branch 'unstable' (see #230). It's probably why your scan is cropped too small.
Please try the branch 'unstable' and tell me if it works better for you:
$ git clone https://github.com/jflesch/paperwork.git
$ cd paperwork
# (system-wide installation)
$ sudo python ./setup.py install
Sorry for the output of "scanimage -L", only one of my 2 devices were connected.
$python2.7 ./list_all.py
Traceback (most recent call last):
File "./list_all.py", line 3, in <module>
import src.abstract as pyinsane
File "/home/antoine/pyinsane/src/abstract.py", line 1, in <module>
from PIL import Image
ImportError: No module named PIL
It seems I've a problem with Pyocr. I've tried with python2-pyocr and python2-pyocr-git installed via yaourt.
$sudo pip install "git+git://github.com/jflesch/paperwork.git#egg=paperwork"
Downloading/unpacking paperwork from git+git://github.com/jflesch/paperwork.git
Cloning git://github.com/jflesch/paperwork.git to /tmp/pip_build_root/paperwork
Running setup.py egg_info for package paperwork
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/pip_build_root/paperwork/setup.py", line 197
print "Couldn't import Pyocr. Will assume OCR tool is not installed yet"
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/pip_build_root/paperwork/setup.py", line 197
print "Couldn't import Pyocr. Will assume OCR tool is not installed yet"
^
SyntaxError: invalid syntax
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/paperwork
Storing complete log in /root/.pip/pip.log
And the pip.log:
$sudo cat /root/.pip/pip.log
------------------------------------------------------------
/usr/bin/pip run on Sun Aug 18 17:06:06 2013
Downloading/unpacking paperwork from git+git://github.com/jflesch/paperwork.git
Cloning git://github.com/jflesch/paperwork.git to /tmp/pip_build_root/paperwork
Found command 'git' at '/usr/bin/git'
Running command /usr/bin/git clone -q git://github.com/jflesch/paperwork.git /tmp/pip_build_root/paperwork
Running setup.py egg_info for package paperwork
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/pip_build_root/paperwork/setup.py", line 197
print "Couldn't import Pyocr. Will assume OCR tool is not installed yet"
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/pip_build_root/paperwork/setup.py", line 197
print "Couldn't import Pyocr. Will assume OCR tool is not installed yet"
^
SyntaxError: invalid syntax
----------------------------------------
Cleaning up...
Removing temporary dir /tmp/pip_build_root...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/paperwork
Exception information:
Traceback (most recent call last):
File "/usr/lib/python3.3/site-packages/pip/basecommand.py", line 134, in main
status = self.run(options, args)
File "/usr/lib/python3.3/site-packages/pip/commands/install.py", line 236, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python3.3/site-packages/pip/req.py", line 1134, in prepare_files
req_to_install.run_egg_info()
File "/usr/lib/python3.3/site-packages/pip/req.py", line 259, in run_egg_info
command_desc='python setup.py egg_info')
File "/usr/lib/python3.3/site-packages/pip/util.py", line 670, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/paperwork
ImportError: No module named PIL
Hm, I have a felling you installed Paperwork and all its dependencies for Python 3 instead Python 2.7. I think you must also call "pip2.7" instead of "pip" to install everything for python 2.7.
Installed python2-pip, and the pip-2.7 command is ok:
sudo pip-2.7 install "git+git://github.com/jflesch/paperwork.git#egg=paperwork"
But same problem (output without gtk-warnings) :
INFO paperwork.paperwork Looking for locales in 'locale/fr/LC_MESSAGES/paperwork.mo' ...
INFO paperwork.paperwork Looking for locales in '/usr/local/share/locale/fr/LC_MESSAGES/paperwork.mo' ...
INFO paperwork.paperwork Looking for locales in '/usr/share/locale/fr/LC_MESSAGES/paperwork.mo' ...
INFO root Will use locales from '/usr/share/locale'
INFO paperwork.backend.config Config file found: /home/antoine/.config/paperwork.conf
INFO root UI file used: /usr/share/paperwork/mainwindow.glade
(paperwork:11943): Gtk-WARNING **: Could not load image 'paperwork.svg': Impossible d'ouvrir le fichier « /usr/share/paperwork/paperwork.svg » : Aucun fichier ou dossier de ce type
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
INFO paperwork.frontend.mainwindow Image view port resized. (0, 0) --> (565, 592)
INFO paperwork.frontend.jobs [Scheduler Progress] Starting
INFO paperwork.frontend.jobs [Scheduler Progress] Started
INFO paperwork.frontend.jobs [Scheduler Main] Starting
INFO paperwork.frontend.jobs [Scheduler Main] Started
INFO paperwork.frontend.actions Action: [Refresh index]
INFO paperwork.backend.docsearch Opening index dir '/home/antoine/.local/share/paperwork/index' ...
INFO paperwork.frontend.mainwindow Image view port resized. (565, 592) --> (1219, 838)
INFO paperwork.frontend.mainwindow Document examen finished. Updating index ...
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.mainwindow List 'documents' : 2 elements displayed (2 additionnal)
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
INFO paperwork.frontend.actions Action: [Scan a single page]
INFO paperwork.backend.config Scanner mode set to 'Color'
ERROR paperwork.frontend.mainwindow Warning: Unable to set scanner source: ['Auto', 'FlatBed', '.*ADF.*', '.*Feeder.*'] are not a valid values for option source
WARNING paperwork.frontend.mainwindow Failed to read the resolution set on the scanner: <class 'pyinsane.rawapi.SaneStatus'> : Device is busy. Try again later (3). Assuming 300
INFO paperwork.backend.img.page Scanner resolution: 300
INFO paperwork.backend.img.page Scanner calibration: None
INFO paperwork.backend.img.page Scan rotated of 0 degree
INFO paperwork.backend.img.page Scan rotated of -90 degree
INFO paperwork.backend.img.page Scan rotated of -180 degree
INFO paperwork.backend.img.page Scan rotated of -270 degree
INFO paperwork.backend.img.page Using Tesseract for OCR
INFO paperwork.backend.img.page Running OCR on page orientation 0
INFO paperwork.backend.img.page Running OCR on page orientation 1
INFO paperwork.backend.img.page Running OCR on page orientation 2
INFO paperwork.backend.img.page Running OCR on page orientation 3
INFO paperwork.backend.img.page Evaluating score of page orientation (3) using method 'spell_checker' ...
ERROR paperwork.backend.img.page Scoring method 'spell_checker' on orientation 3 failed !
ERROR paperwork.backend.img.page Reason: Dictionary for language 'fr' could not be found
INFO paperwork.backend.img.page Evaluating score of page orientation (3) using method 'lucky_guess' ...
INFO paperwork.backend.img.page Page orientation 3 score: 3
INFO paperwork.backend.img.page Evaluating score of page orientation (1) using method 'spell_checker' ...
ERROR paperwork.backend.img.page Scoring method 'spell_checker' on orientation 1 failed !
ERROR paperwork.backend.img.page Reason: Dictionary for language 'fr' could not be found
INFO paperwork.backend.img.page Evaluating score of page orientation (1) using method 'lucky_guess' ...
INFO paperwork.backend.img.page Page orientation 1 score: 0
INFO paperwork.backend.img.page Evaluating score of page orientation (2) using method 'spell_checker' ...
ERROR paperwork.backend.img.page Scoring method 'spell_checker' on orientation 2 failed !
ERROR paperwork.backend.img.page Reason: Dictionary for language 'fr' could not be found
INFO paperwork.backend.img.page Evaluating score of page orientation (2) using method 'lucky_guess' ...
INFO paperwork.backend.img.page Page orientation 2 score: 1
INFO paperwork.backend.img.page Evaluating score of page orientation (0) using method 'spell_checker' ...
ERROR paperwork.backend.img.page Scoring method 'spell_checker' on orientation 0 failed !
ERROR paperwork.backend.img.page Reason: Dictionary for language 'fr' could not be found
INFO paperwork.backend.img.page Evaluating score of page orientation (0) using method 'lucky_guess' ...
INFO paperwork.backend.img.page Page orientation 0 score: 1
INFO paperwork.backend.img.page Best: 3.000000
INFO paperwork.backend.img.page Extracting boxes ...
INFO paperwork.backend.img.page Done
INFO paperwork.backend.img.page Scan done
INFO paperwork.backend.docsearch Updating modified doc: 20130818_1816_12
INFO paperwork.backend.docsearch Index: Commiting changes
INFO paperwork.backend.docsearch Adding document '20130818_1816_12' to the index
WARNING paperwork.frontend.jobs Job SingleScan:0 took 30582ms and is unstoppable ! (maximum allowed: 500ms)
INFO paperwork.frontend.mainwindow List 'pages' : 1 elements displayed (1 additionnal)
INFO root Showing page 20130818_1816_12 p1
INFO paperwork.frontend.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow No document selected. Can't open
INFO paperwork.frontend.mainwindow Doc list refresh: 'new doc' popped out of the list
INFO paperwork.frontend.mainwindow Doc list refresh: 0:20130818_1816_12 added
INFO paperwork.frontend.mainwindow Search:
INFO paperwork.frontend.mainwindow Doc list refresh: 'new doc' reinserted in the list
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
INFO paperwork.frontend.mainwindow Will redo thumbnails: [(1, <paperwork.backend.img.doc.ImgDoc object at 0x5324e50>)]
INFO paperwork.frontend.mainwindow Image view port resized. (1219, 838) --> (1179, 838)
INFO paperwork.frontend.mainwindow Zoom: 0.969572
And all dependancies seems to be ok:
$sudo pip-2.7 install "git+git://github.com/jflesch/paperwork.git#egg=paperwork"
Requirement already satisfied (use --upgrade to upgrade): paperwork from git+git://github.com/jflesch/paperwork.git in /usr/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): nltk in /usr/lib/python2.7/site-packages (from paperwork)
Requirement already satisfied (use --upgrade to upgrade): Pillow in /usr/lib/python2.7/site-packages (from paperwork)
Requirement already satisfied (use --upgrade to upgrade): pycountry in /usr/lib/python2.7/site-packages (from paperwork)
Requirement already satisfied (use --upgrade to upgrade): pyenchant in /usr/lib/python2.7/site-packages (from paperwork)
Requirement already satisfied (use --upgrade to upgrade): Whoosh in /usr/lib/python2.7/site-packages (from paperwork)
Requirement already satisfied (use --upgrade to upgrade): pyinsane>=1.1.0 in /usr/lib/python2.7/site-packages (from paperwork)
Requirement already satisfied (use --upgrade to upgrade): pyocr in /usr/lib/python2.7/site-packages (from paperwork)
Requirement already satisfied (use --upgrade to upgrade): PyYAML>=3.09 in /usr/lib/python2.7/site-packages (from nltk->paperwork)
Cleaning up...
Arghh. I'm so impatient to work with paperwork since I've seen the article on linuxfr.org...
Hm, did you try the branch 'unstable' as I suggested ? As I said, your settings dialog's bug is probably already fixed, and this is probably what caused the wrong cropping of your scans.
$ git clone https://github.com/jflesch/paperwork.git $ cd paperwork $ sudo python ./setup.py install
ERROR paperwork.backend.img.page Reason: Dictionary for language 'fr' could not be found
You're missing the french dictionnary for python-enchant. It will make orientation detection less reliable. I think install myspell-fr[-gut] will solve that.
Woops, I meant:
$ git clone https://github.com/jflesch/paperwork.git $ cd paperwork $ git checkout unstable $ sudo python ./setup.py install
Sorry.
Argh, I forgot a few things required for the branch 'unstable':
$ pacman -S zlib-dev libblas-dev libatlas-dev liblapack-dev gcc-gfortran g++
$ sudo pip-2.7 install numpy scikit-learn
$ git clone https://github.com/jflesch/paperwork.git
$ cd paperwork
$ git checkout unstable
$ sudo python-2.7 ./setup.py install
You may have to adjust the package list for pacman. I don't know the exact package names for ArchLinux.
I now have new features with these commands, but no ability to define a larger zone to scan.
$paperwork
INFO paperwork.paperwork Looking for locales in 'locale/fr/LC_MESSAGES/paperwork.mo' ...
INFO paperwork.paperwork Looking for locales in '/usr/local/share/locale/fr/LC_MESSAGES/paperwork.mo' ...
INFO paperwork.paperwork Looking for locales in '/usr/share/locale/fr/LC_MESSAGES/paperwork.mo' ...
INFO root Will use locales from '/usr/share/locale'
INFO paperwork.backend.config Config file found: /home/antoine/.config/paperwork.conf
INFO root UI file used: /usr/share/paperwork/mainwindow/appmenu.xml
INFO root UI file used: /usr/share/paperwork/mainwindow/mainwindow.glade
(paperwork:28324): Gtk-WARNING **: Could not load image 'paperwork.svg': Impossible d'ouvrir le fichier « /usr/share/paperwork/mainwindow/paperwork.svg » : Aucun fichier ou dossier de ce type
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
INFO paperwork.frontend.mainwindow Image view port resized. (0, 0) --> (565, 657)
INFO paperwork.frontend.mainwindow Image view port resized. (565, 657) --> (565, 592)
INFO paperwork.frontend.util.jobs [Scheduler Progress] Starting
INFO paperwork.frontend.util.jobs [Scheduler Progress] Started
INFO paperwork.frontend.util.jobs [Scheduler Main] Starting
INFO paperwork.frontend.util.jobs [Scheduler Main] Started
INFO paperwork.frontend.util.actions Action: [Refresh index]
INFO paperwork.backend.docsearch Opening index dir '/home/antoine/.local/share/paperwork/index' ...
INFO paperwork.backend.docsearch Opening label_estimators file '/home/antoine/.local/share/paperwork/label_estimators/label_estimators.jbl' ...
INFO paperwork.frontend.mainwindow Image view port resized. (565, 592) --> (31, 838)
INFO paperwork.frontend.mainwindow Image view port resized. (31, 838) --> (1219, 838)
INFO paperwork.frontend.util.progressivelist List 'documents' : 4 elements displayed (4 additionnal)
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
INFO paperwork.frontend.mainwindow Document examen finished. Updating index ...
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.actions Action: [Scan a single page]
INFO paperwork.backend.config Scanner mode set to 'Color'
ERROR paperwork.frontend.mainwindow Warning: Unable to set scanner source: ['Auto', 'FlatBed', '.*ADF.*', '.*Feeder.*'] are not a valid values for option source
WARNING paperwork.frontend.mainwindow Failed to read the resolution set on the scanner: <class 'pyinsane.rawapi.SaneStatus'> : Device is busy. Try again later (3). Assuming 300
INFO paperwork.frontend.util.actions Action: [Open settings dialog]
INFO root UI file used: /usr/share/paperwork/settingswindow/settingswindow.glade
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
/usr/lib/python2.7/site-packages/gi/types.py:113: Warning: g_object_set_property: assertion `G_IS_VALUE (value)' failed
return info.invoke(*args, **kwargs)
/usr/lib/python2.7/site-packages/gi/types.py:113: Warning: g_value_unset: assertion `G_IS_VALUE (value)' failed
return info.invoke(*args, **kwargs)
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
INFO paperwork.frontend.util.jobs [Scheduler progress] Starting
INFO paperwork.frontend.util.jobs [Scheduler progress] Started
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
INFO paperwork.backend.img.page Scanner resolution: 300
INFO paperwork.backend.img.page Scanner calibration: None
INFO paperwork.backend.img.page Scan rotated of 0 degree
INFO paperwork.backend.img.page Scan rotated of -90 degree
INFO paperwork.backend.img.page Scan rotated of -180 degree
INFO paperwork.backend.img.page Scan rotated of -270 degree
INFO paperwork.backend.img.page Using Tesseract for OCR
INFO paperwork.backend.img.page Running OCR on page orientation 0
INFO paperwork.backend.img.page Running OCR on page orientation 1
INFO paperwork.backend.img.page Running OCR on page orientation 2
INFO paperwork.backend.img.page Running OCR on page orientation 3
INFO paperwork.backend.img.page Evaluating score of page orientation (1) using method 'spell_checker' ...
INFO paperwork.backend.img.page Page orientation 1 score: -50
INFO paperwork.backend.img.page Evaluating score of page orientation (0) using method 'spell_checker' ...
INFO paperwork.backend.img.page Evaluating score of page orientation (3) using method 'spell_checker' ...
INFO paperwork.backend.img.page Evaluating score of page orientation (2) using method 'spell_checker' ...
INFO paperwork.backend.img.page Page orientation 0 score: 40
INFO paperwork.backend.img.page Page orientation 3 score: 510
INFO paperwork.backend.img.page Page orientation 2 score: -55
INFO paperwork.backend.img.page Best: 510.000000
INFO paperwork.backend.img.page Extracting boxes ...
INFO paperwork.backend.img.page Done
INFO paperwork.backend.img.page Scan done
INFO paperwork.backend.docsearch Updating modified doc: 20130818_1901_35
INFO paperwork.backend.docsearch Fitting estimator with doc: 20130818_1901_35
INFO paperwork.backend.docsearch Index: Commiting changes and saving estimators
INFO paperwork.backend.docsearch Adding document '20130818_1901_35' to the index
WARNING paperwork.frontend.util.jobs Job SingleScan:0 took 31464ms and is unstoppable ! (maximum allowed: 500ms)
INFO paperwork.frontend.settingswindow Looking for scan devices ...
INFO paperwork.frontend.util.progressivelist List 'pages' : 1 elements displayed (1 additionnal)
INFO root Showing page 20130818_1901_35 p1
INFO paperwork.frontend.util.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow No document selected. Can't open
INFO paperwork.frontend.mainwindow Doc list refresh: 'new doc' popped out of the list
INFO paperwork.frontend.mainwindow Doc list refresh: 0:20130818_1901_35 added
INFO paperwork.frontend.mainwindow Search:
INFO paperwork.frontend.mainwindow Doc list refresh: 'new doc' reinserted in the list
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
INFO paperwork.frontend.mainwindow Will redo thumbnails: [(1, <paperwork.backend.img.doc.ImgDoc object at 0x716c410>)]
INFO paperwork.frontend.mainwindow Image view port resized. (1219, 838) --> (1179, 838)
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: [Open selected document]
INFO paperwork.frontend.mainwindow Showing doc 20130818_1901_35
INFO paperwork.frontend.util.actions Action: [Show a page (selected from the page thumbnail list)]
INFO paperwork.frontend.settingswindow Device found: [Noname Hercules Dualpix Exchange] -> [v4l:/dev/video0]
INFO paperwork.frontend.settingswindow Device found: [Canon CanoScan N670U/N676U/LiDE20] -> [plustek:libusb:005:012]
INFO paperwork.frontend.settingswindow Got value [['Noname Hercules Dualpix Exchange', 'v4l:/dev/video0']]
WARNING paperwork.frontend.util.jobs Job DeviceFinder:0 took 6191ms and is unstoppable ! (maximum allowed: 500ms)
INFO paperwork.frontend.settingswindow Got value [['Canon CanoScan N670U/N676U/LiDE20', 'plustek:libusb:005:012']]
INFO paperwork.frontend.mainwindow Zoom: 0.969572
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
INFO paperwork.frontend.util.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow Showing doc 20130818_1901_35
/usr/lib/python2.7/site-packages/gi/overrides/Gtk.py:511: PyGIDeprecationWarning: The use of the keyword type as a parameter of the Gtk.MessageDialog constructor has been depricated. Please use message_type instead.
warnings.warn("The use of the keyword type as a parameter of the Gtk.MessageDialog constructor has been depricated. Please use message_type instead.", PyGIDeprecationWarning)
INFO paperwork.frontend.util.actions Action: [Delete document]
INFO paperwork.frontend.mainwindow Deleting ...
INFO paperwork.backend.common.doc Destroying doc: /home/antoine/papers/20130818_1901_35
INFO root Deleting file /home/antoine/papers/20130818_1901_35/paper.1.jpg
INFO root Deleting file /home/antoine/papers/20130818_1901_35/paper.1.thumb.jpg
INFO root Deleting file /home/antoine/papers/20130818_1901_35/paper.1.words
INFO paperwork.backend.common.doc Done
INFO paperwork.backend.docsearch Removing doc from the index: 20130818_1901_35
INFO paperwork.backend.docsearch Index: Commiting changes and saving estimators
INFO paperwork.backend.docsearch Index: Reloading ...
INFO paperwork.frontend.mainwindow Deleted
INFO paperwork.frontend.util.actions Action: [New document]
INFO paperwork.frontend.util.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow Showing doc 20130818_1902_14
INFO paperwork.frontend.util.actions Action: [Show a page (selected from the page thumbnail list)]
INFO root Showing page Dummy page
INFO paperwork.frontend.util.progressivelist List 'pages' : 0 elements displayed (0 additionnal)
INFO paperwork.frontend.mainwindow Doc list refresh: 1:20130818_1901_35 deleted
INFO paperwork.frontend.util.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow No document selected. Can't open
INFO paperwork.frontend.mainwindow Doc list refresh: 'new doc' popped out of the list
INFO paperwork.frontend.mainwindow Search:
INFO paperwork.frontend.mainwindow Doc list refresh: 'new doc' reinserted in the list
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
INFO paperwork.frontend.mainwindow Image view port resized. (1179, 838) --> (1219, 838)
INFO paperwork.frontend.util.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow Showing doc 20130818_1858_12
INFO paperwork.frontend.util.progressivelist List 'pages' : 1 elements displayed (1 additionnal)
INFO root Showing page 20130818_1858_12 p1
INFO paperwork.frontend.mainwindow Zoom: 1.002467
INFO paperwork.frontend.mainwindow Image view port resized. (1219, 838) --> (1179, 838)
INFO paperwork.frontend.mainwindow Zoom: 0.969572
/usr/lib/python2.7/site-packages/gi/overrides/Gtk.py:511: PyGIDeprecationWarning: The use of the keyword type as a parameter of the Gtk.MessageDialog constructor has been depricated. Please use message_type instead.
warnings.warn("The use of the keyword type as a parameter of the Gtk.MessageDialog constructor has been depricated. Please use message_type instead.", PyGIDeprecationWarning)
INFO paperwork.frontend.util.actions Action: [Delete document]
INFO paperwork.frontend.mainwindow Deleting ...
INFO paperwork.backend.common.doc Destroying doc: /home/antoine/papers/20130818_1858_12
INFO root Deleting file /home/antoine/papers/20130818_1858_12/paper.1.jpg
INFO root Deleting file /home/antoine/papers/20130818_1858_12/paper.1.thumb.jpg
INFO root Deleting file /home/antoine/papers/20130818_1858_12/paper.1.words
INFO paperwork.backend.common.doc Done
INFO paperwork.backend.docsearch Removing doc from the index: 20130818_1858_12
INFO paperwork.backend.docsearch Index: Commiting changes and saving estimators
INFO paperwork.backend.docsearch Index: Reloading ...
INFO paperwork.frontend.mainwindow Deleted
INFO paperwork.frontend.util.actions Action: [New document]
INFO paperwork.frontend.util.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow Showing doc 20130818_1902_27
INFO paperwork.frontend.util.actions Action: [Show a page (selected from the page thumbnail list)]
INFO root Showing page Dummy page
INFO paperwork.frontend.util.progressivelist List 'pages' : 0 elements displayed (0 additionnal)
INFO paperwork.frontend.mainwindow Doc list refresh: 1:20130818_1858_12 deleted
INFO paperwork.frontend.util.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow No document selected. Can't open
INFO paperwork.frontend.mainwindow Doc list refresh: 'new doc' popped out of the list
INFO paperwork.frontend.mainwindow Search:
INFO paperwork.frontend.mainwindow Doc list refresh: 'new doc' reinserted in the list
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
INFO paperwork.frontend.mainwindow Image view port resized. (1179, 838) --> (1219, 838)
INFO paperwork.frontend.util.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow Showing doc 20130818_1816_12
INFO paperwork.frontend.util.progressivelist List 'pages' : 1 elements displayed (1 additionnal)
INFO root Showing page 20130818_1816_12 p1
INFO paperwork.frontend.mainwindow Zoom: 1.002467
INFO paperwork.frontend.mainwindow Image view port resized. (1219, 838) --> (1179, 838)
INFO paperwork.frontend.mainwindow Zoom: 0.969572
/usr/lib/python2.7/site-packages/gi/overrides/Gtk.py:511: PyGIDeprecationWarning: The use of the keyword type as a parameter of the Gtk.MessageDialog constructor has been depricated. Please use message_type instead.
warnings.warn("The use of the keyword type as a parameter of the Gtk.MessageDialog constructor has been depricated. Please use message_type instead.", PyGIDeprecationWarning)
INFO paperwork.frontend.util.actions Action: [Delete document]
INFO paperwork.frontend.mainwindow Deleting ...
INFO paperwork.backend.common.doc Destroying doc: /home/antoine/papers/20130818_1816_12
INFO root Deleting file /home/antoine/papers/20130818_1816_12/paper.1.jpg
INFO root Deleting file /home/antoine/papers/20130818_1816_12/paper.1.thumb.jpg
INFO root Deleting file /home/antoine/papers/20130818_1816_12/paper.1.words
INFO paperwork.backend.common.doc Done
INFO paperwork.backend.docsearch Removing doc from the index: 20130818_1816_12
INFO paperwork.backend.docsearch Index: Commiting changes and saving estimators
INFO paperwork.backend.docsearch Index: Reloading ...
INFO paperwork.frontend.mainwindow Deleted
INFO paperwork.frontend.util.actions Action: [New document]
INFO paperwork.frontend.util.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow Showing doc 20130818_1902_30
INFO paperwork.frontend.util.actions Action: [Show a page (selected from the page thumbnail list)]
INFO root Showing page Dummy page
INFO paperwork.frontend.util.progressivelist List 'pages' : 0 elements displayed (0 additionnal)
INFO paperwork.frontend.mainwindow Doc list refresh: 1:20130818_1816_12 deleted
INFO paperwork.frontend.util.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow No document selected. Can't open
INFO paperwork.frontend.mainwindow Doc list refresh: 'new doc' popped out of the list
INFO paperwork.frontend.mainwindow Search:
INFO paperwork.frontend.mainwindow Doc list refresh: 'new doc' reinserted in the list
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
INFO paperwork.frontend.mainwindow Image view port resized. (1179, 838) --> (1219, 838)
INFO paperwork.frontend.util.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow Showing doc 20130818_1809_17
INFO paperwork.frontend.util.progressivelist List 'pages' : 1 elements displayed (1 additionnal)
INFO root Showing page 20130818_1809_17 p1
INFO paperwork.frontend.mainwindow Image view port resized. (1219, 838) --> (1179, 838)
INFO paperwork.frontend.mainwindow Zoom: 1.455556
/usr/lib/python2.7/site-packages/gi/overrides/Gtk.py:511: PyGIDeprecationWarning: The use of the keyword type as a parameter of the Gtk.MessageDialog constructor has been depricated. Please use message_type instead.
warnings.warn("The use of the keyword type as a parameter of the Gtk.MessageDialog constructor has been depricated. Please use message_type instead.", PyGIDeprecationWarning)
INFO paperwork.frontend.util.actions Action: [Delete document]
INFO paperwork.frontend.mainwindow Deleting ...
INFO paperwork.backend.common.doc Destroying doc: /home/antoine/papers/20130818_1809_17
INFO root Deleting file /home/antoine/papers/20130818_1809_17/paper.1.jpg
INFO root Deleting file /home/antoine/papers/20130818_1809_17/paper.1.thumb.jpg
INFO root Deleting file /home/antoine/papers/20130818_1809_17/paper.1.words
INFO paperwork.backend.common.doc Done
INFO paperwork.backend.docsearch Removing doc from the index: 20130818_1809_17
INFO paperwork.backend.docsearch Index: Commiting changes and saving estimators
INFO paperwork.backend.docsearch Index: Reloading ...
INFO paperwork.frontend.mainwindow Deleted
INFO paperwork.frontend.util.actions Action: [New document]
INFO paperwork.frontend.util.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow Showing doc 20130818_1902_33
INFO paperwork.frontend.util.actions Action: [Show a page (selected from the page thumbnail list)]
INFO root Showing page Dummy page
INFO paperwork.frontend.util.progressivelist List 'pages' : 0 elements displayed (0 additionnal)
INFO paperwork.frontend.mainwindow Doc list refresh: 1:20130818_1809_17 deleted
INFO paperwork.frontend.util.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow No document selected. Can't open
INFO paperwork.frontend.mainwindow Doc list refresh: 'new doc' popped out of the list
INFO paperwork.frontend.mainwindow Search:
INFO paperwork.frontend.mainwindow Doc list refresh: 'new doc' reinserted in the list
INFO paperwork.frontend.mainwindow Image view port resized. (1179, 838) --> (1219, 838)
INFO paperwork.frontend.util.actions Action: [Open settings dialog]
INFO root UI file used: /usr/share/paperwork/settingswindow/settingswindow.glade
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
INFO paperwork.frontend.util.jobs [Scheduler progress] Starting
INFO paperwork.frontend.util.jobs [Scheduler progress] Started
INFO paperwork.frontend.settingswindow Looking for scan devices ...
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:28324): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
INFO paperwork.frontend.settingswindow Device found: [Noname Hercules Dualpix Exchange] -> [v4l:/dev/video0]
INFO paperwork.frontend.settingswindow Device found: [Canon CanoScan N670U/N676U/LiDE20] -> [plustek:libusb:005:012]
INFO paperwork.frontend.settingswindow Got value [['Noname Hercules Dualpix Exchange', 'v4l:/dev/video0']]
INFO paperwork.frontend.settingswindow Got value [['Canon CanoScan N670U/N676U/LiDE20', 'plustek:libusb:005:012']]
WARNING paperwork.frontend.util.jobs Job DeviceFinder:0 took 6399ms and is unstoppable ! (maximum allowed: 500ms)
INFO paperwork.frontend.settingswindow Select scanner: 1
INFO paperwork.frontend.settingswindow Looking for resolution of device [plustek:libusb:005:012]
/usr/lib/python2.7/site-packages/gi/types.py:113: Warning: unable to set property `sensitive' of type `gboolean' from value of type `gchararray'
return info.invoke(*args, **kwargs)
/usr/lib/python2.7/site-packages/gi/types.py:113: Warning: unable to set property `xpad' of type `guint' from value of type `gchararray'
return info.invoke(*args, **kwargs)
INFO paperwork.frontend.settingswindow Resolutions found: (50, 1200, 0)
INFO paperwork.frontend.settingswindow Got value [['50', 50]]
INFO paperwork.frontend.settingswindow Got value [['100', 100]]
INFO paperwork.frontend.settingswindow Got value [['150', 150]]
INFO paperwork.frontend.settingswindow Got value [['200', 200]]
INFO paperwork.frontend.settingswindow Got value [['250', 250]]
INFO paperwork.frontend.settingswindow Got value [['300 (recommand\xc3\xa9e)', 300]]
INFO paperwork.frontend.settingswindow Got value [['350', 350]]
INFO paperwork.frontend.settingswindow Got value [['400', 400]]
INFO paperwork.frontend.settingswindow Got value [['450', 450]]
INFO paperwork.frontend.settingswindow Got value [['500', 500]]
INFO paperwork.frontend.settingswindow Got value [['550', 550]]
INFO paperwork.frontend.settingswindow Got value [['600', 600]]
INFO paperwork.frontend.settingswindow Got value [['650', 650]]
INFO paperwork.frontend.settingswindow Got value [['700', 700]]
INFO paperwork.frontend.settingswindow Got value [['750', 750]]
INFO paperwork.frontend.settingswindow Got value [['800', 800]]
INFO paperwork.frontend.settingswindow Got value [['850', 850]]
INFO paperwork.frontend.settingswindow Got value [['900', 900]]
INFO paperwork.frontend.settingswindow Got value [['950', 950]]
INFO paperwork.frontend.settingswindow Got value [['1000', 1000]]
INFO paperwork.frontend.settingswindow Got value [['1050', 1050]]
INFO paperwork.frontend.settingswindow Got value [['1100', 1100]]
INFO paperwork.frontend.settingswindow Got value [['1150', 1150]]
INFO paperwork.frontend.settingswindow Got value [['1200', 1200]]
INFO paperwork.frontend.settingswindow Will do the calibration scan with a resolution of 200
ERROR paperwork.frontend.settingswindow Warning: Unable to set scanner source: ['Auto', 'FlatBed', '.*ADF.*', '.*Feeder.*'] are not a valid values for option source
INFO paperwork.frontend.settingswindow Scanner mode set to 'Color'
INFO paperwork.frontend.settingswindow Calibration: Got an image of size '(810, 600)'
INFO paperwork.frontend.settingswindow Calibration: Will resize it to: ((332, 245)) (ratio: 0.409877)
WARNING paperwork.frontend.util.jobs Job CalibrationScan:0 took 23569ms and is unstoppable ! (maximum allowed: 500ms)
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: [Scan a single page]
INFO paperwork.backend.config Scanner mode set to 'Color'
ERROR paperwork.frontend.mainwindow Warning: Unable to set scanner source: ['Auto', 'FlatBed', '.*ADF.*', '.*Feeder.*'] are not a valid values for option source
WARNING paperwork.frontend.mainwindow Failed to read the resolution set on the scanner: <class 'pyinsane.rawapi.SaneStatus'> : Device is busy. Try again later (3). Assuming 300
INFO paperwork.backend.img.page Scanner resolution: 300
INFO paperwork.backend.img.page Scanner calibration: None
INFO paperwork.backend.img.page Scan rotated of 0 degree
INFO paperwork.backend.img.page Scan rotated of -90 degree
INFO paperwork.backend.img.page Scan rotated of -180 degree
INFO paperwork.backend.img.page Scan rotated of -270 degree
INFO paperwork.backend.img.page Using Tesseract for OCR
INFO paperwork.backend.img.page Running OCR on page orientation 0
INFO paperwork.backend.img.page Running OCR on page orientation 1
INFO paperwork.backend.img.page Running OCR on page orientation 2
INFO paperwork.backend.img.page Running OCR on page orientation 3
INFO paperwork.backend.img.page Evaluating score of page orientation (3) using method 'spell_checker' ...
INFO paperwork.backend.img.page Page orientation 3 score: 515
INFO paperwork.backend.img.page Evaluating score of page orientation (1) using method 'spell_checker' ...
INFO paperwork.backend.img.page Evaluating score of page orientation (2) using method 'spell_checker' ...
INFO paperwork.backend.img.page Evaluating score of page orientation (0) using method 'spell_checker' ...
INFO paperwork.backend.img.page Page orientation 1 score: -70
INFO paperwork.backend.img.page Page orientation 2 score: -60
INFO paperwork.backend.img.page Page orientation 0 score: 30
INFO paperwork.backend.img.page Best: 515.000000
INFO paperwork.backend.img.page Extracting boxes ...
INFO paperwork.backend.img.page Done
INFO paperwork.backend.img.page Scan done
INFO paperwork.backend.docsearch Updating modified doc: 20130818_1902_33
INFO paperwork.backend.docsearch Fitting estimator with doc: 20130818_1902_33
INFO paperwork.backend.docsearch Index: Commiting changes and saving estimators
INFO paperwork.backend.docsearch Adding document '20130818_1902_33' to the index
WARNING paperwork.frontend.util.jobs Job SingleScan:1 took 29897ms and is unstoppable ! (maximum allowed: 500ms)
INFO paperwork.frontend.util.progressivelist List 'pages' : 1 elements displayed (1 additionnal)
INFO root Showing page 20130818_1902_33 p1
INFO paperwork.frontend.util.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow No document selected. Can't open
INFO paperwork.frontend.mainwindow Doc list refresh: 'new doc' popped out of the list
INFO paperwork.frontend.mainwindow Doc list refresh: 0:20130818_1902_33 added
INFO paperwork.frontend.mainwindow Search:
INFO paperwork.frontend.mainwindow Doc list refresh: 'new doc' reinserted in the list
INFO paperwork.frontend.mainwindow Will redo thumbnails: [(1, <paperwork.backend.img.doc.ImgDoc object at 0x7f768020a3d0>)]
INFO paperwork.frontend.mainwindow Zoom: 1.002467
INFO paperwork.frontend.mainwindow Image view port resized. (1219, 838) --> (1179, 838)
INFO paperwork.frontend.mainwindow Zoom: 0.969572
INFO paperwork.frontend.util.actions Action: [Quit (real)]
INFO paperwork.frontend.util.jobs [Scheduler Progress] Stopping
INFO paperwork.frontend.util.jobs [Scheduler Progress] Stopped
INFO paperwork.frontend.util.jobs [Scheduler Main] Stopping
INFO paperwork.frontend.util.jobs [Scheduler Main] Stopped
INFO paperwork.backend.config Writing /home/antoine/.config/paperwork.conf ...
INFO paperwork.backend.config Done
INFO paperwork.frontend.util.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow No document selected. Can't open
INFO paperwork.frontend.util.actions Action: [Show a page (selected from the page thumbnail list)]
INFO root Showing page Dummy page
INFO paperwork.paperwork Good bye
Did you reopen the settings dialog and redo the scanner calibration before scanning ? If you don't, the old (crappy) settings will still be used.
By the way, when you do the scanner calibration in the settings window, is the scan correct ? Does it display the whole content of your scanner without cutting anything ?
No, the scan resulting of calibration isn't correct : only the upper left corner is scanned.
Ok, this is not at all the problem I had in mind :/
Can you retry running
$ python2.7 ./list_all.py
please ?
Since you have Paperwork obviously running, it shouldn't complain about missing modules.
cd ~/pyinsane python2.7 ./list_all.py
Scanner 'v4l:/dev/video0' (Noname, Hercules Dualpix Exchange, virtual device)
Option: hue
Title: Hue
Desc: Controls the "hue" (blue-level) of the acquired image.
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 255, 0)
Value: 128
Option: brightness
Title: Brightness
Desc: Controls the brightness of the acquired image.
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 255, 0)
Value: 128
Option: color
Title: Picture color
Desc: Sets the picture's color.
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 255, 0)
Value: 108
Option: tl-y
Title: Top-left y
Desc: Top-left y position of scan area.
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : Pixel (1)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Inactive, Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 360, 1)
Value: Failed to get the value: <class 'src.rawapi.SaneStatus'> : Data is invalid (4)
Option: tl-x
Title: Top-left x
Desc: Top-left x position of scan area.
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : Pixel (1)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Inactive, Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 480, 1)
Value: Failed to get the value: <class 'src.rawapi.SaneStatus'> : Data is invalid (4)
Option: br-y
Title: Bottom-right y
Desc: Bottom-right y position of scan area.
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : Pixel (1)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Inactive, Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (120, 480, 1)
Value: Failed to get the value: <class 'src.rawapi.SaneStatus'> : Data is invalid (4)
Option: br-x
Title: Bottom-right x
Desc: Bottom-right x position of scan area.
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : Pixel (1)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Inactive, Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (160, 640, 1)
Value: Failed to get the value: <class 'src.rawapi.SaneStatus'> : Data is invalid (4)
Option: contrast
Title: Contrast
Desc: Controls the contrast of the acquired image.
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 255, 0)
Value: 128
Option: mode
Title: Scan mode
Desc: Selects the scan mode (e.g., lineart, monochrome, or color).
Type: <class 'src.rawapi.SaneValueType'> : String (3)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : String list (3)
Constraint: ['Gray', 'Color']
Value: Gray
Option: white-level
Title: White level
Desc: Selects what radiance level should be considered "white".
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 255, 0)
Value: 16
Option: channel
Title: Channel
Desc: Selects the channel of the v4l device (e.g. television or video-in.
Type: <class 'src.rawapi.SaneValueType'> : String (3)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Inactive, Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : String list (3)
Constraint: ['Camera 1']
Value: Failed to get the value: <class 'src.rawapi.SaneStatus'> : Data is invalid (4)
Scanner 'plustek:libusb:005:012' (Canon, CanoScan N670U/N676U/LiDE20, flatbed scanner)
Option: red-offset
Title: Red offset
Desc: Red offset value of the AFE
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (-1, 63, 1)
Value: -1
Option: tl-y
Title: Top-left y
Desc: Top-left y position of scan area.
Type: <class 'src.rawapi.SaneValueType'> : Fixed (2)
Unit: <class 'src.rawapi.SaneUnit'> : Mm (3)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 19464192, 0)
Value: 0
Option: tl-x
Title: Top-left x
Desc: Top-left x position of scan area.
Type: <class 'src.rawapi.SaneValueType'> : Fixed (2)
Unit: <class 'src.rawapi.SaneUnit'> : Mm (3)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 14090240, 0)
Value: 0
Option: blue-gain
Title: Blue gain
Desc: Blue gain value of the AFE
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (-1, 63, 1)
Value: -1
Option: button 0
Title: Scanner button 0
Desc: This option reflects the status of the scanner buttons.
Type: <class 'src.rawapi.SaneValueType'> : Boolean (0)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Hard_select, Soft_detect, Advanced,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : None (0)
Constraint: None
Value: 0
Option: button 4
Title: Scanner button 4
Desc: This option reflects the status of the scanner buttons.
Type: <class 'src.rawapi.SaneValueType'> : Boolean (0)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Inactive, Hard_select, Soft_detect, Advanced,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : None (0)
Constraint: None
Value: 0
Option: calibration-cache
Title: Calibration data cache
Desc: Enables or disables calibration data cache.
Type: <class 'src.rawapi.SaneValueType'> : Boolean (0)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : None (0)
Constraint: None
Value: 0
Option: lamp-off-during-dcal
Title: Lamp off during dark calibration
Desc: Always switches lamp off when doing dark calibration.
Type: <class 'src.rawapi.SaneValueType'> : Boolean (0)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Inactive, Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : None (0)
Constraint: None
Value: 0
Option: button 2
Title: Scanner button 2
Desc: This option reflects the status of the scanner buttons.
Type: <class 'src.rawapi.SaneValueType'> : Boolean (0)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Hard_select, Soft_detect, Advanced,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : None (0)
Constraint: None
Value: 0
Option: button 3
Title: Scanner button 3
Desc: This option reflects the status of the scanner buttons.
Type: <class 'src.rawapi.SaneValueType'> : Boolean (0)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Inactive, Hard_select, Soft_detect, Advanced,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : None (0)
Constraint: None
Value: 0
Option: lampoff-time
Title: Lampoff-time
Desc: Lampoff-time in seconds.
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 999, 1)
Value: 300
Option: lamp-off-at-exit
Title: Lamp off at exit
Desc: Turn off lamp when program exits
Type: <class 'src.rawapi.SaneValueType'> : Boolean (0)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : None (0)
Constraint: None
Value: 1
Option: green-gain
Title: Green gain
Desc: Green gain value of the AFE
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (-1, 63, 1)
Value: -1
Option: source
Title: Scan source
Desc: Selects the scan source (such as a document-feeder).
Type: <class 'src.rawapi.SaneValueType'> : String (3)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 13
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Inactive, Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : String list (3)
Constraint: ['Normal', 'Transparency', 'Negative']
Value: Normal
Option: redlamp-off
Title: Red lamp off
Desc: Defines red lamp off parameter
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (-1, 16363, 1)
Value: -1
Option: warmup-time
Title: Warmup-time
Desc: Warmup-time in seconds.
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Inactive, Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (-1, 999, 1)
Value: 0
Option: preview
Title: Preview
Desc: Request a preview-quality scan.
Type: <class 'src.rawapi.SaneValueType'> : Boolean (0)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : None (0)
Constraint: None
Value: 0
Option: contrast
Title: Contrast
Desc: Controls the contrast of the acquired image.
Type: <class 'src.rawapi.SaneValueType'> : Fixed (2)
Unit: <class 'src.rawapi.SaneUnit'> : Percent (5)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (-6553600, 6553600, 65536)
Value: 0
Option: gamma-table
Title: Image intensity
Desc: Gamma-correction table. In color mode this option equally affects the red, green, and blue channels simultaneously (i.e., it is an intensity gamma table).
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 16384
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Inactive, Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 255, 0)
Value: 0
Option: custom-gamma
Title: Use custom gamma table
Desc: Determines whether a builtin or a custom gamma-table should be used.
Type: <class 'src.rawapi.SaneValueType'> : Boolean (0)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : None (0)
Constraint: None
Value: 0
Option: green-gamma-table
Title: Green intensity
Desc: Gamma-correction table for the green band.
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 16384
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Inactive, Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 255, 0)
Value: 0
Option: br-y
Title: Bottom-right y
Desc: Bottom-right y position of scan area.
Type: <class 'src.rawapi.SaneValueType'> : Fixed (2)
Unit: <class 'src.rawapi.SaneUnit'> : Mm (3)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 19464192, 0)
Value: 4994498
Option: br-x
Title: Bottom-right x
Desc: Bottom-right x position of scan area.
Type: <class 'src.rawapi.SaneValueType'> : Fixed (2)
Unit: <class 'src.rawapi.SaneUnit'> : Mm (3)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 14090240, 0)
Value: 6750208
Option: red-gain
Title: Red gain
Desc: Red gain value of the AFE
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (-1, 63, 1)
Value: -1
Option: greenlamp-off
Title: Green lamp off
Desc: Defines green lamp off parameter
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (-1, 16363, 1)
Value: -1
Option: blue-offset
Title: Blue offset
Desc: Blue offset value of the AFE
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (-1, 63, 1)
Value: -1
Option: blue-gamma-table
Title: Blue intensity
Desc: Gamma-correction table for the blue band.
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 16384
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Inactive, Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 255, 0)
Value: 0
Option: brightness
Title: Brightness
Desc: Controls the brightness of the acquired image.
Type: <class 'src.rawapi.SaneValueType'> : Fixed (2)
Unit: <class 'src.rawapi.SaneUnit'> : Percent (5)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (-6553600, 6553600, 65536)
Value: 0
Option: lamp-switch
Title: Lampswitch
Desc: Manually switching the lamp(s).
Type: <class 'src.rawapi.SaneValueType'> : Boolean (0)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : None (0)
Constraint: None
Value: 0
Option: speedup-switch
Title: Speedup sensor
Desc: Enables or disables speeding up sensor movement.
Type: <class 'src.rawapi.SaneValueType'> : Boolean (0)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Inactive, Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : None (0)
Constraint: None
Value: 1
Option: depth
Title: Bit depth
Desc: Number of bits per sample, typical values are 1 for "line-art" and 8 for multibit scans.
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : Bit (2)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Word list (2)
Constraint: [8, 16]
Value: 8
Option: green-offset
Title: Green offset
Desc: Green offset value of the AFE
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (-1, 63, 1)
Value: -1
Option: mode
Title: Scan mode
Desc: Selects the scan mode (e.g., lineart, monochrome, or color).
Type: <class 'src.rawapi.SaneValueType'> : String (3)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 8
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : String list (3)
Constraint: ['Lineart', 'Gray', 'Color']
Value: Color
Option: bluelamp-off
Title: Blue lamp off
Desc: Defines blue lamp off parameter
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (-1, 16363, 1)
Value: -1
Option: red-gamma-table
Title: Red intensity
Desc: Gamma-correction table for the red band.
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 16384
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Inactive, Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (0, 255, 0)
Value: 0
Option: resolution
Title: Scan resolution
Desc: Sets the resolution of the scanned image.
Type: <class 'src.rawapi.SaneValueType'> : Integer (1)
Unit: <class 'src.rawapi.SaneUnit'> : Dpi (4)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Soft_select, Soft_detect,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : Range (1)
Constraint: (50, 1200, 0)
Value: 50
Option: button 1
Title: Scanner button 1
Desc: This option reflects the status of the scanner buttons.
Type: <class 'src.rawapi.SaneValueType'> : Boolean (0)
Unit: <class 'src.rawapi.SaneUnit'> : None (0)
Size: 4
Capabilities: <class 'src.rawapi.SaneCapabilities'> :[ Hard_select, Soft_detect, Advanced,]
Constraint type: <class 'src.rawapi.SaneConstraintType'> : None (0)
Constraint: None
Value: 0
Option: br-y
Title: Bottom-right y
Desc: Bottom-right y position of scan area.
(...)
Constraint: (0, 19464192, 0)
Value: 4994498
Option: br-x
Title: Bottom-right x
Desc: Bottom-right x position of scan area.
(...)
Constraint: (0, 14090240, 0)
Value: 6750208
Ok, the problem is clearly here. Paperwork doesn't set these values. I'll try to fix it by the end of the week.
Fixed by a3efa17252764dcc92e830620b2cb18a58a1ec29 on the branch 'unstable'. Sorry for the delay
The scanned area of my document is too small. I've only 1/8 of my whole page scanned (7,7*9,5cm approx).
OS : archlinux 64 bits
(EDIT(22/8/2013;Jflesch): removed the huge list of theme parsing errors that are not related to Paperwork but to your Gtk theme)
((paperwork:8354): Gtk-WARNING **: Theme parsing error: gedit.css:101:27: Whitespace between 'url' and '(' is deprecated
(paperwork:8354): Gtk-WARNING **: Theme parsing error: gedit.css:103:20: Not using units is deprecated. Assuming 'px'. INFO paperwork.paperwork Looking for locales in 'locale/fr/LC_MESSAGES/paperwork.mo' ... INFO paperwork.paperwork Looking for locales in '/usr/local/share/locale/fr/LC_MESSAGES/paperwork.mo' ... INFO paperwork.paperwork Looking for locales in '/usr/share/locale/fr/LC_MESSAGES/paperwork.mo' ... INFO root Will use locales from '/usr/share/locale' INFO paperwork.backend.config Config file found: /home/antoine/.config/paperwork.conf INFO root UI file used: /usr/share/paperwork/mainwindow.glade
(paperwork:8354): Gtk-WARNING _: Could not load image 'paperwork.svg': Impossible d'ouvrir le fichier « /usr/share/paperwork/paperwork.svg » : Aucun fichier ou dossier de ce type Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. INFO paperwork.frontend.mainwindow Image view port resized. (0, 0) --> (565, 592) INFO paperwork.frontend.jobs [Scheduler Progress] Starting INFO paperwork.frontend.jobs [Scheduler Progress] Started INFO paperwork.frontend.jobs [Scheduler Main] Starting INFO paperwork.frontend.jobs [Scheduler Main] Started INFO paperwork.frontend.actions Action: [Refresh index] INFO paperwork.backend.docsearch Opening index dir '/home/antoine/.local/share/paperwork/index' ... INFO paperwork.frontend.mainwindow Image view port resized. (565, 592) --> (1219, 838) INFO paperwork.frontend.mainwindow Document examen finished. Updating index ... 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.mainwindow List 'documents' : 1 elements displayed (1 additionnal) _* BUG *** In pixman_region32_init_rect: Invalid rectangle passed Set a breakpoint on '_pixman_log_error' to debug
* BUG * In pixman_region32_init_rect: Invalid rectangle passed Set a breakpoint on '_pixman_log_error' to debug
INFO paperwork.frontend.actions Action: [Open settings dialog] INFO root UI file used: /usr/share/paperwork/settingswindow.glade
(paperwork:8354): Gtk-CRITICAL _: gtk_list_store_get_value: assertion
column < priv->n_columns' failed /usr/lib/python2.7/site-packages/gi/types.py:113: Warning: g_object_set_property: assertion
G_IS_VALUE (value)' failed return info.invoke(_args, _kwargs) /usr/lib/python2.7/site-packages/gi/types.py:113: Warning: g_value_unset: assertion `G_IS_VALUE (value)' failed return info.invoke(_args, **kwargs)(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed INFO paperwork.frontend.jobs [Scheduler progress] Starting INFO paperwork.frontend.jobs [Scheduler progress] Started INFO paperwork.frontend.settingswindow Looking for scan devices ...
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL _: gtk_list_store_get_value: assertion
ERROR paperwork.frontend.jobs 1: /usr/lib/python2.7/site-packages/paperwork/paperwork.py: L 98: main
ERROR paperwork.frontend.jobs 2: /usr/lib/python2.7/site-packages/gi/types.py: L 113: function
ERROR paperwork.frontend.jobs 3: /usr/lib/python2.7/site-packages/paperwork/frontend/settingswindow.py: L 662: on_finding_end_cb
ERROR paperwork.frontend.jobs 4: /usr/lib/python2.7/site-packages/gi/types.py: L 113: function
ERROR paperwork.frontend.jobs 5: /usr/lib/python2.7/site-packages/paperwork/frontend/actions.py: L 74: on_combobox_changed_cb
ERROR paperwork.frontend.jobs 6: /usr/lib/python2.7/site-packages/paperwork/frontend/actions.py: L 53: do
ERROR paperwork.frontend.jobs 7: /usr/lib/python2.7/site-packages/paperwork/frontend/settingswindow.py: L 366: do
ERROR paperwork.frontend.jobs 8: /usr/lib/python2.7/site-packages/paperwork/frontend/jobs.py: L 227: schedule
INFO paperwork.frontend.settingswindow Select scanner: 1
INFO paperwork.frontend.settingswindow Looking for resolution of device [plustek:libusb:005:012]
ERROR paperwork.frontend.jobs ===> Job ResolutionFinder:1 raised an exception: <type 'exceptions.TypeError'>: not all arguments converted during string formatting
ERROR paperwork.frontend.jobs 0: /usr/lib/python2.7/site-packages/paperwork/frontend/jobs.py: L 158: _run
ERROR paperwork.frontend.jobs 1: /usr/lib/python2.7/site-packages/paperwork/frontend/settingswindow.py: L 163: do
ERROR paperwork.frontend.jobs ---> Job ResolutionFinder:1 was started by:
ERROR paperwork.frontend.jobs 0: /usr/bin/paperwork: L 6:
ERROR paperwork.frontend.jobs 1: /usr/lib/python2.7/site-packages/paperwork/paperwork.py: L 98: main
ERROR paperwork.frontend.jobs 2: /usr/lib/python2.7/site-packages/gi/types.py: L 113: function
ERROR paperwork.frontend.jobs 3: /usr/lib/python2.7/site-packages/paperwork/frontend/actions.py: L 74: on_combobox_changed_cb
ERROR paperwork.frontend.jobs 4: /usr/lib/python2.7/site-packages/paperwork/frontend/actions.py: L 53: do
ERROR paperwork.frontend.jobs 5: /usr/lib/python2.7/site-packages/paperwork/frontend/settingswindow.py: L 366: do
ERROR paperwork.frontend.jobs 6: /usr/lib/python2.7/site-packages/paperwork/frontend/jobs.py: L 227: schedule
INFO paperwork.backend.config Writing /home/antoine/.config/paperwork.conf ...
INFO paperwork.backend.config Done
INFO paperwork.frontend.settingswindow Settings window destroyed
INFO paperwork.frontend.jobs [Scheduler progress] Stopping
INFO paperwork.frontend.jobs [Scheduler progress] Stopped
INFO paperwork.frontend.actions Action: [Scan a single page]
INFO paperwork.backend.config Scanner mode set to 'Color'
ERROR paperwork.frontend.mainwindow Warning: Unable to set scanner source: ['Auto', 'FlatBed', '.ADF.', '.Feeder.'] are not a valid values for option source
WARNING paperwork.frontend.mainwindow Failed to read the resolution set on the scanner: <class 'pyinsane.rawapi.SaneStatus'> : Device is busy. Try again later (3). Assuming 300
INFO paperwork.backend.img.page Scanner resolution: 300
INFO paperwork.backend.img.page Scanner calibration: None
INFO paperwork.backend.img.page Scan rotated of 0 degree
INFO paperwork.backend.img.page Scan rotated of -90 degree
INFO paperwork.backend.img.page Scan rotated of -180 degree
INFO paperwork.backend.img.page Scan rotated of -270 degree
INFO paperwork.backend.img.page Using Tesseract for OCR
INFO paperwork.backend.img.page Running OCR on page orientation 0
INFO paperwork.backend.img.page Running OCR on page orientation 1
INFO paperwork.backend.img.page Running OCR on page orientation 3
INFO paperwork.backend.img.page Running OCR on page orientation 2
INFO paperwork.backend.img.page Evaluating score of page orientation (3) using method 'spell_checker' ...
ERROR paperwork.backend.img.page Scoring method 'spell_checker' on orientation 3 failed !
ERROR paperwork.backend.img.page Reason: Dictionary for language 'fr' could not be found
INFO paperwork.backend.img.page Evaluating score of page orientation (3) using method 'lucky_guess' ...
INFO paperwork.backend.img.page Page orientation 3 score: 3
INFO paperwork.backend.img.page Evaluating score of page orientation (1) using method 'spell_checker' ...
ERROR paperwork.backend.img.page Scoring method 'spell_checker' on orientation 1 failed !
ERROR paperwork.backend.img.page Reason: Dictionary for language 'fr' could not be found
INFO paperwork.backend.img.page Evaluating score of page orientation (1) using method 'lucky_guess' ...
INFO paperwork.backend.img.page Page orientation 1 score: 2
INFO paperwork.backend.img.page Evaluating score of page orientation (2) using method 'spell_checker' ...
ERROR paperwork.backend.img.page Scoring method 'spell_checker' on orientation 2 failed !
ERROR paperwork.backend.img.page Reason: Dictionary for language 'fr' could not be found
INFO paperwork.backend.img.page Evaluating score of page orientation (2) using method 'lucky_guess' ...
INFO paperwork.backend.img.page Page orientation 2 score: 0
INFO paperwork.backend.img.page Evaluating score of page orientation (0) using method 'spell_checker' ...
ERROR paperwork.backend.img.page Scoring method 'spell_checker' on orientation 0 failed !
ERROR paperwork.backend.img.page Reason: Dictionary for language 'fr' could not be found
INFO paperwork.backend.img.page Evaluating score of page orientation (0) using method 'lucky_guess' ...
INFO paperwork.backend.img.page Page orientation 0 score: 0
INFO paperwork.backend.img.page Best: 3.000000
INFO paperwork.backend.img.page Extracting boxes ...
INFO paperwork.backend.img.page Done
INFO paperwork.backend.img.page Scan done
INFO paperwork.backend.docsearch Updating modified doc: 20130818_1547_45
INFO paperwork.backend.docsearch Index: Commiting changes
INFO paperwork.backend.docsearch Adding document '20130818_1547_45' to the index
WARNING paperwork.frontend.jobs Job SingleScan:0 took 33073ms and is unstoppable ! (maximum allowed: 500ms)
INFO paperwork.frontend.mainwindow List 'pages' : 1 elements displayed (1 additionnal)
INFO root Showing page 20130818_1547_45 p1
INFO paperwork.frontend.actions Action: [Open selected document]
INFO paperwork.frontend.mainwindow No document selected. Can't open
INFO paperwork.frontend.mainwindow Doc list refresh: 'new doc' popped out of the list
INFO paperwork.frontend.mainwindow Doc list refresh: 0:20130818_1547_45 added
INFO paperwork.frontend.mainwindow Search:
INFO paperwork.frontend.mainwindow Doc list refresh: 'new doc' reinserted in the list
_* BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
column < priv->n_columns' failed INFO paperwork.frontend.settingswindow Device found: [Noname Hercules Dualpix Exchange] -> [v4l:/dev/video0] INFO paperwork.frontend.settingswindow Device found: [Canon CanoScan N670U/N676U/LiDE20] -> [plustek:libusb:005:012] INFO paperwork.frontend.settingswindow Got value [['Noname Hercules Dualpix Exchange', 'v4l:/dev/video0']] WARNING paperwork.frontend.jobs Job DeviceFinder:0 took 6410ms and is unstoppable ! (maximum allowed: 500ms) INFO paperwork.frontend.settingswindow Got value [['Canon CanoScan N670U/N676U/LiDE20', 'plustek:libusb:005:012']] INFO paperwork.frontend.settingswindow Select scanner: 0 INFO paperwork.frontend.settingswindow Looking for resolution of device [v4l:/dev/video0] /usr/lib/python2.7/site-packages/gi/types.py:113: Warning: unable to set property
sensitive' of typegboolean' from value of type
gchararray' return info.invoke(_args, _kwargs) /usr/lib/python2.7/site-packages/gi/types.py:113: Warning: unable to set propertyxpad' of type
guint' from value of type `gchararray' return info.invoke(_args, _kwargs) ERROR paperwork.frontend.jobs ===> Job ResolutionFinder:0 raised an exception: <type 'exceptions.KeyError'>: 'resolution' ERROR paperwork.frontend.jobs 0: /usr/lib/python2.7/site-packages/paperwork/frontend/jobs.py: L 158: _run ERROR paperwork.frontend.jobs 1: /usr/lib/python2.7/site-packages/paperwork/frontend/settingswindow.py: L 162: do ERROR paperwork.frontend.jobs ---> Job ResolutionFinder:0 was started by: ERROR paperwork.frontend.jobs 0: /usr/bin/paperwork: L 6:* BUG * In pixman_region32_init_rect: Invalid rectangle passed Set a breakpoint on '_pixman_log_error' to debug
INFO paperwork.frontend.mainwindow Will redo thumbnails: [(1, <paperwork.backend.img.doc.ImgDoc object at 0x5e60d90>)] INFO paperwork.frontend.mainwindow Zoom: 1.002467 INFO paperwork.frontend.mainwindow Image view port resized. (1219, 838) --> (1179, 838) INFO paperwork.frontend.mainwindow Zoom: 0.969572 INFO paperwork.frontend.actions Action: [Show a page (selected from the page thumbnail list)] INFO root Showing page Dummy page INFO paperwork.frontend.actions Action: [Open selected document] INFO paperwork.frontend.mainwindow Showing doc 20130818_1547_45 INFO paperwork.frontend.actions Action: [Show a page (selected from the page thumbnail list)] INFO root Showing page 20130818_1547_45 p1 INFO paperwork.frontend.mainwindow Zoom: 0.969572 INFO paperwork.frontend.actions Action: [Open selected document] INFO paperwork.frontend.mainwindow Showing doc 20130818_1547_45 INFO paperwork.frontend.actions Action: [Open settings dialog] INFO root UI file used: /usr/share/paperwork/settingswindow.glade
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed INFO paperwork.frontend.jobs [Scheduler progress] Starting INFO paperwork.frontend.jobs [Scheduler progress] Started INFO paperwork.frontend.settingswindow Looking for scan devices ...
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed
(paperwork:8354): Gtk-CRITICAL **: gtk_list_store_get_value: assertion `column < priv->n_columns' failed INFO paperwork.frontend.settingswindow Settings window destroyed INFO paperwork.frontend.jobs [Scheduler progress] Stopping INFO paperwork.frontend.jobs [Scheduler progress] Stopped INFO paperwork.frontend.settingswindow Device found: [Noname Hercules Dualpix Exchange] -> [v4l:/dev/video0] INFO paperwork.frontend.settingswindow Device found: [Canon CanoScan N670U/N676U/LiDE20] -> [plustek:libusb:005:012] INFO paperwork.frontend.settingswindow Got value [['Noname Hercules Dualpix Exchange', 'v4l:/dev/video0']] WARNING paperwork.frontend.jobs Job DeviceFinder:0 took 6144ms and is unstoppable ! (maximum allowed: 500ms) INFO paperwork.frontend.settingswindow Got value [['Canon CanoScan N670U/N676U/LiDE20', 'plustek:libusb:005:012']]