[Spice-devel] Latest development branch on Ubuntu 9.04

Alon Levy alevy at redhat.com
Tue Jun 29 02:05:00 PDT 2010


----- "Attila Sukosd" <attila.sukosd at gmail.com> wrote:

> On Tue, Jun 29, 2010 at 9:48 AM, Attila Sukosd <
> attila.sukosd at gmail.com > wrote:
> 
> 
> Hi guys,
> 
> So I've been trying to get the sources from the devel git to work, and
> I've got it to compile however I was facing some CEGUI issues:
> 
> 29/06/2010 09:13:14 (Std) ---- CEGUI System initialisation completed
> ----
> 29/06/2010 09:13:14 (Std) ---- Version 0.6.2 ----
> 29/06/2010 09:13:14 (Std) ---- Renderer module is: Unknown renderer
> (vendor did not set the ID string!) ----
> 29/06/2010 09:13:14 (Std) ---- XML Parser module is:
> CEGUI::XercesParser - Official Xerces-C++ based parser module for
> CEGUI ----
> 29/06/2010 09:13:14 (Std) ---- Scripting module is: None ----
> 29/06/2010 09:13:14 (Std) Attempting to load Scheme from file
> 'TaharezLook.scheme'.
> 29/06/2010 09:13:14 (Std) XercesParser::initialiseSchema - Attempting
> to load schema from file 'GUIScheme.xsd'.
> 29/06/2010 09:13:14 (Error) CEGUI::GenericException in file
> ../../client/gui/resource_provider.cpp(83) : failed
> 29/06/2010 09:13:14 (Error) XercesParser::parseXMLFile - An unexpected
> error occurred while parsing XML file 'TaharezLook.scheme'.
> 29/06/2010 09:13:14 (Error) Scheme::Scheme - loading of Scheme from
> file 'TaharezLook.scheme' failed.
> 
> This was using the "libcegui-mk2-*" packages from the default Ubuntu
> repositories. After playing around with it and regenerating the
> taharez_look.*.c, I still got nowhere, so I downloaded the CEGUI 0.6.2
> sources and compiled it by hand, but I still had the same issue. In
> the end, I did manage to "fix" it by changing the default xml parser
> for CEGUI to libxml (--with-default-xml-parser=LibxmlParser) instead
> of the Xerces one.
> 

That's interesting. FWIW, I had the same problem when compiling on ubuntu (9.04)
and solved it by putting all the xsd files in the directory I was running from
and updating the resource provider to look there as well.

> 
> Now I'm down to the issue of not being able to connect to a v0.4
> server cause of version mismatch:
> 
> 1277797671 INFO spice : [12999:12999] Application::main: starting
> 0.5.1
> 1277797671 INFO spice : [12999:12999] GUI::GUI(Application&,
> Application::State):
> 1277797671 INFO spice : [12999:13002] RedPeer::connect_unsecure:
> Connecting 192.168.1.4 6001
> 1277797671 WARN spice : [12999:13002] RedChannel::run: version
> mismatch: expect 4294967294 got 1
> 1277797671 INFO spice : [12999:12999] main: Spice client terminated
> (exitcode = 11)
> 
> Server side:
> 
> handle_dev_input: attach
> create_cairo_context: using cairo canvas
> interface_change_notifier: VD_INTERFACE_VDI_PORT
> interface_change_notifier: VD_INTERFACE_TABLET
> reds_handle_read_header_done: version mismatch
> reds_handle_read_header_done: version mismatch
> 
> 
> 
> Best Regards,
> 
> Attila
> 
> Update:
> 
> Changing #define RED_VERSION_MAJOR (~(uint32_t)0 - 1)
> to #define RED_VERSION_MAJOR 1
> has "fixed" the issue.
> 
> Attila
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list