[greenstone_es] Re: Problema con GLI en Ubuntu 10.04

  • From: Rodríguez, José L. <jluis.rodriguez@xxxxxxxxxxxxxxxxxxxxx>
  • To: <greenstone_es@xxxxxxxxxxxxx>
  • Date: Mon, 17 May 2010 12:03:23 +0200

Hola Jesús,
Me ha dado ese mismo error y lo he solucionado consultando esto. Mi SO es 
Centos.

A typical error message during import.pl would be:

    Uncaught exception from user code: Can't load
    '/home/httpd/gsdl/perllib/cpan/auto/XML/Parser/Expat/Expat.so' for module 
XML::Parser::Expat:/home/httpd/gsdl/perllib/cpan/auto/XML/Parser/Expat/Expat.so:
    undefined symbol:PL_sv_undef at 
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at 
/home/httpd/gsdl/perllib/cpan/XML/Parser.pm line 14

To remedy this, you need to remove the "gsdl/perllib/cpan/perl-5.8/XML" and 
"gsdl/perllib/cpan/perl-5.8/auto" directories. (For versions earlier than 2.52, 
remove "gsdl/perllib/cpan/XML" and "gsdl/perllib/cpan/auto".) Then you need to 
install the perl XML::Parser natively for your system.

La información está en: How do I fix XML::Parser errors 
http://wiki.greenstone.org/wiki/index.php/Building_Greenstone_collections

Saludos

José Luis Rodríguez
 
REAL BIBLIOTECA. PATRIMONIO NACIONAL
                * C. Bailén, s.n. E-28071 Madrid
                ' 34 914548700 #7582
                www.realbiblioteca.es
         jluis.rodriguez@xxxxxxxxxxxxxxxxxxxxx



-----Mensaje original-----
De: greenstone_es-bounce@xxxxxxxxxxxxx 
[mailto:greenstone_es-bounce@xxxxxxxxxxxxx] En nombre de Jesús Tramullas
Enviado el: lunes, 17 de mayo de 2010 11:51
Para: greenstone_es@xxxxxxxxxxxxx
Asunto: [greenstone_es] Problema con GLI en Ubuntu 10.04
Importancia: Alta

Estimados compañeros:

He instalado un 2.83 sobre Ubuntu 10.04. Todo anda bien, hasta que le dices al 
GLI que quieres añadir abrir una colección.... entonces se queda completamente 
bloqueado, con el circulito de puntero girando, pero completamente muerta la 
aplicación. La única forma de terminagedit r es cerrar la consola "a lo bruto".

Sigue el listado de mensajes:

