linux-man / ezame Goto Github PK
View Code? Open in Web Editor NEWEza's Menu Editor
License: GNU General Public License v3.0
Eza's Menu Editor
License: GNU General Public License v3.0
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
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.
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
Also in the editor the URL variable is set to Url rather than to URL.
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
[Desktop Action NewShortcut]
Name=Listar Dispositivos
Exec=bash -c 'notify-send "$(adb devices)"'
Show an error message, but the action performs normally
The executable seems to miss the x flag:
$ ls -l /usr/bin/ezame
-rw-r--r-- 1 root root 81 30. Aug 07:40 /usr/bin/ezame
When trying to launch:
ezame
-bash: /usr/bin/ezame: No permission
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.
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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.