DYefremov / DemonEditor

Enigma2 channel and satellite list editor for GNU/Linux and macOS.
https://dyefremov.github.io/DemonEditor
MIT License
116 stars 142 forks source link

Ubuntu 14.04.5 LTS x64 syntax error #2

Closed pczolee closed 5 years ago

pczolee commented 5 years ago

Hello.

I have Ubuntu 14.04.5 LTS x64 installed. I tried to run your program, but is have syntax error:

start.py Traceback (most recent call last): File "./start.py", line 2, in from app.ui.main_app_window import start_app File "/home/user/DemonEditor-master/app/ui/main_app_window.py", line 785 srv = Service(agr[0:2], icon, srv.name, agr[0:3], s_type.name, self._picons.get(picon_id, None), ^ SyntaxError: invalid syntax

Because this is LTS, i don't want to update, but, can you help me how to run it?

Thanks

DYefremov commented 5 years ago

Hello,

Unfortunately, this is not possible. This error occurs when using the version of Python < 3.5. If you can do something with the python version, then gtk + everything is not so simple. Since the program in the last versions ( > =0.4.0)uses widgets supported from gtk + 3.16 and higher, you need distro version from 16.04.5 LTS and higher.

I made some extra changes to the experimental (ver. 2.3) branch to make it possible to run this version on your system. Maybe not everything will work as it should, but I hope, the functionality of this version, in most cases, will be enough. If something is really missing, write! I can try to migrate some features from newer versions if it doesn't take a long time. Just download the archive from here:https://github.com/DYefremov/DemonEditor/archive/experimental.zip Unpack and run it by double clicking on DemonEditor.desktop in the root directory, or launch from the console with the command: ./start.py

Be sure to backup your data before use!

Best regards

pczolee commented 5 years ago

Hello.

Thanks for your answer. I understand you, but some people don't want to use the latest ubuntu, because the old LTS is still supported and working fine. Anyway, thank you very much for your help. Now it is running. Only one problem what I found is, that the menu title font/language is Cyrillic. Thank you for your time to help me and other who want to run it in old version.

I wish you all the best an Merry Christmas!

DYefremov commented 5 years ago

Hello.

Happy to help. Maybe I will sometimes add some changes to this brunch.

Merry Christmas!

DYefremov commented 5 years ago

I have updated the functionality to version 3.2 and added a part from later versions!

Best regards

pczolee commented 5 years ago

Hello.

First of all, thanks for your fast reply! Unfortunately the new version is not running :(

$ ./start.py Traceback (most recent call last): File "./start.py", line 2, in from app.ui.main_app_window import start_app File "/home/user/DreamEditor/DemonEditor-win_test/app/ui/main_app_window.py", line 24, in from .satellites_dialog import show_satellites_dialog File "/home/user/DreamEditor/DemonEditor-win_test/app/ui/satellites_dialog.py", line 8, in from app.tools.satellites import SatellitesParser, SatelliteSource File "/home/user/DreamEditor/DemonEditor-win_test/app/tools/satellites.py", line 5, in import requests ImportError: No module named 'requests'

pczolee commented 5 years ago

Solved by install python3-requests.

Unfortunately the menu title language is still Cyrillic (in the menu everything is in my locale).

$ ./start.py

(start.py:28900): Gtk-WARNING **: Unknown property: GtkPaned.wide-handle

(start.py:28900): Gtk-WARNING **: Unknown property: GtkPaned.wide-handle

(start.py:28900): Gtk-WARNING **: Unknown property: GtkPaned.wide-handle

(start.py:28900): Gtk-CRITICAL **: gtk_application_get_app_menu: assertion 'GTK_IS_APPLICATION (application)' failed

(start.py:28900): Gtk-CRITICAL **: gtk_application_get_menubar: assertion 'GTK_IS_APPLICATION (application)' failed

(start.py:28900): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion '!g_slist_find (group, radio_button)' failed

DYefremov commented 5 years ago

Hello.

At the moment, you can ignore this warnings. More interesting, what is the problem with your locale. Can you send a screenshot for explanation + output of the locale command in the terminal? On the live system, I don't see any Cyrillic characters. In my spare time I will try to look this problem.

Best regards

pczolee commented 5 years ago

Hello.

Thanks for your time. Here you can find the screenshot: https://ufile.io/ljvd2

$ locale LANG=hu_HU.UTF-8 LANGUAGE=hu_HU LC_CTYPE="hu_HU.UTF-8" LC_NUMERIC="hu_HU.UTF-8" LC_TIME="hu_HU.UTF-8" LC_COLLATE="hu_HU.UTF-8" LC_MONETARY="hu_HU.UTF-8" LC_MESSAGES="hu_HU.UTF-8" LC_PAPER="hu_HU.UTF-8" LC_NAME="hu_HU.UTF-8" LC_ADDRESS="hu_HU.UTF-8" LC_TELEPHONE="hu_HU.UTF-8" LC_MEASUREMENT="hu_HU.UTF-8" LC_IDENTIFICATION="hu_HU.UTF-8" LC_ALL=

DYefremov commented 5 years ago

Hello.

Yes, you were right. :) I uploaded a small fix. Now the menu titles must be in English.

Best regards

pczolee commented 5 years ago

Hello.

Yes, now it is english! Fine, thank you!

I wish you a happy new year!

Best Regards