Applicazioni che non vengono lanciate dall'elenco app

12 risposte [Ultimo contenuto]
Ritratto di ale.a
ale.a
(Geek)
Offline
Geek
Iscritto: 12/03/2017
Messaggi: 80

Salve a tutti, ho da poco installato Debian con XFCE e ho notato che nella sezione "Istruzione" dell'elenco applicazioni c'è un app che si chiama "Naviga", se clicco però non succede nulla e vorrei capire come mai e cos'è quest'app.

Sono anche andato in /usr/share/applications per vedere com'era scritto il file .desktop e le informazioni principali all'interno sono:

Nome: Browse
Comment: Surf the World!
Exec: sugar-activity webactivity.Webactivity -s
Path: /usr/share/sugar/activities/Browse.activity

Su internet si trova davvero poco riguardo a questo, qualche forum inglese che ho visto parlarne comunque non spiega dettagliatamente di cosa si tratti, sembrerebbe avere a che fare con qualche browser basilare di Debian ma vorrei capire più a fondo.

Ringrazio in anticipo chiunque mi schiarisca il dubbio.

Ritratto di azioga
azioga
(Geek)
Offline
Geek
Iscritto: 26/02/2018
Messaggi: 55

Ciao, sembra mancare un pezzo Wink

Dovrebbe partire il browser di sugar.desktop.

Ma se provi a dare il comando "sugar-activity webactivity.WebActivity -s" da riga di comando vedrai che manca la cartella collabwrapper

Qui è segnalato l'errore:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881879

la puoi scaricare all'indirizzo indicato nel bug report

Ritratto di ale.a
ale.a
(Geek)
Offline
Geek
Iscritto: 12/03/2017
Messaggi: 80

Ciao, grazie per la risposta, in realtà eseguendo il comando detto da te mi viene restituito:

Usage: sugar-activity [options] [activity dir] [python class]
 
Options:
  -h, --help            show this help message and exit
  -b BUNDLE_ID, --bundle-id=BUNDLE_ID
                        identifier of the activity bundle
  -a ACTIVITY_ID, --activity-id=ACTIVITY_ID
                        identifier of the activity instance
  -o OBJECT_ID, --object-id=OBJECT_ID
                        identifier of the associated datastore object
  -u URI, --uri=URI     URI to load
  -s, --single-process  start all the instances in the same process
  -i, --invited         the activity is being launched for handling an invite
                        from the network
 
If you are running from a directory containing an Activity, the argument may
be ommitted. Otherwise please provide either a directory containing a Sugar
Activity [activity dir], a [python_class], or both.

E non c'è alcun cenno alla cartella di cui parli, in ogni caso non ho capito bene come procedere, nella pagina da te linkata c'è un link che mi porta ad un archivio con dei file tar.bz2 ma non capisco cosa dovrei fare.

Ritratto di azioga
azioga
(Geek)
Offline
Geek
Iscritto: 26/02/2018
Messaggi: 55

in fondo ti dice di eseguirlo da una dir contenente una Activity. Spostati in

/usr/share/sugar/activities/Browse.activity

se lo esegui da qui ti dice:

$ sugar-activity webactivity.WebActivity -s
Traceback (most recent call last):
  File "/usr/bin/sugar-activity", line 219, in <module>
    main()
  File "/usr/bin/sugar-activity", line 163, in main
    module = __import__(module_name)
  File "/usr/share/sugar/activities/Browse.activity/webactivity.py", line 58, in <module>
    from collabwrapper.collabwrapper import CollabWrapper
ImportError: No module named collabwrapper.collabwrapper

adesso scarichi dal link il tar.bz2 corrispondente alla tua versione di sugar-browse-activity (dpkg -l| grep sugar-browse-activity), la scompatti e copi la cartella collabwrapper sotto /usr/share/sugar/activities/Browse.activity

controlla che cartella e file abbiano i corretti permessi di lettura

riprova con sugar-activity webactivity.WebActivity -s, ma dovrebbe funzionare anche da menu

Ritratto di ale.a
ale.a
(Geek)
Offline
Geek
Iscritto: 12/03/2017
Messaggi: 80

