Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package problems #6

Closed
dodona2 opened this issue Dec 27, 2019 · 5 comments
Closed

package problems #6

dodona2 opened this issue Dec 27, 2019 · 5 comments

Comments

@dodona2
Copy link

dodona2 commented Dec 27, 2019

-> invoking gtkman after the most recent update:

gtkman
Traceback (most recent call last):
File "/usr/local/bin/gtkman", line 13, in
import ConfigParser
ModuleNotFoundError: No module named 'ConfigParser'

--> changing import ConfigParser to import configparser:

(2/1)~$ gtkman
/usr/local/bin/gtkman:18: DeprecationWarning: Gdk.threads_init is deprecated
Gdk.threads_init()
Traceback (most recent call last):
File "/usr/local/bin/gtkman", line 48, in
class GTKMan:
File "/usr/local/bin/gtkman", line 49, in GTKMan
config = ConfigParser.RawConfigParser()
NameError: name 'ConfigParser' is not defined

--> sed'ing all occurences of ConfigParser to configparser:

(2/1)~$ gtkman
/usr/local/bin/gtkman:18: DeprecationWarning: Gdk.threads_init is deprecated
Gdk.threads_init()
Traceback (most recent call last):
File "/usr/local/bin/gtkman", line 48, in
class GTKMan:
File "/usr/local/bin/gtkman", line 49, in GTKMan
config = configparser.Rawconfigparser()
AttributeError: module 'configparser' has no attribute 'Rawconfigparser'

@gapan
Copy link
Owner

gapan commented Dec 27, 2019

I don't think you have the latest commit. Can you make sure you pull from master?

@dodona2
Copy link
Author

dodona2 commented Dec 27, 2019

did one at 00:06h CET, which fails, The most receent (~5 minutes ago) is working. Got that warnings:
gtkman
/usr/local/bin/gtkman:16: DeprecationWarning: Gdk.threads_init is deprecated
Gdk.threads_init()
/usr/local/bin/gtkman:577: DeprecationWarning: Gtk.Widget.modify_font is deprecated
self.textview_manpage.modify_font(Pango.FontDescription('monospace'))

@dodona2
Copy link
Author

dodona2 commented Dec 27, 2019

thanks a lot George(gapan).

@dodona2 dodona2 closed this as completed Dec 27, 2019
@gapan
Copy link
Owner

gapan commented Dec 28, 2019

I'm not getting those warnings here, but I probably have an old GTK+3 version installed. What version do you get those with? I'm guessing it works OK for you despite the warnings?

@dodona2
Copy link
Author

dodona2 commented Dec 28, 2019

Python 3.7.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants