Package Details: mirage 0.11.2-1

Git Clone URL: https://aur.archlinux.org/mirage.git (read-only, click to copy)
Package Base: mirage
Description: A fast and simple GTK+ Image Viewer
Upstream URL: https://gitlab.com/thomasross/mirage
Licenses: GPL3
Conflicts: mirage-python3
Replaces: mirage-python3
Submitter: Barthalion
Maintainer: dmitmel
Last Packager: dmitmel
Votes: 18
Popularity: 0.000009
First Submitted: 2018-01-07 16:15 (UTC)
Last Updated: 2024-07-19 11:53 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

Ralf_Mardorf commented on 2019-09-02 20:47 (UTC)

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 (UTC)

@dmitmel - It appears to be working now, thanks :)

dmitmel commented on 2019-08-24 12:08 (UTC)

fabertawe, fixed your error in 1.0_pre2-2. Try updating.

fabertawe commented on 2019-08-24 11:58 (UTC)

Thanks for the info dmitmel, I've edited the original post.

dmitmel commented on 2019-08-24 11:51 (UTC)

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 (UTC) (edited on 2019-08-24 11:57 (UTC) by fabertawe)

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?

dmitmel commented on 2019-08-24 11:37 (UTC)

fabertawe, remove directory ~/.config/mirage and try running mirage again.

fabertawe commented on 2019-08-24 11:36 (UTC) (edited on 2019-08-24 11:59 (UTC) by fabertawe)

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

dmitmel commented on 2019-08-24 11:20 (UTC)

I created a replacement for python2-exiv2 just for this package, so now 1.0_pre2 works totally fine for me with my patches. Please, try updating the package to 1.0_pre2-1 and post error messages if it doesn't work.