Cavolo ora non ricordo bene ma ero convinto di essermi spostato in una di quelle cartelle apposta, comunque l'output che ricevo è diverso:

/usr/share/sugar/activities/Browse.activity/webactivity.py:27: 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
/usr/share/sugar/activities/Browse.activity/webactivity.py:29: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded.
  from gi.repository import WebKit2
/usr/share/sugar/activities/Browse.activity/webactivity.py:31: PyGIWarning: SoupGNOME was imported without specifying a version first. Use gi.require_version('SoupGNOME', '2.4') before import to ensure that the right version gets loaded.
  from gi.repository import SoupGNOME
/usr/share/sugar/activities/Browse.activity/webactivity.py:37: PyGIWarning: GConf was imported without specifying a version first. Use gi.require_version('GConf', '2.0') before import to ensure that the right version gets loaded.
  from gi.repository import GConf
1519759088.246508 ERROR root: SUGAR_VERSION env variable not found
Traceback (most recent call last):
  File "/usr/bin/sugar-activity", line 220, in <module>
    main()
  File "/usr/bin/sugar-activity", line 215, in main
    instance = create_activity_instance(activity_constructor, activity_handle)
  File "/usr/bin/sugar-activity", line 48, in create_activity_instance
    activity = constructor(handle)
  File "/usr/share/sugar/activities/Browse.activity/webactivity.py", line 150, in __init__
    activity.Activity.__init__(self, handle)
  File "/usr/lib/python2.7/dist-packages/sugar3/activity/activity.py", line 422, in __init__
    self._jobject = self._initialize_journal_object()
  File "/usr/lib/python2.7/dist-packages/sugar3/activity/activity.py", line 476, in _initialize_journal_object
    datastore.write(jobject)
  File "/usr/lib/python2.7/dist-packages/sugar3/datastore/datastore.py", line 381, in write
    transfer_ownership)
  File "/usr/lib/python2.7/dist-packages/sugar3/datastore/datastore.py", line 331, in _create_ds_entry
    object_id = _get_data_store().create(dbus.Dictionary(properties), filename,
  File "/usr/lib/python2.7/dist-packages/sugar3/datastore/datastore.py", line 50, in _get_data_store
    DS_DBUS_PATH),
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.laptop.sugar.DataStore was not provided by any .service files
1519759088.768955 WARNING root: DSObject was deleted without cleaning up first. Call DSObject.destroy() before disposing it.

Com'è possibile che accada una cosa del genere con un pacchetto installato di default?

Ritratto di azioga
azioga
(Geek)
Offline
Geek
Iscritto: 26/02/2018
Messaggi: 55

ale.a ha scritto:

Com'è possibile che accada una cosa del genere con un pacchetto installato di default?

perchè errare è umano Wink

io ho una debian testing kde/plasma che di sugar non sapeva neanche l'esistenza.
per simulare la tua situazione ho installato sugar con
apt-get install sugar
e mi ha installato una marea di pkg(ti posto la lista):

