Giter Club home page Giter Club logo

ezame's People

Contributors

linux-man avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ezame's Issues

Ezame crashes on start

After a long time I started ezame again and get the following crash:

$ ezame 
/usr/lib/python3.6/site-packages/ezame/main.py:7: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, GdkPixbuf, Pango
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/ezame/desktop.py", line 39, in __init__
    self.content.read([filename])
  File "/usr/lib/python3.6/configparser.py", line 696, in read
    self._read(fp, filename)
  File "/usr/lib/python3.6/configparser.py", line 1012, in _read
    for lineno, line in enumerate(fp, start=1):
  File "/usr/lib/python3.6/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd3 in position 21: invalid continuation byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/ezame", line 4, in <module>
    run()
  File "/usr/lib/python3.6/site-packages/ezame/main.py", line 1467, in __init__
    app = Ezame()
  File "/usr/lib/python3.6/site-packages/ezame/main.py", line 1419, in __init__
    self.load_menu()
  File "/usr/lib/python3.6/site-packages/ezame/main.py", line 1055, in load_menu
    elif self.desktop == "Apps": load_apps(self)
  File "/usr/lib/python3.6/site-packages/ezame/main.py", line 940, in load_apps
    Entry, local_icon = self.read_entry(desk_file)
  File "/usr/lib/python3.6/site-packages/ezame/main.py", line 858, in read_entry
    Entry = DE(desk_file[i_local])
  File "/usr/lib/python3.6/site-packages/ezame/desktop.py", line 42, in __init__
    self.faulty_text = df.read()
  File "/usr/lib/python3.6/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd3 in position 21: invalid continuation byte

Crashes on open

I'm on Ubuntu 14.04.1 and whenever I tried to open ezame, I would get the following stack trace:

Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/dist-packages/ezame/__main__.py", line 988, in <module>
    app = Ezame()
  File "/usr/lib/python2.7/dist-packages/ezame/__main__.py", line 938, in __init__
    self.load_menu()
  File "/usr/lib/python2.7/dist-packages/ezame/__main__.py", line 785, in load_menu
    self.load_freedesktop()
  File "/usr/lib/python2.7/dist-packages/ezame/__main__.py", line 853, in load_freedesktop
    else: self.menu = parse()
  File "/usr/lib/python2.7/dist-packages/xdg/Menu.py", line 570, in parse
    raise ParsingError('File not found', "/etc/xdg/menus/%s" % candidate)
xdg.Exceptions.ParsingError: ParsingError in file '/etc/xdg/menus/debian-menu.menu', File not found

I was able to fix it by installing the debian package menu-xdg But I don't feel like this should be necessary. That file shouldn't be needed by ezame.

Does not show KDE applications installed

Hello there,

I've noticed Ezame doesn't pick up Konsole or Kate in the applications list, any idea why? Is it just those applications or is it all KDE apps?

Cheers

Add a better way to select images and open local file.desktop

I really liked this menu editor, but I would like to improve the way of adding the images, perhaps similar to the menulibre which is fast in loading and practical when selecting the image, and also that a button is added to open the file location for when it is necessary to delete .desktop

And thanks for creating this application

Error adding action

[Desktop Action NewShortcut]
Name=Listar Dispositivos
Exec=bash -c 'notify-send "$(adb devices)"'

Show an error message, but the action performs normally

Feature request: Make "Comment" span over more lines

Hello,
First of all, thanks for EZAME!!

I would like to propose that the Comment line could be a bigger area where one can actually type a text in, not just one line. As it's the last item in the properties tab, there would be space to do so.

Crash on load

Hello, I saw your program referenced in the cairo-dock code as one of the possible menu editors.
Since previous options didn't worked, I tried to install it but it failed to start.

Using Archlinux package: aur/ezame-git 0.6-1 [installed] [1] <--- yes I'm the only one who installed it ATM.

 File "/usr/lib/python3.4/site-packages/ezame/main.py", line 1298, in load_prefs
    self.xdg_data_dirs = os.environ.get("XDG_DATA_DIRS").split(":") + [xdg_data_home] or ("/usr/local/share:/usr/share").split(":")

I removed the part before "or", and had to do the same on line 1300 to have the program start (XDG_CONFIG_DIRS).

(those environment vars don't exist on my system)

The GUI seemed to show my menu items but I wasn't able to deactivate them.

So I tried to switch to "menu" mode and got this error:

Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/ezame/main.py", line 388, in on_Mpreferences_activate
    self.load_menu()
  File "/usr/lib/python3.4/site-packages/ezame/main.py", line 1056, in load_menu
    else: load_freedesktop(self)
  File "/usr/lib/python3.4/site-packages/ezame/main.py", line 1026, in load_freedesktop
    if not os.path.exists(os.path.dirname(self.config_file)): os.mkdir(os.path.dirname(self.config_file))
AttributeError: 'Ezame' object has no attribute 'config_file'
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/ezame/main.py", line 91, in gtk_main_quit
    if not os.path.exists(os.path.dirname(self.config_file)): os.mkdir(os.path.dirname(self.config_file))
AttributeError: 'Ezame' object has no attribute 'config_file'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.