troubleshoot missing menus

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

troubleshoot missing menus

SmartGit mailing list
Greetings,
 

 I posted a while back that menus aren't displayed in SmartGit.  I'm using Linux Ubuntu 12.04.  I went ahead and created a new virtual machine with a fresh install of Ubuntu.  I installed SmartGit and sure enough the menus are there - it works perfectly.  Thinking I was in the clear, I went ahead and added the packages I need to do the development I want.  After these packages were added, the menus are again missing.  There is something about SmartGit that doesn't like certain packages.  These are standard packages from the package manager - no special package repositories, only Canonical/Ubuntu.
 

 Is there a way (i.e. a logfile somewhere) that I can troubleshoot this, aside from again creating a new virtual machine and slowly and tediously adding a package, checking SmartGit, add another package, etc, until I find the offending package?  Even if I know the package, I still want to try to work around the problem.  I am installing dozens of packages.  Here is the list if that is interesting to anyone:
 

 Thanks in advance

 

 #!/usr/bin/python

all_packages = ['automake', 'binutils-dev', 'bison', 'flex', 'build-essential', 'ecj', 'fastjar', 'gawk', 'genext2fs', 'gettext', 'git-core', 'gperf', 'gtk-doc-tools', 'guile-1.8', 'icon-naming-utils', 'indent', 'ipcalc', 'libdbus-glib-1-dev', 'libc6-dev', 'libglade2-dev', 'libgmp3-dev', 'libgtk2.0-dev', 'libgtk2.0-bin', 'libmpfr-dev', 'libncurses5-dev', 'libperl-dev', 'libsdl1.2-dev', 'libtool', 'libxml-parser-perl', 'mkpasswd', 'nfs-kernel-server', 'python-dev', 'samba', 'sharutils', 'smbfs', 'squashfs-tools', 'subversion', 'swig', 'texinfo', 'texlive-latex3', 'texlive-extra-utils', 'tftpd-hpa', 'uboot-mkimage', 'unzip', 'wget', 'x11-xkb-utils', 'zip','minicom','git-daemon-run','python-m2crypto','libcap-dev','ia32-libs','corkscrew','genisoimage','atool','ccache','libc6:i386','libgcc1:i386','gcc-4.6-base:i386','libstdc++5:i386','libstdc++6:i386','libc6-i386','lib32stdc++6','lib32gcc1','lib32ncurses5','zlib1g','zlib1g-dbg','zlib1g-dev','zlib-bin','zlibc','zlib-gst','zlib1g:i386','zlib1g-dbg:i386','zlib1g-dev:i386','zlib-bin:i386','zlibc:i386','zlib-gst:i386','lib32z1','meld','vim','rabbitvcs-core','rabbitvcs-cli','rabbitvcs-gedit','rabbitvcs-nautilus3','gcc','pandoc','u-boot-tools','libtool']


 

Reply | Threaded
Open this post in threaded view
|

Re: troubleshoot missing menus

SmartGit mailing list
One other note: I just realized that by installing via the tar.gz file, and running as root that the menus reappear.  Running as my user still has problems (runs but no menus).  I did a diff of the .smartgit directory between my user and root and didn't see anything unusual, though.
Reply | Threaded
Open this post in threaded view
|

Re: troubleshoot missing menus

SmartGit mailing list
In reply to this post by SmartGit mailing list
I've tried myself on Ubuntu 12.04 and installed a couple of packages that sounded most interesting to me, but I could not reproduce the problem with the missing menu items.

Unfortunately, I don't have a detailed understanding of the low-level GTK stuff to have an idea what could cause the missing menus. We just use the SWT library (from the Eclipse project) to provide the high-level Java GUI API.

--
Best regards,
Thomas Singer
syntevo GmbH
http://www.syntevo.com
http://blog.syntevo.com


11/19/2014 08:00 - [hidden email] [smartgit] wrote:

> Greetings,
>  
>
>  I posted a while back that menus aren't displayed in SmartGit.  I'm using Linux
> Ubuntu 12.04.  I went ahead and created a new virtual machine with a fresh install
> of Ubuntu.  I installed SmartGit and sure enough the menus are there - it works
> perfectly.  Thinking I was in the clear, I went ahead and added the packages I
> need to do the development I want.  After these packages were added, the menus are
> again missing.  There is something about SmartGit that doesn't like certain
> packages.  These are standard packages from the package manager - no special
> package repositories, only Canonical/Ubuntu.
>  
>
>  Is there a way (i.e. a logfile somewhere) that I can troubleshoot this, aside
> from again creating a new virtual machine and slowly and tediously adding a
> package, checking SmartGit, add another package, etc, until I find the offending
> package?  Even if I know the package, I still want to try to work around the
> problem.  I am installing dozens of packages.  Here is the list if that is
> interesting to anyone:
>  
>
>  Thanks in advance
>
>  
>
>  #!/usr/bin/python
>
> all_packages = ['automake', 'binutils-dev', 'bison', 'flex', 'build-essential',
> 'ecj', 'fastjar', 'gawk', 'genext2fs', 'gettext', 'git-core', 'gperf',
> 'gtk-doc-tools', 'guile-1.8', 'icon-naming-utils', 'indent', 'ipcalc',
> 'libdbus-glib-1-dev', 'libc6-dev', 'libglade2-dev', 'libgmp3-dev',
> 'libgtk2.0-dev', 'libgtk2.0-bin', 'libmpfr-dev', 'libncurses5-dev', 'libperl-dev',
> 'libsdl1.2-dev', 'libtool', 'libxml-parser-perl', 'mkpasswd', 'nfs-kernel-server',
> 'python-dev', 'samba', 'sharutils', 'smbfs', 'squashfs-tools', 'subversion',
> 'swig', 'texinfo', 'texlive-latex3', 'texlive-extra-utils', 'tftpd-hpa',
> 'uboot-mkimage', 'unzip', 'wget', 'x11-xkb-utils',
> 'zip','minicom','git-daemon-run','python-m2crypto','libcap-dev','ia32-libs','corkscrew','genisoimage','atool','ccache','libc6:i386','libgcc1:i386','gcc-4.6-base:i386','libstdc++5:i386','libstdc++6:i386','libc6-i386','lib32stdc++6','lib32gcc1','lib32ncurses5','zlib1g','zlib1g-dbg','zlib1g-dev','zlib-bin','zlibc','zlib-gst','zlib1g:i386','zlib1g-dbg:i386','zlib1g-dev:i386','zlib-bin:i386','zlibc:i386','zlib-gst:i386','lib32z1','meld','vim','rabbitvcs-core','rabbitvcs-cli','rabbitvcs-gedit','rabbitvcs-nautilus3','gcc','pandoc','u-boot-tools','libtool']
>
>
>  
>
>
Reply | Threaded
Open this post in threaded view
|

Re: troubleshoot missing menus

SmartGit mailing list
In reply to this post by SmartGit mailing list
That is an interesting information. When you start SmartGit it logs all environment variable values to ~/.smartgit/6.5/log.txt. Could you please compare both, from root and your account?

--
Best regards,
Thomas Singer
syntevo GmbH
http://www.syntevo.com
http://blog.syntevo.com


11/19/2014 13:50 - [hidden email] [smartgit] wrote:

> One other note: I just realized that by installing via the tar.gz file, and
> running as root that the menus reappear.  Running as my user still has problems
> (runs but no menus).  I did a diff of the .smartgit directory between my user and
> root and didn't see anything unusual, though.
>
Reply | Threaded
Open this post in threaded view
|

Re: troubleshoot missing menus

SmartGit mailing list
In the case of my user running SmartGit, there appear to be a couple of exceptions thrown in the log file.  

I am putting the two log files, labeled log.txt (my user) and root.log.txt (root's) at this location.  I'm hoping to fool the bots, but you can figure out the URL I hope.

ftp colon slashslash hiddenoaks dot crabdance dot com slash <filenames>

I can't make sense of this, but someone on your side might be able to.
Reply | Threaded
Open this post in threaded view
|

Re: troubleshoot missing menus

SmartGit mailing list
These exceptions are only logged after exiting the GUI. They are irrelevant.

What's more interesting is that in the root.log.txt there seems not to be an UBUNTU_MENUPROXY set.

--
Best regards,
Thomas Singer
syntevo GmbH
http://www.syntevo.com
http://blog.syntevo.com


11/19/2014 17:00 - [hidden email] [smartgit] wrote:

> In the case of my user running SmartGit, there appear to be a couple of exceptions
> thrown in the log file.  
>
> I am putting the two log files, labeled log.txt (my user) and root.log.txt
> (root's) at this location.  I'm hoping to fool the bots, but you can figure out
> the URL I hope.
>
> ftp colon slashslash hiddenoaks dot crabdance dot com slash <filenames>
>
> I can't make sense of this, but someone on your side might be able to.
>
Reply | Threaded
Open this post in threaded view
|

Re: troubleshoot missing menus

SmartGit mailing list
I added this line to my smartgit.sh startup script and things work as expected for my user:

# as workaround for some package that changes my UBUNTU_MENUPROXY environment variable
export UBUNTU_MENUPROXY=0

Thanks for the help.  It's an acceptable workaround, though maybe it's something that could be avoided in future releases.  Maybe not, I'm certainly no expert in Linux applications and common environment settings.