2018-02-26 14:43:35 install telepathy-salut:amd64 <none> 0.8.1-5.1
2018-02-26 14:43:34 install telepathy-mission-control-5:amd64 <none> 1:5.16.4-2
2018-02-26 14:43:34 install sugar-write-activity:all <none> 98.2-1
2018-02-26 14:43:33 install sugar-terminal-activity:all <none> 45.2-1
2018-02-26 14:43:32 install sugar-themes:all <none> 0.112-1
2018-02-26 14:43:32 install sugar-session:all <none> 0.112-2
2018-02-26 14:43:31 install sugar-read-activity:all <none> 119-1
2018-02-26 14:43:30 install sugar-pippy-activity:all <none> 71~dfsg-1
2018-02-26 14:43:30 install sugar-log-activity:all <none> 38-1
2018-02-26 14:43:29 install sugar-jukebox-activity:all <none> 33-1
2018-02-26 14:43:29 install sugar-imageviewer-activity:all <none> 63-1
2018-02-26 14:43:28 install sugar-icon-theme:all <none> 0.112-1
2018-02-26 14:43:27 install sugar-chat-activity:all <none> 84-2
2018-02-26 14:43:27 install sugar-calculate-activity:all <none> 44-3
2018-02-26 14:43:26 install sugar-browse-activity:all <none> 201.3-1
2018-02-26 14:43:26 install python-tk:amd64 <none> 2.7.14-2
2018-02-26 14:43:25 install python-pygame:amd64 <none> 1.9.1release+dfsg-10+b2
2018-02-26 14:43:25 install python-pil:amd64 <none> 4.3.0-2
2018-02-26 14:43:25 install python-olefile:all <none> 0.45.1-1
2018-02-26 14:43:24 install python-matplotlib:amd64 <none> 2.1.1-2
2018-02-26 14:43:23 install python-tz:all <none> 2018.3-2
2018-02-26 14:43:23 install python-subprocess32:amd64 <none> 3.2.7-2
2018-02-26 14:43:23 install python-pyparsing:all <none> 2.1.10+dfsg1-1
2018-02-26 14:43:22 install ttf-bitstream-vera:all <none> 1.10-8
2018-02-26 14:43:22 install python-matplotlib-data:all <none> 2.1.1-2
2018-02-26 14:43:22 install python-jarabe:all <none> 0.112-2
2018-02-26 14:43:22 install python-gwebsockets:all <none> 0.4-3
2018-02-26 14:43:21 install python-sugar3:all <none> 0.112-1
2018-02-26 14:43:21 install python-gst-1.0:amd64 <none> 1.12.4-2
2018-02-26 14:43:21 install python-cycler:all <none> 0.10.0-1
2018-02-26 14:43:21 install python-carquinyol:amd64 <none> 0.112-1
2018-02-26 14:43:20 install python-telepathy:all <none> 0.15.19-3
2018-02-26 14:43:20 install python-gi-cairo:amd64 <none> 3.26.1-2
2018-02-26 14:43:20 install python-decorator:all <none> 4.1.2-1
2018-02-26 14:43:20 install python-dateutil:all <none> 2.6.1-1
2018-02-26 14:43:19 install python-xapian:amd64 <none> 1.4.5-1+b1
2018-02-26 14:43:19 install python-gi:amd64 <none> 3.26.1-2
2018-02-26 14:43:19 install python-dbus:amd64 <none> 1.2.6-1
2018-02-26 14:43:19 install python-backports.functools-lru-cache:all <none> 1.4-2
2018-02-26 14:43:19 install metacity:amd64 <none> 1:3.26.0-1
2018-02-26 14:43:18 install zenity:amd64 <none> 3.27.90-1
2018-02-26 14:43:17 install zenity-common:all <none> 3.27.90-1
2018-02-26 14:43:16 install libsugarext-data:all <none> 0.112-1
2018-02-26 14:43:16 install libsmpeg0:amd64 <none> 0.4.5+cvs20030824-7.2+b1
2018-02-26 14:43:16 install libsdl-ttf2.0-0:amd64 <none> 2.0.11-4
2018-02-26 14:43:16 install libsdl-mixer1.2:amd64 <none> 1.2.12-14
2018-02-26 14:43:15 install libtelepathy-glib0:amd64 <none> 0.24.1-2
2018-02-26 14:43:15 install libportmidi0:amd64 <none> 1:217-6
2018-02-26 14:43:15 install libmission-control-plugins0:amd64 <none> 1:5.16.4-2
2018-02-26 14:43:15 install libmikmod3:amd64 <none> 3.3.11.1-3
2018-02-26 14:43:14 install metacity-common:all <none> 1:3.26.0-1
2018-02-26 14:43:14 install libmetacity1:amd64 <none> 1:3.26.0-1
2018-02-26 14:43:13 install libjs-jquery-ui:all <none> 1.12.1+dfsg-5
2018-02-26 14:43:13 install libgtop-2.0-11:amd64 <none> 2.38.0-2
2018-02-26 14:43:12 install libgtop2-common:all <none> 2.38.0-2
2018-02-26 14:43:12 install libcogl-common:all <none> 1.22.2-3
2018-02-26 14:43:11 install libclutter-1.0-common:all <none> 1.26.2+dfsg-4
2018-02-26 14:43:11 install libavahi-gobject0:amd64 <none> 0.7-3.1
2018-02-26 14:43:11 install gvfs-daemons:amd64 <none> 1.34.1-2
2018-02-26 14:43:11 install gvfs:amd64 <none> 1.34.1-2
2018-02-26 14:43:10 install gvfs-libs:amd64 <none> 1.34.1-2
2018-02-26 14:43:10 install gvfs-common:all <none> 1.34.1-2
2018-02-26 14:43:10 install gstreamer1.0-espeak:amd64 <none> 0.4.0-3
2018-02-26 14:43:10 install gir1.2-xkl-1.0:amd64 <none> 5.4-3
2018-02-26 14:43:09 install libxklavier16:amd64 <none> 5.4-3
2018-02-26 14:43:09 install libsugarext0:amd64 <none> 0.112-1
2018-02-26 14:43:09 install gir1.2-webkit2-4.0:amd64 <none> 2.18.6-1
2018-02-26 14:43:09 install gir1.2-upowerglib-1.0:amd64 <none> 0.99.7-2
2018-02-26 14:43:09 install gir1.2-sugarext-1.0:amd64 <none> 0.112-1
2018-02-26 14:43:08 install libnm-gtk0:amd64 <none> 1.8.10-2
2018-02-26 14:43:08 install gir1.2-soup-2.4:amd64 <none> 2.60.3-1
2018-02-26 14:43:08 install gir1.2-rsvg-2.0:amd64 <none> 2.40.20-2
2018-02-26 14:43:08 install gir1.2-nmgtk-1.0:amd64 <none> 1.8.10-2
2018-02-26 14:43:08 install gir1.2-networkmanager-1.0:amd64 <none> 1.10.4-1+b1
2018-02-26 14:43:07 install libnm-util2:amd64 <none> 1.10.4-1+b1
2018-02-26 14:43:07 install libnm-glib4:amd64 <none> 1.10.4-1+b1
2018-02-26 14:43:07 install libgtksourceview-3.0-1:amd64 <none> 3.24.6-1
2018-02-26 14:43:07 install gir1.2-javascriptcoregtk-4.0:amd64 <none> 2.18.6-1
2018-02-26 14:43:07 install gir1.2-gudev-1.0:amd64 <none> 232-2
2018-02-26 14:43:07 install gir1.2-gtksource-3.0:amd64 <none> 3.24.6-1
2018-02-26 14:43:06 install libgtksourceview-3.0-common:all <none> 3.24.6-1
2018-02-26 14:43:06 install gir1.2-gstreamer-1.0:amd64 <none> 1.12.4-1
2018-02-26 14:43:06 install gir1.2-gst-plugins-base-1.0:amd64 <none> 1.12.4-1
2018-02-26 14:43:05 install libkpathsea6:amd64 <none> 2017.20170613.44572-8+b1
2018-02-26 14:43:05 install libevview3-3:amd64 <none> 3.26.0-3
2018-02-26 14:43:05 install libevdocument3-4:amd64 <none> 3.26.0-3
2018-02-26 14:43:05 install gir1.2-gconf-2.0:amd64 <none> 3.2.6-4.1
2018-02-26 14:43:05 install gir1.2-evince-3.0:amd64 <none> 3.26.0-3
2018-02-26 14:43:04 install libgxps2:amd64 <none> 0.3.0-2
2018-02-26 14:43:04 install libabiword-3.0:amd64 <none> 3.0.2-5
2018-02-26 14:43:04 install gir1.2-abi-3.0:amd64 <none> 3.0.2-5
2018-02-26 14:43:03 install libwv-1.2-4:amd64 <none> 1.2.9-4.2+b2
2018-02-26 14:43:03 install libgoffice-0.10-10-common:all <none> 0.10.35-1
2018-02-26 14:43:03 install libgoffice-0.10-10:amd64 <none> 0.10.35-1
2018-02-26 14:43:02 install libphonenumber7:amd64 <none> 7.1.0-5+b1
2018-02-26 14:43:02 install libedata-book-1.2-25:amd64 <none> 3.26.5-1
2018-02-26 14:43:02 install libecal-1.2-19:amd64 <none> 3.26.5-1
2018-02-26 14:43:02 install libebook-contacts-1.2-2:amd64 <none> 3.26.5-1
2018-02-26 14:43:02 install libebook-1.2-19:amd64 <none> 3.26.5-1
2018-02-26 14:43:01 install libedataserver-1.2-22:amd64 <none> 3.26.5-1
2018-02-26 14:43:01 install libebackend-1.2-10:amd64 <none> 3.26.5-1
2018-02-26 14:43:01 install libclutter-gtk-1.0-0:amd64 <none> 1.8.4-3
2018-02-26 14:43:01 install libchamplain-gtk-0.12-0:amd64 <none> 0.12.16-2
2018-02-26 14:43:01 install libcamel-1.2-60:amd64 <none> 3.26.5-1
2018-02-26 14:43:00 install libcogl-path20:amd64 <none> 1.22.2-3
2018-02-26 14:43:00 install libcogl-pango20:amd64 <none> 1.22.2-3
2018-02-26 14:43:00 install libclutter-1.0-0:amd64 <none> 1.26.2+dfsg-4
2018-02-26 14:43:00 install libchamplain-0.12-0:amd64 <none> 0.12.16-2
2018-02-26 14:42:59 install libcogl20:amd64 <none> 1.22.2-3
2018-02-26 14:42:59 install gir1.2-gsf-1:amd64 <none> 1.14.41-2
2018-02-26 14:42:59 install fonts-lyx:all <none> 2.2.3-5
2018-02-26 14:42:59 install evtest:amd64 <none> 1:1.33-1+b1
2018-02-26 14:42:58 install evolution-data-server-common:all <none> 3.26.5-1
2018-02-26 14:42:58 install evemu-tools:amd64 <none> 2.6.0-0.1
2018-02-26 14:42:57 install tk8.6-blt2.5:amd64 <none> 2.5.3+dfsg-4
2018-02-26 14:42:57 install libevemu3:amd64 <none> 2.6.0-0.1
2018-02-26 14:42:57 install ethtool:amd64 <none> 1:4.11-1
2018-02-26 14:42:57 install desktop-file-utils:amd64 <none> 0.23-2
2018-02-26 14:42:57 install blt:amd64 <none> 2.5.3+dfsg-4
2018-02-26 14:42:56 install avahi-autoipd:amd64 <none> 0.7-3.1

dall'errore che vedo sembra mancarti ancora qualche pezzo:

org.laptop.sugar.DataStore dovrebbe essere fornito da python-carquinyol. prova ad installarlo e vediamo cosa succcede.

Ritratto di ale.a
ale.a
(Geek)
Offline
Geek
Iscritto: 12/03/2017
Messaggi: 80

Grandee Big Grin sinceramente non me ne faccio niente di questa cosa, però è il principio di venirne a capo.
Mi spieghi come hai fatto a capire che mi serviva proprio quel pacchetto?

Comunque ora si avvia ma il terminale mi restituisce questo output, quindi credo ci sia ancora qualcosa che non va:

/usr/share/sugar/activities/Browse.activity/webactivity.py:27: 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
/usr/share/sugar/activities/Browse.activity/webactivity.py:29: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded.
  from gi.repository import WebKit2
/usr/share/sugar/activities/Browse.activity/webactivity.py:31: PyGIWarning: SoupGNOME was imported without specifying a version first. Use gi.require_version('SoupGNOME', '2.4') before import to ensure that the right version gets loaded.
  from gi.repository import SoupGNOME
/usr/share/sugar/activities/Browse.activity/webactivity.py:37: PyGIWarning: GConf was imported without specifying a version first. Use gi.require_version('GConf', '2.0') before import to ensure that the right version gets loaded.
  from gi.repository import GConf
1519766180.375625 ERROR root: SUGAR_VERSION env variable not found
1519766181.686004 WARNING root: No icon with the name zoom-home was found in the theme.
1519766181.686996 WARNING root: No icon with the name zoom-home was found in the theme.
1519766181.689315 WARNING root: No icon with the name zoom-neighborhood was found in the theme.
1519766181.689782 WARNING root: No icon with the name zoom-neighborhood was found in the theme.
1519766181.700671 WARNING root: IconEntry set_icon_from_name: icon 'entry-stop' not found in the theme.
1519766181.746663 ERROR root: Exception reading icon info: File contains no section headers.
file: /usr/share/icons/Adwaita/48x48/emblems/emblem-downloads.png, line: 1
'\x89PNG\r\n'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/sugar3/graphics/icon.py", line 211, in _get_attach_points
    cp.readfp(config_file)
  File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp
    self._read(fp, filename)
  File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
MissingSectionHeaderError: File contains no section headers.
file: /usr/share/icons/Adwaita/48x48/emblems/emblem-downloads.png, line: 1
'\x89PNG\r\n'
1519766181.798513 ERROR root: Exception reading icon info: File contains no section headers.
file: /usr/share/icons/Adwaita/48x48/emblems/emblem-downloads.png, line: 1
'\x89PNG\r\n'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/sugar3/graphics/icon.py", line 211, in _get_attach_points
    cp.readfp(config_file)
  File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp
    self._read(fp, filename)
  File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
MissingSectionHeaderError: File contains no section headers.
file: /usr/share/icons/Adwaita/48x48/emblems/emblem-downloads.png, line: 1
'\x89PNG\r\n'
1519766181.808512 WARNING root: IconEntry set_icon_from_name: icon 'entry-stop' not found in the theme.
(False, None)
1519766181.828209 WARNING root: IconEntry set_icon_from_name: icon 'entry-search' not found in the theme.
(False, 'file:///usr/share/sugar/activities/Browse.activity/data/index.html')
1519766181.882311 WARNING root: IconEntry set_icon_from_name: icon 'entry-stop' not found in the theme.
1519766181.894269 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766181.894607 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766181.894815 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766181.894997 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766181.945433 ERROR root: Exception reading icon info: File contains no section headers.
file: /usr/share/icons/Adwaita/48x48/actions/go-home.png, line: 1
'\x89PNG\r\n'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/sugar3/graphics/icon.py", line 211, in _get_attach_points
    cp.readfp(config_file)
  File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp
    self._read(fp, filename)
  File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
MissingSectionHeaderError: File contains no section headers.
file: /usr/share/icons/Adwaita/48x48/actions/go-home.png, line: 1
'\x89PNG\r\n'
1519766181.950095 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766181.951110 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766181.951919 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766181.952661 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766181.956991 ERROR root: Exception reading icon info: File contains no section headers.
file: /usr/share/icons/Adwaita/48x48/emblems/emblem-favorite.png, line: 1
'\x89PNG\r\n'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/sugar3/graphics/icon.py", line 211, in _get_attach_points
    cp.readfp(config_file)
  File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp
    self._read(fp, filename)
  File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
MissingSectionHeaderError: File contains no section headers.
file: /usr/share/icons/Adwaita/48x48/emblems/emblem-favorite.png, line: 1
'\x89PNG\r\n'
1519766181.964840 WARNING root: No icon with the name activity-stop was found in the theme.
1519766181.965784 WARNING root: No icon with the name activity-stop was found in the theme.
1519766182.017793 ERROR root: Exception reading icon info: File contains no section headers.
file: /usr/share/icons/gnome/48x48/actions/add.png, line: 1
'\x89PNG\r\n'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/sugar3/graphics/icon.py", line 211, in _get_attach_points
    cp.readfp(config_file)
  File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp
    self._read(fp, filename)
  File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
MissingSectionHeaderError: File contains no section headers.
file: /usr/share/icons/gnome/48x48/actions/add.png, line: 1
'\x89PNG\r\n'
1519766182.066729 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766182.075030 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766182.077172 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766182.077647 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766182.078518 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766182.078850 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766182.079467 WARNING root: No icon with the name activity-stop was found in the theme.
(False, 'file:///usr/share/sugar/activities/Browse.activity/data/index.html')
1519766183.433179 WARNING root: IconEntry set_icon_from_name: icon 'entry-stop' not found in the theme.
(False, 'file:///usr/share/sugar/activities/Browse.activity/data/index.html')
1519766184.248516 WARNING root: IconEntry set_icon_from_name: icon 'entry-stop' not found in the theme.
1519766184.261719 WARNING root: IconEntry set_icon_from_name: icon 'entry-refresh' not found in the theme.
1519766184.268509 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766184.269700 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766184.270226 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766184.270721 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766184.272046 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766184.272787 WARNING root: No icon with the name go-next-paired was found in the theme.
(False, 'file:///usr/share/sugar/activities/Browse.activity/data/index.html')
1519766184.288496 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766184.288918 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766184.289572 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766184.290558 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766184.291094 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766184.291419 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.788823 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.789238 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.789562 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.789843 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.790354 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.791486 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.792159 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.803616 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.804319 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.804535 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.807388 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.808682 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.808917 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.809116 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.809327 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.809563 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.810076 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.811241 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.814461 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.814926 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.815228 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.825119 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.825412 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.825858 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.827676 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.827896 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.828054 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.828198 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.828481 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.828651 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.828805 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.832168 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.832477 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.832724 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.836041 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.840181 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.840568 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.840857 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.841399 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.841666 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.842126 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.848630 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.853018 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.853592 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.853795 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.854141 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.854341 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.854546 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.854729 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.854987 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.855170 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.856251 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.856605 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.856918 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.857197 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.857799 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.858085 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.858565 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.871191 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.871414 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.871572 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.871716 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.871990 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.872156 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.872303 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.872446 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.872628 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.872769 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.873764 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.874040 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.875799 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.876098 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.876683 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.878882 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.884950 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.890712 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.894017 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.894208 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.894355 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.894677 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.894846 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.894998 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.895145 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.895330 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.895472 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.911585 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.912010 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.912345 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.912632 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.913152 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.913493 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.914010 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.921928 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.922222 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.922420 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.922620 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.922935 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.923132 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.923314 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.923492 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.923711 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.923887 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.935047 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.935367 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.935635 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.935877 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.936329 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.936551 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.936979 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.938821 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.941041 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.941245 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.945090 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.945478 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.945653 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.945804 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.945948 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.946148 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.946290 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.950846 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.960184 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.960586 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.960877 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.962343 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.962666 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.963416 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.985060 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.986039 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.986410 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.986761 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.987095 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.987269 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.987421 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.988514 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.988782 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.988966 WARNING root: No icon with the name activity-stop was found in the theme.
1519766189.991204 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.992573 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766189.994934 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.995324 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766189.995893 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766189.996186 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766189.996653 WARNING root: No icon with the name activity-stop was found in the theme.
1519766190.008353 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766190.009043 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766190.009252 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766190.009436 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766190.009682 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766190.009878 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766190.010064 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766190.010245 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766190.010467 WARNING root: No icon with the name activity-stop was found in the theme.
1519766190.010670 WARNING root: No icon with the name activity-stop was found in the theme.
1519766190.013399 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766190.016080 WARNING root: No icon with the name toolbar-edit was found in the theme.
1519766190.016716 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766190.022064 WARNING root: No icon with the name toolbar-view was found in the theme.
1519766190.026853 WARNING root: No icon with the name go-previous-paired was found in the theme.
1519766190.027524 WARNING root: No icon with the name go-next-paired was found in the theme.
1519766190.029263 WARNING root: No icon with the name activity-stop was found in the theme.

EDIT: Non farei prima a reinstallare sugar come hai fatto te? Così dovrebbe aggiungermi al sistema i pacchetti che mi mancano o no?

Ritratto di azioga
azioga
(Geek)
Offline
Geek
Iscritto: 26/02/2018
Messaggi: 55

ale.a ha scritto:


Mi spieghi come hai fatto a capire che mi serviva proprio quel pacchetto?

in fondo al log diceva che org.laptop.sugar.DataStore mancava da te, ma non da me:

$ dpkg -S org.laptop.sugar.DataStore.service
python-carquinyol: /usr/share/dbus-1/services/org.laptop.sugar.DataStore.service

mi ha detto dove era.

nel tuo caso potevi cercare su google "debian org.laptop.sugar.DataStore.service"

molti degli errori che vedo dipendono dalla mancanza di icone. probabilmente sugar-icon-theme è da installare

reinstallare sugar potrebbe essere una opzione, ma i nostri repository sono diversi quindi non garantisco. oppure puoi ricavare una lista di pacchetti da installare dal mio log di installazione.

ciao, Luca.

Ritratto di ale.a
ale.a
(Geek)
Offline
Geek
Iscritto: 12/03/2017
Messaggi: 80

Ho capito, quindi io il metodo che hai usato tu non avrei potuto usarlo, riguardo la ricerca non l'ho fatta perché prima che me lo dicessi tu non ero riuscito a capire su cosa focalizzarmi dal log.

Ho installato sugar-icon-theme e avevi ragione, era quello che serviva, ora ottengo solo questo come output:

/usr/share/sugar/activities/Browse.activity/webactivity.py:27: 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
/usr/share/sugar/activities/Browse.activity/webactivity.py:29: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded.
  from gi.repository import WebKit2
/usr/share/sugar/activities/Browse.activity/webactivity.py:31: PyGIWarning: SoupGNOME was imported without specifying a version first. Use gi.require_version('SoupGNOME', '2.4') before import to ensure that the right version gets loaded.
  from gi.repository import SoupGNOME
/usr/share/sugar/activities/Browse.activity/webactivity.py:37: PyGIWarning: GConf was imported without specifying a version first. Use gi.require_version('GConf', '2.0') before import to ensure that the right version gets loaded.
  from gi.repository import GConf
1519807159.009118 ERROR root: SUGAR_VERSION env variable not found
(False, None)
(False, 'file:///usr/share/sugar/activities/Browse.activity/data/index.html')
(False, 'file:///usr/share/sugar/activities/Browse.activity/data/index.html')
(False, 'file:///usr/share/sugar/activities/Browse.activity/data/index.html')
(False, 'file:///usr/share/sugar/activities/Browse.activity/data/index.html')

I primi quattro paragrafi credo riguardino dei warning nell'interpretazione dei file python quindi non mi riguardano.
Da "1519807159.009118 ERROR root: SUGAR_VERSION env variable not found" in poi cosa pensi possa essere, voglio vedere se riusciamo a fare tutto senza installare direttamente il pacchetto, per questo non sto provando ancora.

EDIT: Confermo quanto detto, nel file webactivity.py ho modificato propriamente gli import e ho eliminato anche quei warning.
EDIT2: Credo che a parte "env variable not found" le altre righe siano solo tracce dell'esecuzione, confermi?

Ritratto di azioga
azioga
(Geek)
Offline
Geek
Iscritto: 26/02/2018
Messaggi: 55

def get_sugar_version():
    global _sugar_version
    if _sugar_version is None:
        if 'SUGAR_VERSION' in os.environ:
            version = os.environ['SUGAR_VERSION']
            major, minor = version.split('.')[0:2]
            # use the last stable version
            _sugar_version = '%s.%s' % (major, int(minor) - int(minor) % 2)
        else:
            logging.error('SUGAR_VERSION env variable not found')
            _sugar_version = '0.100'
return _sugar_version

questo è il punto in cui da l'errore, che poi errore non è.
se non è specificata la versione nella variabile d'ambiente SUGAR_VERSION, prende per default 0.100.

se provi così dovrebbe sparire anche questo.

$ SUGAR_VERSION=0.112 sugar-activity webactivity.WebActivity -s

Ritratto di ale.a
ale.a
(Geek)
Offline
Geek
Iscritto: 12/03/2017
Messaggi: 80

Boh grazie è vero, non è nemmeno un erore in realtà.

Comunque credo di aver scoperto il problema di fondo, sembra che il pacchetto sugar sia installato in maniera incompleta, ho fatto le prove su macchina virtuale, ho tolto quello che avevamo installato e ho installato ex novo il pacchetto sugar, scoprendo che occupa la bellezza di 145 MB e che nel menu delle applicazioni aggiunge una moltitudine di voci oltre all'originario "Naviga" (e funzionano tutte perfettamente così), poi ho provato a rimuoverlo dal mio sistema non virtuale e mi restituisce questo:
Nota, viene selezionato "sugar-session" al posto di "sugar"
Se provo ad eliminare "sugar-session" ottengo:
Il pacchetto "sugar-session" non è installato e quindi non è stato rimosso