Hi, I using the linux version of MC 2.0 and the only way is running correctly is using sudo or su.
When is execute with normal user this happens:
Traceback (most recent call last): File "mcomixstarter.py", line 22, in <module> mcomix.run.run() File "/home/user/Programs/mcomix-2.0.0/mcomix-2.0.0/mcomix/run.py", line 187, in run window = main.MainWindow(fullscreen = opts.fullscreen, is_slideshow = opts.slideshow, File "/home/user/Programs/mcomix-2.0.0/mcomix-2.0.0/mcomix/main.py", line 89, in __init__ self.thumbnailsidebar = thumbbar.ThumbnailSidebar(self) File "/home/user/Programs/mcomix-2.0.0/mcomix-2.0.0/mcomix/thumbbar.py", line 86, in __init__ self.change_thumbnail_background_color(prefs['thumb bg colour']) File "/home/user/Programs/mcomix-2.0.0/mcomix-2.0.0/mcomix/thumbbar.py", line 137, in change_thumbnail_background_color self.set_thumbnail_background(colour) File "/home/user/Programs/mcomix-2.0.0/mcomix-2.0.0/mcomix/thumbbar.py", line 143, in set_thumbnail_background rgba = Gdk.RGBA(*image_tools.color_to_floats_rgba(color)) TypeError: __init__() takes from 1 to 5 positional arguments but 6 were given
Looks like a bug related to the GTK3 conversion. The thumbnail background color is stored incorrectly in ~/.config/mcomix/preferences.conf. Maybe a relict from old preferences? Could you post which values the key "thumb bg color" is currently set to?
As a workaround, you can delete the key "thumb bg color" in this file, and MComix should start up again.
Last edit: Oddegamra 2022-02-14
Hi, I try removing "thumb bg colour" and a similar error occurs, next I removed "bg colour" and MC open fine. Yes :). Thank you.
Now I have this new errors, I can't open any file:
This one is when I try Open > browse some file and try open one zip file with images into it.
Next I try open the library and this happens:
For make sure, I used the mcomixstarter.py and after all those error, I try
Both have the same errors.
Strange, from what I can see all the test ZIP archives from the MComix test cases work. Could you start MComix using the command 'mcomixstarter.py -Wall'? The '-Wall' parameter enables additional debug output, in particular stack traces for all error messages. Please provide these stacktrace messages so I can look into the problem.
Thank you, I received the log messages, which I have removed in order not to clutter the issue. Seems like there were still a number of unfortunate problems left from the Python 2 -> 3 conversion. I have committed some fixes, which should address the issues you mentioned.
Thank you, let's hope that in the next version they are fixed.
Regards.