Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830423 - app-text/openpaperwork-gtk-2.1.0 should depend on gui-libs/libhandy
Summary: app-text/openpaperwork-gtk-2.1.0 should depend on gui-libs/libhandy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-01 23:31 UTC by Kristian
Modified: 2022-01-02 11:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian 2022-01-01 23:31:36 UTC
paperwork broke on my system. Starting on the commandline I get a lot of errors before :

[INFO  ] [openpaperwork_core            ] 227 plugins initialized
[INFO  ] [paperwork_gtk.sync_on_start   ] Starting synchronization ...
[INFO  ] [openpaperwork_gtk.uncaught_exception] Uncaught exception. Showing error dialog
[ERROR ] [openpaperwork_gtk.resources   ] gtk_load_widget_tree(): GTK|Libhandy is not available
[WARNING] [openpaperwork_gtk.uncaught_exception] Failed to load widget tree
[INFO  ] [openpaperwork_gtk.screenshots ] Uncaught exception. Taking screenshots
[ERROR ] [openpaperwork_core.logs.print ] === UNCAUGHT EXCEPTION ===
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.9/paperwork-gtk", line 33, in <module>
    sys.exit(load_entry_point('paperwork==2.1.0', 'gui_scripts', 'paperwork-gtk')())
  File "/usr/lib/python3.9/site-packages/paperwork_gtk/main.py", line 216, in main
    main_main(sys.argv[1:])
  File "/usr/lib/python3.9/site-packages/paperwork_gtk/main.py", line 191, in main_main
    core.call_all("on_initialized")
  File "/usr/lib/python3.9/site-packages/openpaperwork_core/__init__.py", line 406, in call_all
    callback(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/paperwork_gtk/sync_on_start.py", line 44, in on_initialized
    self.core.call_all("transaction_sync_all")
  File "/usr/lib/python3.9/site-packages/openpaperwork_core/__init__.py", line 406, in call_all
    callback(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/paperwork_backend/sync.py", line 309, in transaction_sync_all
    self.core.call_all("sync", promises)
  File "/usr/lib/python3.9/site-packages/openpaperwork_core/__init__.py", line 406, in call_all
    callback(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/paperwork_gtk/mainwindow/search/field.py", line 153, in sync
    self.search_update_document_list()
  File "/usr/lib/python3.9/site-packages/paperwork_gtk/mainwindow/search/field.py", line 95, in search_update_document_list
    query = self.search_entry.get_text()
AttributeError: 'NoneType' object has no attribute 'get_text'
[ERROR ] [openpaperwork_core.logs.print ] ==========================

Installing gui-libs/libhandy lets papaerwork start correctly.

Reproducible: Always
Comment 1 Bernard Cafarelli gentoo-dev 2022-01-02 11:15:55 UTC
Thanks for the report, changelog for this version did not mention it, and I had not checked the deps.py file (that does mention it). Adding in a revbump
Comment 2 Larry the Git Cow gentoo-dev 2022-01-02 11:18:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b35bc8fc1371209d00f3e3082b9f1b6a36c4a20b

commit b35bc8fc1371209d00f3e3082b9f1b6a36c4a20b
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2022-01-02 11:17:51 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2022-01-02 11:18:18 +0000

    app-text/openpaperwork-gtk: add missing libhandy dep
    
    Closes: https://bugs.gentoo.org/830423
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 ...penpaperwork-gtk-2.1.0.ebuild => openpaperwork-gtk-2.1.0-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)