Changeset 2143
- Timestamp:
- Jul 11, 2016, 12:51:46 PM (5 years ago)
- Location:
- zero-lliurex-flavours/trunk/fuentes
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
zero-lliurex-flavours/trunk/fuentes/debian/changelog
r746 r2143 1 zero-lliurex-flavours (0.9.13) xenial; urgency=medium 2 3 * New gui based in python+Gtk 4 5 -- Juan Ramon Pelegrina <juapesai@hotmail.com> Mon, 11 Jul 2016 10:54:35 +0200 6 1 7 zero-lliurex-flavours (0.9.12) xenial; urgency=medium 2 8 -
zero-lliurex-flavours/trunk/fuentes/debian/control
r746 r2143 9 9 Package: zero-lliurex-flavours 10 10 Architecture: all 11 Depends: ${misc:Depends}, llxcfg-runtime 11 Depends: ${misc:Depends}, llxcfg-runtime, python 12 12 Description: Flavours Selection Tool 13 13 Flavours Selection Tool for changing between LliureX flavours -
zero-lliurex-flavours/trunk/fuentes/install-files/usr/share/lliurex-flavours-selector/lliurex-flavours-selector.py
r2142 r2143 13 13 import subprocess 14 14 import sys 15 import datetime 15 16 from math import pi 16 17 … … 400 401 401 402 self.thread_ret=-1 402 self.thread_ret=os.system(command) 403 p=subprocess.Popen([command],shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE) 404 output=p.communicate() 405 self.thread_ret=p.returncode 406 self.flavour_error=output[1] 403 407 404 408 #def execute … … 433 437 else: 434 438 self.msg_label.show() 435 msg=_("An error ocurred during installation") 436 self.msg_label.set_markup(msg) 439 msg=_("An error ocurred. See log in /tmp/lliurex-flavours-selector") 440 self.msg_label.set_markup(msg) 441 self.log(self.flavour_error) 437 442 return self.t.is_alive() 438 443 … … 579 584 580 585 pctx = PangoCairo.create_layout(ctx) 581 desc = Pango.font_description_from_string ("Noto Sans Bold 8")586 desc = Pango.font_description_from_string ("Noto Sans Bold 7.5") 582 587 pctx.set_font_description(desc) 583 588 pctx.set_markup(grid_button.info["name"]) … … 813 818 # def restore_shadow_alfpha 814 819 815 820 def log(self,error): 821 log_file="/tmp/lliurex-flavour-selector" 822 f=open(log_file,"a") 823 f.write("[" +datetime.datetime.today().strftime("%d/%m/%y %H:%M:%S") + " ] " + "\n" + error + "\n") 824 f.close() 816 825 #awesome tabs 817 826 -
zero-lliurex-flavours/trunk/fuentes/lliurex-po/zero-lliurex-flavours/es.po
r2141 r2143 29 29 30 30 #: ../install-files/usr/share/lliurex-flavours-selector/lliurex-flavours-selector.py:435 31 msgid "An error ocurred during installation"32 msgstr "A ocurrido un error durante la instalación"31 msgid "An error ocurred. See log in /tmp/lliurex-flavours-selector" 32 msgstr "A ocurrido un error. Revise el log en /tmp/lliurex-flavours-selector" 33 33 34 34 #: ../install-files/usr/share/lliurex-flavours-selector/lliurex-flavours-selector.py:525 -
zero-lliurex-flavours/trunk/fuentes/lliurex-po/zero-lliurex-flavours/zero-lliurex-flavours.pot
r2141 r2143 27 27 28 28 #: ../install-files/usr/share/lliurex-flavours-selector/lliurex-flavours-selector.py:435 29 msgid "An error ocurred during installation"29 msgid "An error ocurred. See log in /tmp/lliurex-flavours-selector" 30 30 msgstr "" 31 31
Note: See TracChangeset
for help on using the changeset viewer.