Missing Icons under Ubuntu 11.04

   15336   21   6
User Avatar
Member
9 posts
Joined: Sept. 2011
Offline
build apprentice 11.1.67
OS ubuntu 11.04
hardware Dell Precision M6300

tried and failed
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&p=82774&highlight=#82774 [sidefx.com]


any advice welcome

Kind regards
John
User Avatar
Member
7725 posts
Joined: July 2005
Offline
For starters, it would help to show which error you're getting, and what exactly from that other thread you have done. There's about 3 things in that thread.
User Avatar
Member
9 posts
Joined: Sept. 2011
Offline
Fair play, late night posting etc sorry..



All I have is white squares on all gadget buttons.
I followed the fix and received no unexpected
error message, yet restarting produced no
results or changes.

John

fix I attempted

Here's an idea to try if you're willing to modify your installation. It probably won't work though. And I can't test since I don't generally run Linux. Smile

Code:
$ cd /opt/hfs10.0.465
$ source houdini_setup
$ echo $HOUDINI_BUILD_KERNEL
(make sure this mentions amd64 if you're on a 64-bit OS)
$ cd hsvg
$ ./hsvg $HH/help/nodes/images/fov.svg -o/tmp


Confirm that this brings up the libgio error. If there's no error, then something else is wrong. Assuming this brings up the libgio error, we can try to figure out which libs are causing the problem:
Code:
$ sudo mkdir oldlibs
$ sudo mv lib* oldlibs


This moves all the libraries that might conflict into the oldlibs directory so that they are no longer used. Ok, now we try using hsvg again:
Code:
$ ./hsvg $HH/help/nodes/images/fov.svg -o/tmp


If the hsvg command produces no errors or warnings, then we're done. We should remove the icon cache before restarting houdini:
Code:
$ cd ~
$ rm -r ~/houdini10.0/config/Icons
$ houdini -foreground
User Avatar
Member
299 posts
Joined: Jan. 2010
Offline
I suggest trying the fix some more. It always solves it for me. A native gcc 4.5 build would be nice tho.
Drive, monkey, drive!
User Avatar
Member
9 posts
Joined: Sept. 2011
Offline
You think it may surrender and give back my icons


Would there be any software on linux similar to ‘snoopdos’
(from Amiga Days)

I've reinstalled houdini a couple of times on ubuntu
to no avail and my priority is using not developing it.

So like to avoid continued repetition

john
User Avatar
Member
320 posts
Joined: Aug. 2007
Offline
Reinstalling Houdini shouldn't be necessary unless you're trying different builds.

The icon cache lives in /home/username/houdini11.1/config/Icons, and it's generated when you start Houdini (if it's not already present).

The basic idea is to fix hsvg, remove the corrupted icon cache and restart houdini so that it's generated again. (with icons hopefully)

What output do you get from the following:

cd /opt/hfs11.1.67/hsvg
ldd ./hsvg-real


When you start houdini from the terminal, do you get any output?

Also, when you followed the directions from the other thread, did you get the libgio error mentioned?
www.alan-warren.com
User Avatar
Member
678 posts
Joined: July 2005
Offline
I do have simmilar problem on OpenSuse 11.4.

Houdini starts without problems, all icons are OK. But when I load file with rig I made and press play to see animation, BOOM ! all nodes have white squares and it outputs .png errors. But when it starts it doesn't.

Edward's tip doesn't help.
Edited by - Oct. 9, 2011 01:10:45
User Avatar
Member
9 posts
Joined: Sept. 2011
Offline
I have Icons

I moved the libraries manually from oldlibs back into
/opt/hfs11.1.67/hsvg/
one by one

left in old libs
libbz2.so.1.0
libcairo.so.2
libcroco-0.6.so.3
libexpat.so.1
libfontconfig.so.1
libfreetype.so.6
libgdk_pixbuf-2.0.a
libgdk_pixbuf-2.0.so.0
libglib-2.0.so.0
libgmodule-2.0.so.0
libgobject-2.0.so.0

returned to hsvg

libgsf-1.so.114
libpangoft2-1.0.so.0
libpng12.so.0
librsvg-2.so.2
libxml2.so.2

why those I don't know
User Avatar
Member
9 posts
Joined: Sept. 2011
Offline
come on mods sort ya spam out
User Avatar
Member
299 posts
Joined: Jan. 2010
Offline
Out of curiosity. Do you have all the libs you moved back installed in your system?
Drive, monkey, drive!
User Avatar
Member
9 posts
Joined: Sept. 2011
Offline
Erik_JE
Out of curiosity. Do you have all the libs you moved back installed in your system?

the particular libs were in

/opt/hfs11.1.67/hsvg/

after installation. This patch/fix moves them
all to a new folder oldlibs.

this is meant to work but in my case it didn't.
so one by one i copied them back until it worked.
I expect these libs do exists in the OS but Houdini
must look here first. Someone with more experience
than me will have to you if i'm right because i'm
still in a learning curve.

john
User Avatar
Member
7725 posts
Joined: July 2005
Offline
JohnWorthington
All I have is white squares on all gadget buttons. I followed the fix and received no unexpected
error message, yet restarting produced no results or changes.

Did you replace “houdini10.0” with “houdini11.1” in the instructions? Did all commands behave as expected? I assume that you're running a Houdini 11.1 build. Ideally, you give us a full log of the commands you actually ran along with the command results.

Make sure that you also turn off Desktop Effects (aka Compiz).
User Avatar
Member
9 posts
Joined: Sept. 2011
Offline
Did you replace “houdini10.0” with “houdini11.1” in the instructions? Did all commands behave as expected? I assume that you're running a Houdini 11.1 build. Ideally, you give us a full log of the commands you actually ran along with the command results.

houdini10 never started on mine so I waited until I started at Uni before installing 11.1.

To solve the icon problem I followed the posted and command previously posted on this thread.

I solved my problem by moving libs With Krusader and restarting.

john
User Avatar
Member
36 posts
Joined: Sept. 2008
Offline
JohnWorthington
I have Icons

I moved the libraries manually from oldlibs back into
/opt/hfs11.1.67/hsvg/
one by one

left in old libs
libbz2.so.1.0
libcairo.so.2
libcroco-0.6.so.3
libexpat.so.1
libfontconfig.so.1
libfreetype.so.6
libgdk_pixbuf-2.0.a
libgdk_pixbuf-2.0.so.0
libglib-2.0.so.0
libgmodule-2.0.so.0
libgobject-2.0.so.0

returned to hsvg

libgsf-1.so.114
libpangoft2-1.0.so.0
libpng12.so.0
librsvg-2.so.2
libxml2.so.2

why those I don't know

Thanks John! I was having the same problem. Now everything works fine!
User Avatar
Member
9 posts
Joined: Sept. 2011
Offline
FabianoBerlim
Thanks John! I was having the same problem. Now everything works fine!


Makes the results worth posting thanks

I'm putting off upgrading to ubuntu 11.10 as I want it to stay working..
User Avatar
Member
67 posts
Joined: Oct. 2011
Offline
thx for the fix!
just installed ubuntu 11.10 & houdini apprentice > had the same problem and this was a quick fix!

thx for sharing
lari

lari
User Avatar
Member
9 posts
Joined: Sept. 2011
Offline
larikaram
thx for the fix!
just installed ubuntu 11.10
lari


Welcome, might install 11.10 myself now

John
User Avatar
Member
648 posts
Joined: July 2005
Offline
*sigh
Linux never fails to disappoint. Thanks for this solution!



JohnWorthington
I have Icons

I moved the libraries manually from oldlibs back into
/opt/hfs11.1.67/hsvg/
one by one

left in old libs
libbz2.so.1.0
libcairo.so.2
libcroco-0.6.so.3
libexpat.so.1
libfontconfig.so.1
libfreetype.so.6
libgdk_pixbuf-2.0.a
libgdk_pixbuf-2.0.so.0
libglib-2.0.so.0
libgmodule-2.0.so.0
libgobject-2.0.so.0

returned to hsvg

libgsf-1.so.114
libpangoft2-1.0.so.0
libpng12.so.0
librsvg-2.so.2
libxml2.so.2

why those I don't know
User Avatar
Member
221 posts
Joined: July 2005
Offline
I'm coming late to this party, but having very slightly different problems.

I'm running Redhat EL 4, houdini11.1.201 and after selecting the same libraries as the last post, I get:

/opt/hfs11.1.201/hsvg/hsvg-real: error while loading shared libraries: libcairo.so.2: cannot open shared object file: No such file or directory

When I run ./hsvg $HH/help/nodes/images/fov.svg -o/tmp

Does this mean that libcairo isn't installed in my system?
User Avatar
Member
7725 posts
Joined: July 2005
Offline
Maybe. It could be that you don't have it installed and/or libcairo.so.2 is named differently in RHEL4, and/or you don't have the matching 32-bit vs 64-bit version of the library installed.

Since you're working with a different Linux distribution, the library changes you need could be totally different.

Finally, I hope we've fixed this issue for good in the latest H12 daily builds where I think we finally ship with exactly the right set of libraries along with hsvg that should never require this hack again.
  • Quick Links