WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: A strangely strange ondemand bug  (Read 2887 times)

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
A strangely strange ondemand bug
« on: March 03, 2011, 07:09:15 PM »
I have pidgin and gimp2 installed in ondemand mode, if i load first pidgin and after gimp2, gimp2 not start, vice versa both start
I hope there isn't a conflict between libraries  :o

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: A strangely strange ondemand bug
« Reply #1 on: March 03, 2011, 07:19:08 PM »
Try running it from a terminal, and see what errors you get.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: A strangely strange ondemand bug
« Reply #2 on: March 03, 2011, 07:30:20 PM »
Code: [Select]
tc@box:~$ gimp2
** Message: Module '/usr/local/lib/gegl-0.1/svg-load.so' load error: librsvg-2.so.2: cannot open shared object file: No such file or directory
** Message: Module '/usr/local/lib/gegl-0.1/openraw.so' load error: libopenraw.so.1: cannot open shared object file: No such file or directory
** Message: Module '/usr/local/lib/gegl-0.1/matting-levin.so' load error: libumfpack.so.5.5.1: cannot open shared object file: No such file or directory
** Message: Module '/usr/local/lib/gegl-0.1/ff-load.so' load error: libavformat.so.52: cannot open shared object file: No such file or directory
** Message: Module '/usr/local/lib/gegl-0.1/exr-load.so' load error: libIlmImf.so.6: cannot open shared object file: No such file or directory
** Message: Module '/usr/local/lib/gegl-0.1/display.so' load error: libSDL-1.2.so.0: cannot open shared object file: No such file or directory
tc@box:~$

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: A strangely strange ondemand bug
« Reply #3 on: March 03, 2011, 07:54:20 PM »
I cannot reproduce this problem.

First, try tce-load -i gimp2.
If you get any errors, identify what they are.

Other troubleshooting tips:
Cd to your tce/optional directory, and grep the txt files for the missing object files.
Once you identify which extensions provide these objects, you can use AppBrowser to check Depends for gimp2
to make sure the dependency is listed.

If the dependency was not listed, report the error to the maintainer of the extension.
If they are listed, try to tce-load -i the extension and identify any errors.
« Last Edit: March 03, 2011, 07:59:05 PM by gerald_clark »

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: A strangely strange ondemand bug
« Reply #4 on: March 03, 2011, 08:07:55 PM »
I'm tired now and i go to bed, but tomorrow I do the test.
One thing, I think that gimp not have missing dependencies, if I load alone it start correctly, only if I load pidgin before, gimp will not start

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: A strangely strange ondemand bug
« Reply #5 on: March 03, 2011, 11:41:21 PM »
When gimp2 is run alone, none of the errors listed above will stop it from starting, they are just the messages related to missing optional deps

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: A strangely strange ondemand bug
« Reply #6 on: March 04, 2011, 08:07:20 AM »
ok, I made three series of tests and I think the problem is in auto-generated scripts in /mnt/partition/tce/ondemand

Test 1: I loaded via the command "load-tce -i" and programs  work in any order:
First gimp after pidgin ----- First pidgin after gimp

Test 2: I loaded pidgin from  the menu of windows manager and gimp  with tceload, both works.

Test 3: I loaded via script in terminal and and the problem has reappeared!
Script first gimp after pidgin work
Script first pidgin after gimp not work!


I will paste the contents of the ondemand script:
ondemand pidgin ----- ondemand gimp

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: A strangely strange ondemand bug
« Reply #7 on: March 05, 2011, 08:44:02 AM »
Test 4: Toggle final part of gimp script "[ $(which gimp-2.6 ) ] && exec gimp-2.6  ${SAVE_ARGS}" before load, gimp start correctly from menu

Test 5: Run orignal not modified script and kill gimp, when i start from menĂ¹ again, it works.

Test 6: I tried to do the same thing on a virtual machine with vanilla tinycore, and the problem does not reoccur. I don't know what to refer.
In the meantime I think I will change the ondemand script of gimp.

P..s. realized that all ondemand-script have differences between them, as they are generated?
« Last Edit: March 05, 2011, 08:55:42 AM by vinnie »