[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[E-devel] Re: Entropy layout



Hi,
This is most curious, but I have found your cause.

Somehow, a 'NULL' entry is being placed in the 'plugin init' queue.
This NULL reference is returned from the function
'create_plugin_object'.

The only way for this function to return a null is the following:

1. dlopen could not open your plugin file.  The file might have become
corrupted somehow. 
2. dlopen works (and opens the plugin), but dlsym could not find the
INIT function inside the plugin object.  Cause similar to (1).

Either way, I have added two more debug statements to the source to
track which case here applies to you.  Please update from CVS, and run
it again, and append the output here - it should get you a bit further.
Either way, recompiling/reinstalling may fix your problem - this problem
can only occur (as far as I can see) - with a corrupt installation.

Cheers,
Alex.

On Sat, 2006-05-20 at 11:54 +0200, Thomas Jeunet wrote:
> Hello,
> 
> I can't start entropy because it can't load its layout plugin, I
> always get the following message :
> /--
> Config dir is: '/home/cleptho//.e/entropy'
> Looking for version in '/home/cleptho//.e/entropy/eetentropy.cfg'..
> Size ret is: 10
> ***** Config fine - 13 matches 13
> Loading '/usr/share/entropy/plugins//system_thumbnailer.so'...
> Loading '/usr/share/entropy/plugins//ewl_list.so'...
> Loading '/usr/share/entropy/plugins//distrib_thumbnailer.so'...
> Loading '/usr/share/entropy/plugins//action_simple.so'...
> Loading '/usr/share/entropy/plugins//structure_viewer.so'...
> Loading '/usr/share/entropy/plugins//posix.so'...
> Loading '/usr/share/entropy/plugins//mime.so'...
> Loading '/usr/share/entropy/plugins//etk_trackback.so'...
> Loading '/usr/share/entropy/plugins//etk_metadata.so'...
> Loading '/usr/share/entropy/plugins//metadata_extract.so'...
> Loading '/usr/share/entropy/plugins//remote_thumbnailer.so'...
> Loading '/usr/share/entropy/plugins//imlib_thumbnailer.so'...
> Loading '/usr/share/entropy/plugins//etk_structure_viewer.so'...
> Loading '/usr/share/entropy/plugins//etk_iconbox.so'...
> Loading '/usr/share/entropy/plugins//layout_etk_simple.so'...
> Loading '/usr/share/entropy/plugins//layout_ewl_simple.so'...
> Loading '/usr/share/entropy/plugins//ewl_local_icon.so'...
> Loading '/usr/share/entropy/plugins//etk_list.so'...
> Registered layout: 0x80052ac8
> Registered global layout 0x80052ac8...
> Plugin IDs as: 'Simple system thumbnailer (folders, etc)'
> Going to next plugin.../usr/share/entropy/plugins//system_thumbnailer.so
> Plugin IDs as: 'List View'
> GUI event callback (List View) registered as: 0xb75eb6c0
> Going to next plugin.../usr/share/entropy/plugins//ewl_list.so
> Plugin IDs as: 'Simple MIME plugin for images'
> Going to next plugin.../usr/share/entropy/plugins//distrib_thumbnailer.so
> Plugin IDs as: 'Simple MIME identifier'
> Going to next plugin.../usr/share/entropy/plugins//action_simple.so
> Plugin IDs as: 'File system tree structure viewer'
> GUI event callback (File system tree structure viewer) registered as: 0xb75e06b0
> Going to next plugin.../usr/share/entropy/plugins//structure_viewer.so
> Plugin IDs as: 'Simple file backend'
> Going to next plugin.../usr/share/entropy/plugins//posix.so
> Plugin IDs as: 'Simple MIME identifier'
> Going to next plugin.../usr/share/entropy/plugins//mime.so
> Plugin IDs as: 'trackback'
> GUI event callback (trackback) registered as: 0xb75ca920
> Going to next plugin.../usr/share/entropy/plugins//etk_trackback.so
> Plugin IDs as: 'ETK slide metadata plugin'
> GUI event callback (ETK slide metadata plugin) registered as: 0xb75c63a0
> Going to next plugin.../usr/share/entropy/plugins//etk_metadata.so
> Plugin IDs as: 'libextract based metadata provider'
> Going to next plugin.../usr/share/entropy/plugins//metadata_extract.so
> Plugin IDs as: 'Simple MIME plugin for images'
> Going to next plugin.../usr/share/entropy/plugins//remote_thumbnailer.so
> Plugin IDs as: 'Simple MIME plugin for images'
> Going to next plugin.../usr/share/entropy/plugins//imlib_thumbnailer.so
> Plugin IDs as: 'File system tree structure viewer'
> GUI event callback (File system tree structure viewer) registered as: 0xb75129e0
> Going to next plugin.../usr/share/entropy/plugins//etk_structure_viewer.so
> Sorry, but you haven't loaded a layout plugin.  Please configure one.
> \--
> 
> I tried entropy --layout=ewl and  entropy --layout=etk, but the result
> is the same... I have both ewl and etk installed, and I don't
> understand why layout_*.so are in the list of "loading" plugins but
> don't get used, neither why the "Registered layout" message is written
> regarding the error. I also tried to remove my ~/.e/entropy/* and
> ~/.ecore/entropy*, but without changes.
> 
> Any information would be appreciated, thank you
>