From: Geoffrey H. <ge...@ge...> - 2010-05-07 16:19:05
|
Bob, As I mentioned in my previous message, have you tried the pre-compiled Avogadro binaries for Ubuntu? Do you have similar problems (e.g., choosing a file) with other Qt or KDE programs? I'm afraid I can't personally help you much, since I don't use Ubuntu. But perhaps others on the list can help? -Geoff On May 7, 2010, at 8:00 AM, Robert Wohlhueter wrote: > Geoff, > > Like you I suspect the problem is not in the Avogadro code itself, but in the underlying "support" on my Linux machine. My problem is that I have only the vaguest notion of what support Avogadro needs. > > As for Qt, what I have is straight off the Synaptic Package Manager (I'm running Ubuntu 9.10-6bit on an AMD cpu). "Qt" - as one sees in Synaptic - has a thousand components; predominantly I'm seeing version 4.5.3 (for packages libqt4-qt3-support, libqt4-scripttools, qt4-qtconfig, qt4-designer, qt4-devtool, libqt4-designer, qt4-make, libqt4-opengl-dev, libqt4-opengl, libqt4-core4, libqt-gui4) from Ubuntu. > > Does that provide any clues to you? > > Thanks for the help, > > Bob W. |
From: Geoffrey H. <ge...@ge...> - 2010-05-10 18:04:52
|
Hi Robert, If the Ubuntu package has the same problem, I'd suggest filing an Ubuntu / Kubuntu bug report for this. I'm not sure the cause, but we use the normal Qt open file methods so it seems to be a non-Avogadro bug. That said, I want to see if we can help you fix it. Are there any newer Qt packages for Ubuntu? Maybe Qt-4.6.x? Don't worry about the "errors" from the command-line these are warnings. They come up for many users without any problems. Thanks, -Geoff On May 7, 2010, at 7:49 PM, Robert Wohlhueter wrote: > Geoff, > > Okay, I have apt-get'ed the distribution from ppa.lauchpad.net, indeed the one specifically for Ubuntu "Karmic" 9.10 on AMD64 architecture. Exactly the same problem. (The "open file" window does not display, and therefore one cannot select, e.g. cml files to open. Curiously, the "recently opened" window shows the canned example trifluoroethanol cml, which does open, and can be manipulated in the main window.) > > Other KDE applications run and their "open file" windows behave properly. Qt-designer and Qt-creator also behave properly (I guess they are "Qt programs"; I'm not sure how to recognize other Qt apps.) > > Konstantin Tokarev had suggested I try checking dependencies with ldd: all seem to be satisfied (I attach the output from ldd, in case you want to look.) > > When I start Avogadro from the command line (as opposed to the Ubuntu "main menu"), I get a error report: > > bobw@winter-linux: ~...build/bin (29%)> ./avogadro > ./avogadro > QStackedLayout::setCurrentWidget: Widget 0x27c1b00 not contained in stack > libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area > > Does that provide you a lead? > > Thanks, > > Bob W. |
From: Konstantin T. <an...@ya...> - 2010-05-07 19:08:13
|
> > Like you I suspect the problem is not in the Avogadro code itself, > > but in the underlying "support" on my Linux machine. My problem is > > that I have only the vaguest notion of what support Avogadro needs. > > > > As for Qt, what I have is straight off the Synaptic Package Manager > > (I'm running Ubuntu 9.10-6bit on an AMD cpu). "Qt" - as one sees > > in Synaptic - has a thousand components; predominantly I'm seeing > > version 4.5.3 (for packages libqt4-qt3-support, libqt4-scripttools, > > qt4-qtconfig, qt4-designer, qt4-devtool, libqt4-designer, qt4-make, > > libqt4-opengl-dev, libqt4-opengl, libqt4-core4, libqt-gui4) from > > Ubuntu. > > > > Does that provide any clues to you? > > > > Thanks for the help, > > > > Bob W. One universal way of checking dependencies on almost any Unix-like system: ldd command. Type man ldd to find more information. Basic usage: ldd -r /usr/local/bin/avogadro (replace path to avogadro with path on your system. Command "which avogadro" will help you if you're in doubt It'll type all libraries Avogadro needs. If something is missing, you'll see "not found" message(s) If you've installed Avogadro from package (.deb), it can't install without all required dependencies (dpkg will fail). If maintainer missed some dependencies, feel free to throw thunder into him :) -- Regards, Konstantin |