> Ejecutando la Interfaz de la Biblioteca Digital Greenstone...
> Version: 2.83
>
> User cache dir: /home/jesus/.gli/cache/ ***Turn debugging on (run GLI 
> with -debug) to view the XML contents/line that could not be parsed.
> java.lang.NullPointerException
>       at 
> org.greenstone.gatherer.greenstone.Plugins.parsePluginsListXML(Plugins.java:306)
>       at 
> org.greenstone.gatherer.greenstone.Plugins.loadPluginsList(Plugins.java:230)
>       at org.greenstone.gatherer.Gatherer.init(Gatherer.java:511)
>       at org.greenstone.gatherer.Gatherer.<init>(Gatherer.java:231)
>       at org.greenstone.gatherer.GathererProg.main(GathererProg.java:78)
> perl: symbol lookup error: 
> /home/jesus/Greenstone/perllib/cpan/perl-5.8/auto/XML/Parser/Expat/Exp
> at.so: undefined symbol: Perl_Tstack_sp_ptr
> RemoveContentBeforeRootElementXMLReader:
> The XML being loaded was not valid: couldn't find start of XML input 
> ***Turn debugging on (run GLI with -debug) to view the XML contents/line that 
> could not be parsed.
> java.lang.NullPointerException
>       at 
> org.greenstone.gatherer.collection.ScriptOptions.loadArguments(ScriptOptions.java:264)
>       at 
> org.greenstone.gatherer.collection.ScriptOptions.<init>(ScriptOptions.java:43)
>       at 
> org.greenstone.gatherer.collection.Collection.<init>(Collection.java:125)
>       at 
> org.greenstone.gatherer.collection.CollectionManager.loadCollectionInternal(CollectionManager.java:1345)
>       at 
> org.greenstone.gatherer.collection.CollectionManager.access$200(CollectionManager.java:84)
>       at 
> org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTas
> k.run(CollectionManager.java:1167)
> perl: symbol lookup error: 
> /home/jesus/Greenstone/perllib/cpan/perl-5.8/auto/XML/Parser/Expat/Exp
> at.so: undefined symbol: Perl_Tstack_sp_ptr
> RemoveContentBeforeRootElementXMLReader:
> The XML being loaded was not valid: couldn't find start of XML input 
> ***Turn debugging on (run GLI with -debug) to view the XML contents/line that 
> could not be parsed.
> java.lang.NullPointerException
>       at 
> org.greenstone.gatherer.collection.ScriptOptions.loadArguments(ScriptOptions.java:264)
>       at 
> org.greenstone.gatherer.collection.ScriptOptions.<init>(ScriptOptions.java:43)
>       at 
> org.greenstone.gatherer.collection.Collection.<init>(Collection.java:126)
>       at 
> org.greenstone.gatherer.collection.CollectionManager.loadCollectionInternal(CollectionManager.java:1345)
>       at 
> org.greenstone.gatherer.collection.CollectionManager.access$200(CollectionManager.java:84)
>       at 
> org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTas
> k.run(CollectionManager.java:1167)
> java.lang.NullPointerException
>       at org.greenstone.gatherer.greenstone.Plugins.getPlugin(Plugins.java:74)
>       at org.greenstone.gatherer.cdm.Plugin.create(Plugin.java:77)
>       at 
> org.greenstone.gatherer.cdm.DOMProxyListModel.getElementAt(DOMProxyListModel.java:224)
>       at 
> org.greenstone.gatherer.cdm.PluginManager.<init>(PluginManager.java:83)
>       at 
> org.greenstone.gatherer.cdm.CollectionDesignManager.loadDesignDetails(CollectionDesignManager.java:140)
>       at 
> org.greenstone.gatherer.cdm.CollectionDesignManager.<init>(CollectionDesignManager.java:115)
>       at 
> org.greenstone.gatherer.collection.CollectionManager.loadCollectionInternal(CollectionManager.java:1404)
>       at 
> org.greenstone.gatherer.collection.CollectionManager.access$200(CollectionManager.java:84)
>       at 
> org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTas
> k.run(CollectionManager.java:1167)
> java.lang.NullPointerException
>       at org.greenstone.gatherer.greenstone.Plugins.getPlugin(Plugins.java:74)
>       at org.greenstone.gatherer.cdm.Plugin.create(Plugin.java:77)
>       at 
> org.greenstone.gatherer.cdm.DOMProxyListModel.getElementAt(DOMProxyListModel.java:224)
>       at 
> org.greenstone.gatherer.cdm.PluginManager.<init>(PluginManager.java:83)
>       at 
> org.greenstone.gatherer.cdm.CollectionDesignManager.loadDesignDetails(CollectionDesignManager.java:140)
>       at 
> org.greenstone.gatherer.cdm.CollectionDesignManager.<init>(CollectionDesignManager.java:115)
>       at 
> org.greenstone.gatherer.collection.CollectionManager.loadCollectionInternal(CollectionManager.java:1404)
>       at 
> org.greenstone.gatherer.collection.CollectionManager.access$200(CollectionManager.java:84)
>       at 
> org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTas
> k.run(CollectionManager.java:1167)
> Exception in thread "Thread-7" java.lang.NullPointerException
>       at 
> org.greenstone.gatherer.collection.CollectionManager.saveCollection(CollectionManager.java:1734)
>       at 
> org.greenstone.gatherer.gui.GUIManager.saveThenCloseCurrentCollection(GUIManager.java:306)
>       at 
> org.greenstone.gatherer.gui.GUIManager$OpenCollectionTask.run(GUIManag
> er.java:730)
>

El error que da el -debug es:

> ****SAXParseException on LINE NUMBER: 34 (number of lines: 33) The 
> parsing error occurred on this line:
> ***********START
> Error is past the last line (33): perl: symbol lookup error: 
> /home/jesus/Greenstone/perllib/cpan/perl-5.8/auto/XML/Parser/Expat/Exp
> at.so: undefined symbol: Perl_Tstack_sp_ptr ***********END SAXParseException 
> message: The element type "PluginList" must be terminated by the matching 
> end-tag "</PluginList>".
>
>
> Debug mode: Exiting the program as there was trouble parsing the XML...


--
"Nunca la bandera arriada"
Ernest Shackleton

--#------------------------------------------------------------
Dr. Jesús Tramullas
http://tramullas.com
Dept. Ciencias Documentación // Information Sciences Dep.
Universidad de Zaragoza 50009 Zaragoza (España)
-----------------------------------------------------------#--


Other related posts: