Package Details: paperwork 1.2.4-1

Git Clone URL: https://aur.archlinux.org/paperwork.git (read-only)
Package Base: paperwork
Description: A tool to make papers searchable - scan & forget
Upstream URL: https://github.com/openpaperwork/paperwork
Licenses: GPL3
Submitter: StreakyCobra
Maintainer: StreakyCobra
Last Packager: StreakyCobra
Votes: 20
Popularity: 0.372234
First Submitted: 2015-12-23 19:20
Last Updated: 2018-03-06 16:28

Latest Comments

ioan commented on 2018-03-05 22:58

https://www.archlinux.org/packages/community/any/tesseract-data-eng/

please note that this need to be installed if you plan to use tesseract or the settings dialog in paperwork wont open

https://github.com/openpaperwork/paperwork/issues/756

DocMAX commented on 2017-12-02 11:13

@StreakyCobra

tesseract-data-eng did it. Thank you!

StreakyCobra commented on 2017-12-01 07:32

@DocMAX: Are you sure to have installed `tesseract` and some language packages such as `tesseract-data-eng`? If yes, maybe try to install the language corresponding to the one specified by `lang = XXX` in the `[OCR]` section of your config file (/home/docmax/.config/paperwork.conf). If still not working, please open an issue upstream (https://github.com/openpaperwork/paperwork) with all the details, and mention me (`@StreakyCobra`) in the issue so I'll be notified. Thanks!

DocMAX commented on 2017-11-30 22:15

I'm getting this:

INFO paperwork.paperwork Using locales in '/usr/lib/python3.6/site-packages/paperwork/frontend/locale'
INFO paperwork.paperwork Initializing pyinsane ...
INFO pyinsane2.sane.abstract_proc Starting Pyinsane subprocess
INFO pyinsane2.sane.abstract_proc Pyinsane pipes: /tmp/pyinsane_4f5hq7s5/pipe_c2s | /tmp/pyinsane_4f5hq7s5/pipe_s2c
INFO pyinsane2.sane.abstract_proc Connected to Pyinsane subprocess
INFO paperwork.paperwork Initializing libnotify ...
INFO paperwork_backend.config Config file not found. Will use '/home/docmax/.config/paperwork.conf'
INFO paperwork_backend.config Reloading /home/docmax/.config/paperwork.conf ...
INFO paperwork.paperwork Stopping Pyinsane ...
ERROR paperwork.frontend.diag === UNCATCHED EXCEPTION ===
Traceback (most recent call last):
File "/usr/bin/paperwork", line 11, in <module>
load_entry_point('paperwork==1.2.2', 'gui_scripts', 'paperwork')()
File "/usr/lib/python3.6/site-packages/paperwork/paperwork.py", line 189, in main
m.main(hook_func, skip_workdir_scan)
File "/usr/lib/python3.6/site-packages/paperwork/paperwork.py", line 165, in main
self.config.read()
File "/usr/lib/python3.6/site-packages/paperwork_backend/config.py", line 188, in read
setting.load(self._configparser)
File "/usr/lib/python3.6/site-packages/paperwork_backend/config.py", line 63, in load
self.value = self.default_value_func()
File "/usr/lib/python3.6/site-packages/paperwork_backend/config.py", line 115, in get_default_ocr_lang
ocr_langs = ocr_tools[0].get_available_languages()
File "/usr/lib/python3.6/site-packages/pyocr/tesseract.py", line 402, in get_available_languages
raise TesseractError(ret, "unable to get languages")
pyocr.error.TesseractError: (1, 'unable to get languages')
ERROR paperwork.frontend.diag ===========================

StreakyCobra commented on 2017-08-15 15:32

@postblue: Taken care of, thanks.

postblue commented on 2017-08-09 12:00

Can you please drop the unneeded glade dependency? See this bug report in Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=626166

Lucki commented on 2017-08-02 15:04

Hi there, with the latest update the language is now english and there's no application entry and no icons for paperwork available in gnome. I can start it only through the terminal.

whaler commented on 2017-08-01 03:00

@StreakyCobra: Thank you for your reply. Yes, it looks as if your explanation holds water, because Paperwork installed fine on a second try a couple of days later. I hade the same experience with CherryPy - it only installed after a reboot and, possibly, some Python updates. Now, Paperwork still complains about missing language(s), and always has. I have tried to install and reinstall the language packet several times, but Paperwork keeps insisting there are no languages to detect... However, that's another issue. Sorry for the fuzz.

StreakyCobra commented on 2017-07-26 07:23

@whaler: Random guess, may these packages have already been present on your system before the transition to python 3.6? Because each time the python interpreter is updated, you need to recompile all python package installed from AUR in order for them to work with the new version. So if python-pyinsane2 has been compiled for python 3.5, it will not work now on python 3.6. Try maybe then to reinstall also all paperwork dependencies that cause problems.

whaler commented on 2017-07-26 00:00

Well, after deinstalling, restarting, making sure all dependencies present, reinstalling, I still get this when starting to run paperwork from CLI:

[code][self@myself aur]$ paperwork
Traceback (most recent call last):
File "/usr/bin/paperwork", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3038, in <module>
@_call_aside
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3022, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3051, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 657, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 971, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 857, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pyinsane2' distribution was not found and is required by paperwork
[self@myself aur]$[/code]

It used to complain about 'simplebayes', although it was present.
Now it complains about 'pyinsane2', although it is present and has been so all the time.

All comments