AUR (en) - mirage
zuzavo commented on 2020-05-03 19:38
dmitmel commented on 2019-09-03 21:41
Ralf_Mardorf: I added a post_upgrade hook which notifies about this issue when upgrading to 1.x
Ralf_Mardorf commented on 2019-09-02 22:48
My apologies, I should have read the comments carefully, instead of just skimming through a few of them. 1.0_pre2-2 works now. Perhaps it's worth to add a pinned comment.
dmitmel commented on 2019-09-02 20:48
Ralf_Mardorf, remove directory ~/.config/mirage and try running mirage again
Ralf_Mardorf commented on 2019-09-02 20:47
mirage 1.0_pre2-2 and 1.0_pre2-1 don't start, I needed to downgrade to 0.9.5.2-6
$ pacman -Q mirage
mirage 1.0_pre2-2
$ mirage
Traceback (most recent call last):
File "/usr/bin/mirage", line 30, in <module>
app = mirage.Base()
File "/usr/lib/python2.7/site-packages/mirage.py", line 227, in __init__
self.read_config_and_set_settings()
File "/usr/lib/python2.7/site-packages/mirage.py", line 714, in read_config_and_set_settings
self.bgcolor = gtk.gdk.Color(red=bg['r'], green=bg['g'], blue=bg['b'])
TypeError: list indices must be integers, not str
$ sudo pacman -U /var/cache/aur/old/mirage-1.0_pre2-1-x86_64.pkg.tar.xz
[snip]
$ mirage
Traceback (most recent call last):
File "/usr/bin/mirage", line 30, in <module>
app = mirage.Base()
File "/usr/lib/python2.7/site-packages/mirage.py", line 227, in __init__
self.read_config_and_set_settings()
File "/usr/lib/python2.7/site-packages/mirage.py", line 714, in read_config_and_set_settings
self.bgcolor = gtk.gdk.Color(red=bg['r'], green=bg['g'], blue=bg['b'])
TypeError: list indices must be integers, not str
fabertawe commented on 2019-08-24 13:14
@dmitmel - It appears to be working now, thanks :)
dmitmel commented on 2019-08-24 12:08
fabertawe, fixed your error in 1.0_pre2-2. Try updating.
fabertawe commented on 2019-08-24 11:58
Thanks for the info dmitmel, I've edited the original post.
dmitmel commented on 2019-08-24 11:51
Also, how do you format for proper code blocks in these comments?
Either surround your code with three backtics (`) or three tildes (~) or indent it with four spaces. Like this:
code
block
```
code
block
```
~~~
code
block
~~~
Could you please post Python traceback with proper formatting?
fabertawe commented on 2019-08-24 11:43
With ~/.config/mirage removed -
Traceback (most recent call last):
File "/usr/bin/mirage", line 30, in <module>
app = mirage.Base()
File "/usr/lib/python2.7/site-packages/mirage.py", line 694, in __init__
self.expand_filelist_and_load_image(args)
File "/usr/lib/python2.7/site-packages/mirage.py", line 4285, in expand_filelist_and_load_image
self.load_new_image2(False, False, True, True)
File "/usr/lib/python2.7/site-packages/mirage.py", line 4025, in load_new_image2
self.currimg.load_pixbuf(image_name)
File "/usr/lib/python2.7/site-packages/mirage.py", line 4633, in load_pixbuf
orientation = self.exif_metadata['1']['Orientation'][0]
TypeError: 'NoneType' object has no attribute '__getitem__'
Also, how do you format for proper code blocks in these comments?
I have searched all over github for this package ported to python3 but for now without success. :(