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

Can't launch from outside directory #6

Closed
GoogleCodeExporter opened this issue Apr 18, 2015 · 1 comment
Closed

Can't launch from outside directory #6

GoogleCodeExporter opened this issue Apr 18, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Don't cd into the program folder
2.
3.
vadi@vadi-laptop:~$ '/home/vadi/Programs/key-mon/key-mon.py' 
Traceback (most recent call last):
  File "/home/vadi/Programs/key-mon/key-mon.py", line 437, in <module>
    keymon = KeyMon(scale, options.meta)
  File "/home/vadi/Programs/key-mon/key-mon.py", line 115, in __init__
    self.CreateWindow()
  File "/home/vadi/Programs/key-mon/key-mon.py", line 183, in CreateWindow
    self.mouse_image = two_state_image.TwoStateImage(self.pixbufs, 'MOUSE')
  File "/home/vadi/Programs/key-mon/two_state_image.py", line 28, in 
__init__
    self.SwitchTo(self.normal)
  File "/home/vadi/Programs/key-mon/two_state_image.py", line 33, in 
SwitchTo
    self._SwitchTo(name)
  File "/home/vadi/Programs/key-mon/two_state_image.py", line 36, in 
_SwitchTo
    self.set_from_pixbuf(self.pixbufs.Get(name))
  File "/home/vadi/Programs/key-mon/lazy_pixbuf_creator.py", line 44, in 
Get
    name = self.CreatePixbuf(name)
  File "/home/vadi/Programs/key-mon/lazy_pixbuf_creator.py", line 61, in 
CreatePixbuf
    img = self._Composite(img, self._ReadFromFile(op))
  File "/home/vadi/Programs/key-mon/lazy_pixbuf_creator.py", line 88, in 
_ReadFromFile
    return gtk.gdk.pixbuf_new_from_file(fname)
glib.GError: Failed to open file 'svg/mouse.svg': No such file or directory

Original issue reported on code.google.com by vpereto...@gmail.com on 28 Nov 2009 at 7:17

@GoogleCodeExporter
Copy link
Author

You're right, thanks for the bug report. Fixed in the repository, wait for int 
in v 
0.9

Original comment by scottaki...@gmail.com on 29 Nov 2009 at 12:14

  • Changed state: Fixed

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

No branches or pull requests

1 participant