Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Pydoc: Failed parse ~/.config/gtk-3.0/settings.ini
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 251
Location: Somewhere in the 77

PostPosted: Wed Apr 03, 2024 9:39 am    Post subject: [SOLVED]Pydoc: Failed parse ~/.config/gtk-3.0/settings.ini Reply with quote

Hi,

I guess this is the proper section of the forum to ask this.

I installed app-doc/python-docs (3.12.2) and runs it with:

Code:
pydoc -b


To create a local server and access to the Python's documentation without internet.

But each time, using Firefox or links, I try to search in the search field (on the right of the «get» field) I get this output in my terminal running pydoc:

Code:
kgdrenefort@Mephistopheles ~ $ LANG=C pydoc -b
Server ready at http://localhost:39735/
Server commands: [b]rowser, [q]uit
server>
(pydoc:4033): Gtk-WARNING **: 11:25:50.176: Failed to parse /home/kgdrenefort/.config/gtk-3.0/settings.ini: Key file does not have group “Settings”
Erreur de segmentation (core dumped)


It crash the pydoc standalone server, it just never works without a core dump. Aside, looking into «get» is working fine.

The file is non-existent.

Some relevant informations (I hope) about my setup:

Gentoo, fresh and up-to-date from this morning, with this profile:
Code:
[28]  default/linux/amd64/23.0/desktop/plasma/systemd (stable) *


Below disabled USE flag for gtk/gnome stuff.
Code:
-gtk -gtk+ -gtk-doc -gnome -gnome-keyring


Below the USE flag for the app-doc/python-docs package:
Code:
!!! No USE flags found for app-doc/python-docs-3.12.2


After a brief Google search I did not found anything.

Any ideas regarding this ? Am I missing something ? Is it a bug and should be reported ?

Regards,
GASPARD DE RENEFORT Kévin
_________________
wiki/User:Kgdrenefort/captain_logs My system info
G. does not have problems, only learning opportunities. - NeddyS.
If your installation isn't valuable to you, feel free to continue to ignore the instructions. - figue.


Last edited by kgdrenefort on Wed Apr 03, 2024 11:46 am; edited 1 time in total
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 251
Location: Somewhere in the 77

PostPosted: Wed Apr 03, 2024 11:45 am    Post subject: Reply with quote

I just realized something, by default pydoc don't target 3.12, but 3.11 as showed in the html page:

Code:
 Python 3.11.8 [main, GCC 13.2.1 20240210]


Calling:

Code:
pydoc3.12 -b


seems to works pretty well:

Quote:
kgdrenefort@Mephistopheles ~/Documents/prog/python/GoTDA $ pydoc3.12 -b
Server ready at http://localhost:44157/
Server commands: [b]rowser, [q]uit
server> test_sqlite3: testing with SQLite version 3.45.1


I'll mark this topic as solved.

Regards,
GASPARD DE RENEFORT Kévin
_________________
wiki/User:Kgdrenefort/captain_logs My system info
G. does not have problems, only learning opportunities. - NeddyS.
If your installation isn't valuable to you, feel free to continue to ignore the instructions. - figue.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum