Re: pympress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the suggestion.

However, on another machine (same version of fedora), pympress works fine.

Anyway, trying:
python3 -m pip install pygobject pycairo pympress

I get:

Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pygobject in /usr/lib64/python3.9/site-packages (3.40.1)
Requirement already satisfied: pycairo in /usr/lib64/python3.9/site-packages (1.20.1)
Requirement already satisfied: pympress in /usr/local/lib/python3.9/site-packages (1.6.1)
Requirement already satisfied: watchdog in /usr/lib/python3.9/site-packages (from pympress) (2.1.6)
WARNING: Keyring is skipped due to an exception: Failed to open keyring: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.



===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988                    | | Room# D114A
===========================================================================


> Sent: Monday, June 13, 2022 at 12:59 AM
> From: "Cameron Simpson" <cs@xxxxxxxxxx>
> To: "Community support for Fedora users" <users@xxxxxxxxxxxxxxxxxxxxxxx>
> Subject: Re: pympress
>
> On 12Jun2022 21:08, Patrick Dupre <pdupre@xxxxxxx> wrote:
> >Following the instructions in
> >https://libraries.io/pypi/pympress
> >
> >I did
> >
> >dnf copr enable cimbali/pympress
> >dnf install python3-pympress
> >
> >But then,
> >
> >pympress
> >[000055bc9c452fc0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
> >Traceback (most recent call last):
> >  File "/usr/bin/pympress", line 33, in <module>
> >    sys.exit(load_entry_point('pympress==1.7.0b1', 'gui_scripts', 'pympress')())
> >  File "/usr/local/lib/python3.9/site-packages/pympress/__main__.py", line 105, in main
> >    app.Pympress().run(argv)
> >  File "/usr/local/lib/python3.9/site-packages/pympress/app.py", line 110, in __init__
> >    self.gui = ui.UI(self, self.config)
> >  File "/usr/local/lib/python3.9/site-packages/pympress/ui.py", line 263, in __init__
> >    self.make_pwin()
> >  File "/usr/local/lib/python3.9/site-packages/pympress/ui.py", line 339, in make_pwin
> >    pane_handles = self.replace_layout(layout, self.p_central, self.placeable_widgets, self.on_pane_event)
> >  File "/usr/local/lib/python3.9/site-packages/pympress/builder.py", line 309, in replace_layout
> >    parent.pack1(w, True, True)
> >  File "/usr/lib/python3.9/site-packages/gi/overrides/Gtk.py", line 1580, in pack1
> >    super(Paned, self).pack1(child, resize, shrink)
> >TypeError: Argument 1 does not allow None as a value
> >
> >Any idea?
> 
> This looks to me like a GUI toolkit issue rather than a PulseAudio 
> issue: it is still setting up the widgets and I would guess that 
> "child1" above is None.
> 
> But that _could_ be the result of failing to connect to PulseAudio, 
> since apparently that failed too: there's an OS-level COnnection refused 
> message up the top.
> 
> Is PulseAudio running? Does pympress need to be told how to connect to 
> it?
> 
> I'm not in a position to test here; I'm on a Mac. I can install pympress 
> but it complains about no Gtk.
> 
> I notice that you've got pympress==1.7.0b1, whereas if I do a "pip 
> install pympress" I get pympress 1.7.2.
> 
> Have you tried installing pympress without dnf? Try:
> 
>     python3 -m pip install pygobject pycairo pympress
> 
> That should install a personal copy.
> 
> Cheers,
> Cameron Simpson <cs@xxxxxxxxxx>
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux