Valama / valama

Next generation Vala IDE
GNU General Public License v3.0
207 stars 35 forks source link

packages chooser window is blank #109

Closed ghost closed 11 years ago

ghost commented 11 years ago

capture du 2013-09-01 12 11 59

i couldn't add package to a project.

(gdl 3.7.2 valac 0.22 gtk+-3.0 3.4.2)

Lasall commented 11 years ago

Thank you for reporting this bug! Can you please show your console output of:

valama -d 3 PATH/TO/toto-vala.vlp
ghost commented 11 years ago
yannick@yannick-Aspire-5315:~$ valama -d 3 toto-vala/toto-vala.vlp 
Charger le fichier syntaxe : /usr/local/share/guanako/syntax
Ajouter un paquet : gio-2.0
Ajouter un paquet : glib-2.0
Ajouter un paquet : gobject-2.0
Charger les méta-information du projet : /home/yannick/.cache/valama/project_meta.xml
Ajouter un projet au gestionnaire des récents : toto-vala - toto-vala/toto-vala.vlp
Trouvé fichier source : /home/yannick/toto-vala/src/main.vala
Trouvé Vapi : /home/yannick/toto-vala/vapi/config.vapi
No such directory: /home/yannick/toto-vala/ui
Trouvé le fichier de système de construction : /home/yannick/toto-vala/CMakeLists.txt
Trouvé le fichier de système de construction : /home/yannick/toto-vala/cmake/Gettext.cmake
Trouvé le fichier de système de construction : /home/yannick/toto-vala/cmake/FindIntltool.cmake
Trouvé le fichier de système de construction : /home/yannick/toto-vala/cmake/Common.cmake
Trouvé le fichier de système de construction : /home/yannick/toto-vala/cmake/SimpleUninstall.cmake
Trouvé Vapi : /usr/share/vala-0.22/vapi/gio-2.0.vapi
Trouvé Vapi : /usr/share/vala-0.22/vapi/glib-2.0.vapi
Trouvé Vapi : /usr/share/vala-0.22/vapi/gobject-2.0.vapi
Charger l'image : /usr/local/share/pixmaps/valama/element-signal-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-property-public-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-class-public-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-enum-private-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-error_code-private-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-method-public-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-error_domain-private-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-enum-public-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-enum_value-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-struct-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-interface-protected-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-enum-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-delegate-public-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-struct-private-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-delegate-protected-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-error_code-public-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-method-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-property-private-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-property-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-field-private-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-error_code-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-error_domain-public-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-property-protected-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-delegate-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-interface-private-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-field-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-interface-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-interface-public-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-struct-public-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-constant-public-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-method-private-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-field-public-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-error_domain-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-constant-private-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-constant-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-method-protected-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-class-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-class-private-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-delegate-private-16.png
Charger l'image : /usr/local/share/pixmaps/valama/element-namespace-16.png
Charger la nouvelle zone tampon : (nouveau fichier)
Zone tampon chargée.
Exécute la mise à jour de ProjectBrowser !
Mise à jour de ProjectBrowser terminée !
Exécute la mise à jour de UiBreakpoints !
Mise à jour de UiBreakpoints terminée !
Exécute la mise à jour de UiSearch !
Mise à jour de UiSearch terminée !
Charger l'agencement...
Agencements charger du fichier : /home/yannick/.cache/valama/layout.xml
Agencement charge : __default__
Charger les meta-informations de l'IU : /home/yannick/.cache/valama/ui_meta.xml
Define already enabled: GLIB_2_22
Define already enabled: GLIB_2_26
Define already enabled: GLIB_2_30
Define already enabled: GLIB_2_32
Version incompatible du paquet 'glib-2' >= 2.36 trouvé : 2.32.4
Impossible de deviner le paquet pour le define : GLIB_2_36
Exécute la mise à jour de SymbolBrowser !
Define already checked (and not available): GLIB_2_36
Mise à jour de SymbolBrowser terminée !
Checking .vapi dir: /usr/local/share/vala/vapi
Checking .vapi dir: /usr/share/vala/vapi
Checking .vapi dir: /usr/share/vala-0.22/vapi
Ajouter un paquet : alsa
Exécute la mise à jour de ProjectBrowser !
Mise à jour de ProjectBrowser terminée !
Trouvé Vapi : /usr/share/vala-0.22/vapi/posix.vapi
Trouvé Vapi : /usr/share/vala-0.22/vapi/alsa.vapi
Update source file: /usr/share/vala-0.22/vapi/alsa.vapi
Exécute la mise à jour de SymbolBrowser !
Erreur trouvé : /usr/share/vala-0.22/vapi/alsa.vapi : 534(46)-534(46) : The symbol `Posix' could not be found
Erreur trouvé : /usr/share/vala-0.22/vapi/alsa.vapi : 536(54)-536(54) : The symbol `Posix' could not be found
Source file update finished.
Update source file: /usr/share/vala-0.22/vapi/posix.vapi
Attention trouvé : /usr/share/vala-0.22/vapi/posix.vapi : 1499(10)-1499(10) : method `Posix.fstat' never used
Attention trouvé : /usr/share/vala-0.22/vapi/posix.vapi : 1501(9)-1501(9) : method `Posix.stat' never used
Attention trouvé : /usr/share/vala-0.22/vapi/posix.vapi : 1503(10)-1503(10) : method `Posix.lstat' never used
Attention trouvé : /usr/share/vala-0.22/vapi/posix.vapi : 1598(11)-1598(11) : method `Posix.major' never used
Attention trouvé : /usr/share/vala-0.22/vapi/posix.vapi : 1600(11)-1600(11) : method `Posix.minor' never used
Attention trouvé : /usr/share/vala-0.22/vapi/posix.vapi : 1602(14)-1602(14) : method `Posix.makedev' never used
Attention trouvé : /usr/share/vala-0.22/vapi/posix.vapi : 1684(18)-1684(18) : method `Posix.clock_gettime' never used
Attention trouvé : /usr/share/vala-0.22/vapi/posix.vapi : 2423(22)-2423(22) : method `Posix.CpuSet.is_equal' never used
Attention trouvé : /usr/share/vala-0.22/vapi/posix.vapi : 2430(28)-2430(28) : method `Posix.CpuSet.is_equal_sized' never used
Attention trouvé : /usr/share/vala-0.22/vapi/posix.vapi : 2458(27)-2458(27) : method `Posix.CpuSet.init' never used
Source file update finished.
Mise à jour de SymbolBrowser terminée !
Lasall commented 11 years ago

Please apply following patch to get some more debug output:

--- a/guanako/guanako_helpers.vala
+++ b/guanako/guanako_helpers.vala
@@ -72,8 +72,12 @@ namespace Guanako {
                 FileInfo file_info;
                 while ((file_info = enumerator.next_file()) != null) {
                     var filename = file_info.get_name();
-                    if (filename.has_suffix (".vapi"))
+                    if (filename.has_suffix (".vapi")) {
+                        stdout.printf ("vapi found: %s\n", filename);
                         list.insert_sorted (filename.substring (0, filename.length - 5), strcmp);
+                    } else {
+                        stdout.printf ("not a vapi: %s\n", filename);
+                    }
                 }
             } catch (GLib.Error e) {
                 stdout.printf (_("Could not update vapi files: %s\n"), e.message);

Then after starting Valama please try to add a new package and show the output.

ghost commented 11 years ago
vapi found: mee.vapi
vapi found: sqlheavy-0.1.vapi
not a vapi: sqlheavy-0.1.deps
vapi found: sqlheavygtk-0.1.vapi
not a vapi: sqlheavygtk-0.1.deps
vapi found: player-0.1.vapi
not a vapi: player-0.1.deps
vapi found: taglib-0.1.vapi
not a vapi: taglib-0.1.deps
vapi found: marlincore.vapi
not a vapi: marlincore.deps
vapi found: marlincore-C.vapi
vapi found: gee-1.0.vapi
vapi found: granite.vapi
not a vapi: scratchcore.deps
vapi found: scratchcore.vapi
not a vapi: granite.deps
not a vapi: devpet.deps
not a vapi: history-list.deps
not a vapi: nsplugin-manager.deps
vapi found: external-download-manager.vapi
vapi found: delayed-load.vapi
not a vapi: external-download-manager.deps
not a vapi: apps.deps
vapi found: nsplugin-manager.vapi
not a vapi: delayed-load.deps
vapi found: devpet.vapi
vapi found: apps.vapi
vapi found: history-list.vapi
vapi found: transfers.vapi
not a vapi: transfers.deps
vapi found: gee-0.8.vapi
not a vapi: webkit-1.0.deps
vapi found: gobject-2.0.vapi
not a vapi: gstreamer-check-0.10.deps
not a vapi: gdl-1.0.deps
vapi found: pangocairo.vapi
not a vapi: libsoup-2.4.deps
vapi found: libdaemon.vapi
not a vapi: gstreamer-audio-1.0.deps
vapi found: gtksourceview-3.0.vapi
vapi found: libnotify.vapi
vapi found: gstreamer-base-1.0.vapi
vapi found: gio-unix-2.0.vapi
not a vapi: libpanelapplet-2.0.deps
vapi found: gstreamer-tag-0.10.vapi
vapi found: gconf-2.0.vapi
vapi found: gobject-introspection-1.0.vapi
vapi found: gdu-gtk.vapi
vapi found: gstreamer-net-1.0.vapi
vapi found: json-glib-1.0.vapi
not a vapi: mx-1.0.deps
not a vapi: libgsf-1.deps
vapi found: gnutls.vapi
not a vapi: gstreamer-app-1.0.deps
vapi found: udisks2.vapi
vapi found: gdl-3.0.vapi
vapi found: gstreamer-sdp-1.0.vapi
vapi found: bzlib.vapi
vapi found: gstreamer-rtsp-server-1.0.vapi
not a vapi: purple.deps
vapi found: libsexy.vapi
not a vapi: cogl-pango-1.0.deps
vapi found: gtksourceview-2.0.vapi
vapi found: gstreamer-check-0.10.vapi
vapi found: posix.vapi
not a vapi: poppler-glib.deps
vapi found: gdl-1.0.vapi
not a vapi: gstreamer-pbutils-0.10.deps
vapi found: clutter-json-1.0.vapi
vapi found: gedit-2.20.vapi
not a vapi: gstreamer-check-1.0.deps
vapi found: libglade-2.0.vapi
vapi found: sdl-mixer.vapi
vapi found: libusb.vapi
not a vapi: libgdata.deps
vapi found: gtkmozembed.vapi
not a vapi: gtk+-2.0.deps
vapi found: twitter-glib-1.0.vapi
vapi found: sdl.vapi
not a vapi: gstreamer-controller-1.0.deps
vapi found: gstreamer-audio-1.0.vapi
not a vapi: libgda-report-4.0.deps
vapi found: gstreamer-fft-0.10.vapi
not a vapi: cairo-xcb.deps
not a vapi: gstreamer-fft-0.10.deps
vapi found: glib-2.0.vapi
vapi found: gstreamer-sdp-0.10.vapi
vapi found: gstreamer-video-1.0.vapi
not a vapi: gstreamer-rtsp-1.0.deps
vapi found: libgvc.vapi
not a vapi: gstreamer-tag-1.0.deps
vapi found: readline.vapi
vapi found: avahi-client.vapi
not a vapi: sdl-ttf.deps
vapi found: sdl-image.vapi
not a vapi: gstreamer-cdda-0.10.deps
vapi found: gstreamer-controller-1.0.vapi
vapi found: hildon-fm-2.vapi
vapi found: webkit-1.0.vapi
vapi found: gstreamer-check-1.0.vapi
vapi found: libgda-4.0.vapi
vapi found: gstreamer-audio-0.10.vapi
vapi found: libgnome-menu.vapi
not a vapi: gstreamer-sdp-0.10.deps
vapi found: gstreamer-tag-1.0.vapi
vapi found: gstreamer-app-1.0.vapi
vapi found: cairo.vapi
vapi found: poppler-glib.vapi
vapi found: lua.vapi
not a vapi: gstreamer-rtp-1.0.deps
not a vapi: gedit.deps
not a vapi: clutter-gtk-1.0.deps
vapi found: alsa.vapi
not a vapi: gstreamer-net-0.10.deps
not a vapi: xtst.deps
not a vapi: gnome-desktop-2.0.deps
not a vapi: gstreamer-video-0.10.deps
not a vapi: linux.deps
vapi found: gstreamer-pbutils-0.10.vapi
vapi found: libpanelapplet-2.0.vapi
vapi found: tracker-indexer-module-1.0.vapi
not a vapi: libgda-4.0.deps
vapi found: pixman-1.vapi
vapi found: vte.vapi
vapi found: gdk-x11-3.0.vapi
vapi found: liboobs-1.vapi
vapi found: rest-extras-0.6.vapi
not a vapi: libusb-1.0.deps
vapi found: libpq.vapi
not a vapi: gstreamer-pbutils-1.0.deps
not a vapi: rest-0.6.deps
vapi found: ccss-1.vapi
vapi found: gstreamer-fft-1.0.vapi
vapi found: libsoup-2.4.vapi
vapi found: libpeas-1.0.vapi
not a vapi: rasqal.deps
vapi found: xcb.vapi
not a vapi: gstreamer-rtsp-server-1.0.deps
vapi found: libwnck-3.0.vapi
not a vapi: hildon-1.deps
vapi found: gstreamer-video-0.10.vapi
not a vapi: libsexy.deps
vapi found: libwnck-1.0.vapi
vapi found: libesmtp.vapi
not a vapi: libwnck-3.0.deps
not a vapi: gstreamer-base-0.10.deps
not a vapi: gdu-gtk.deps
not a vapi: fuse.deps
not a vapi: sdl-image.deps
vapi found: purple.vapi
not a vapi: rest-0.7.deps
vapi found: gstreamer-controller-0.10.vapi
not a vapi: gstreamer-fft-1.0.deps
not a vapi: gstreamer-video-1.0.deps
vapi found: libbonoboui-2.0.vapi
not a vapi: libgnomeui-2.0.deps
not a vapi: gio-unix-2.0.deps
vapi found: rest-0.7.vapi
not a vapi: libnl-2.0.deps
vapi found: gtk+-3.0.vapi
not a vapi: avahi-gobject.deps
not a vapi: gdk-3.0.deps
not a vapi: twitter-glib-1.0.deps
vapi found: gmodule-2.0.vapi
not a vapi: hal.deps
vapi found: gstreamer-rtp-1.0.vapi
vapi found: raptor.vapi
not a vapi: sdl-mixer.deps
vapi found: libgnome-menu-3.0.vapi
not a vapi: gstreamer-interfaces-0.10.deps
not a vapi: gstreamer-rtp-0.10.deps
vapi found: goocanvas.vapi
vapi found: gdk-pixbuf-2.0.vapi
not a vapi: clutter-1.0.deps
not a vapi: sdl-net.deps
not a vapi: hildon-fm-2.deps
vapi found: libosso.vapi
vapi found: gstreamer-base-0.10.vapi
not a vapi: pangocairo.deps
vapi found: mx-1.0.vapi
vapi found: cogl-1.0.vapi
vapi found: gnome-desktop-2.0.vapi
vapi found: libusb-1.0.vapi
vapi found: libgdata.vapi
not a vapi: gtk+-3.0.deps
vapi found: x11.vapi
vapi found: gdk-3.0.vapi
not a vapi: gstreamer-app-0.10.deps
vapi found: pango.vapi
vapi found: gstreamer-cdda-0.10.vapi
vapi found: gstreamer-rtsp-0.10.vapi
vapi found: tiff.vapi
vapi found: libnl-2.0.vapi
not a vapi: gtksourceview-2.0.deps
vapi found: clutter-gtk-0.10.vapi
not a vapi: gdu.deps
not a vapi: gstreamer-sdp-1.0.deps
not a vapi: gstreamer-net-1.0.deps
vapi found: gstreamer-riff-0.10.vapi
vapi found: loudmouth-1.0.vapi
vapi found: cairo-xcb.vapi
not a vapi: udisks2.deps
vapi found: orc-0.4.vapi
vapi found: gdk-2.0.vapi
not a vapi: gtksourceview-3.0.deps
not a vapi: gdk-x11-3.0.deps
vapi found: librsvg-2.0.vapi
vapi found: linux.vapi
vapi found: gdk-x11-2.0.vapi
not a vapi: json-glib-1.0.deps
not a vapi: librsvg-2.0.deps
vapi found: rasqal.vapi
vapi found: libmagic.vapi
not a vapi: gstreamer-riff-0.10.deps
vapi found: vte-2.90.vapi
not a vapi: unique-1.0.deps
not a vapi: clutter-gtk-0.10.deps
vapi found: libvala-0.22.vapi
not a vapi: gtkmozembed.deps
vapi found: zlib.vapi
vapi found: clutter-gst-1.0.vapi
not a vapi: gstreamer-netbuffer-0.10.deps
vapi found: libgnomeui-2.0.vapi
vapi found: libnl-1.vapi
vapi found: sqlite3.vapi
vapi found: gstreamer-0.10.vapi
vapi found: atk.vapi
vapi found: gstreamer-app-0.10.vapi
vapi found: atspi-2.vapi
not a vapi: rest-extras-0.6.deps
not a vapi: sdl-gfx.deps
vapi found: libepc-1.0.vapi
not a vapi: gstreamer-controller-0.10.deps
vapi found: gstreamer-netbuffer-0.10.vapi
vapi found: gstreamer-pbutils-1.0.vapi
vapi found: tokyocabinet.vapi
not a vapi: vte.deps
not a vapi: gstreamer-tag-0.10.deps
vapi found: gio-2.0.vapi
vapi found: gstreamer-net-0.10.vapi
vapi found: gstreamer-rtp-0.10.vapi
vapi found: gudev-1.0.vapi
vapi found: cogl-pango-1.0.vapi
vapi found: gstreamer-interfaces-0.10.vapi
vapi found: gnome-keyring-1.vapi
vapi found: enchant.vapi
vapi found: fuse.vapi
vapi found: unique-1.0.vapi
vapi found: gnome-vfs-2.0.vapi
vapi found: rest-0.6.vapi
not a vapi: libnotify.deps
vapi found: hal.vapi
vapi found: gsl.vapi
vapi found: clutter-gtk-1.0.vapi
not a vapi: pango.deps
vapi found: libftdi.vapi
not a vapi: libftdi.deps
not a vapi: gnet-2.0.deps
not a vapi: cogl-1.0.deps
vapi found: clutter-1.0.vapi
vapi found: gedit.vapi
not a vapi: gstreamer-0.10.deps
vapi found: mysql.vapi
not a vapi: gedit-2.20.deps
not a vapi: libpeas-1.0.deps
not a vapi: gudev-1.0.deps
vapi found: gtk+-2.0.vapi
not a vapi: gstreamer-audio-0.10.deps
vapi found: libnl-3.0.vapi
not a vapi: alsa.deps
vapi found: xtst.vapi
not a vapi: libnl-3.0.deps
vapi found: dbus-glib-1.vapi
vapi found: taglib_c.vapi
not a vapi: vte-2.90.deps
vapi found: gstreamer-rtsp-1.0.vapi
not a vapi: atspi-2.deps
vapi found: libarchive.vapi
vapi found: sdl-ttf.vapi
not a vapi: gdl-3.0.deps
vapi found: sdl-gfx.vapi
vapi found: gdu.vapi
not a vapi: clutter-gst-1.0.deps
vapi found: gnet-2.0.vapi
vapi found: curses.vapi
vapi found: gstreamer-1.0.vapi
not a vapi: libglade-2.0.deps
not a vapi: libwnck-1.0.deps
not a vapi: gdk-x11-2.0.deps
vapi found: hildon-1.vapi
not a vapi: gstreamer-dataprotocol-0.10.deps
vapi found: avahi-gobject.vapi
vapi found: v4l2.vapi
not a vapi: gdk-pixbuf-2.0.deps
not a vapi: gdk-2.0.deps
vapi found: gstreamer-dataprotocol-0.10.vapi
not a vapi: gstreamer-rtsp-0.10.deps
vapi found: libgda-report-4.0.vapi
vapi found: libgsf-1.vapi
not a vapi: goocanvas.deps
not a vapi: gstreamer-base-1.0.deps
vapi found: libsoup-2.2.vapi
vapi found: libxml-2.0.vapi
vapi found: libgnome-2.0.vapi
not a vapi: libarchive.deps
vapi found: sdl-net.vapi
not a vapi: guanako.deps
vapi found: guanako.vapi
ghost commented 11 years ago

it works in xubuntu (xfce), not with the gnome desktop

Lasall commented 11 years ago

That's strange because all vapis are detected. Are you using a special gtk-theme? I'm asking because in your screenshot a scrollbar is visible but no items.

ghost commented 11 years ago

eOS theme for eOS, pantheon is a gnome fork

Lasall commented 11 years ago

Can you temporarily change your theme?

ghost commented 11 years ago

I'm running Xubuntu, Valama works

Lasall commented 11 years ago

I can't reproduce this issue on elementary OS (clean system with vala-team PPA).

ghost commented 11 years ago

I'll do an update and see the result

ghost commented 11 years ago

works fine on elementary OS ;)

Lasall commented 11 years ago

Thank you for verifying :) ! Please reopen when this issue occurs again.