[Spice-devel] OSX spice-gtk and pyparsing

Alon Levy alevy at redhat.com
Wed Apr 27 10:02:43 PDT 2011


On Wed, Apr 27, 2011 at 06:36:24PM +0200, Kai Mosebach wrote:
> Do you guys have an idea why sound may not be working (it works with the
> windows client)
> and why the bandwidth increases by ~70% compared to the spicec.exe from
> windows?

The bandwidth thing is just a result of using a different client? that is
very bizzarre, since it's all server->client and there is no negotiation
that could affect the compression scheme.

Sound wise - is gstreamer working standalone (gst-launch audiotestsrc ! autoaudiosink,
should hear a pure tone)? that's what spice-gtk should be using I think.

> 
> Cheers Kai
> 
> On 4/27/11 6:34 PM, "Mosebach  Kai" <kai.mosebach at bsse.ethz.ch> wrote:
> 
> >As Cliff stated on the very end of the mail, taking pyparsing from the
> >original website and manually installing it resolved the problemŠ
> >
> >Cheers Kai
> >
> >From: Attila Sukosd
> ><attila.sukosd at gmail.com<mailto:attila.sukosd at gmail.com>>
> >Date: Wed, 27 Apr 2011 18:30:58 +0200
> >To: Cliff Sharp <csharp at vbridges.com<mailto:csharp at vbridges.com>>,
> ><spice-devel at freedesktop.org<mailto:spice-devel at freedesktop.org>>, Kai
> >Mosebach <kai at freshx.de<mailto:kai at freshx.de>>
> >Subject: Re: [Spice-devel] OSX spice-gtk and pyparsing
> >
> >Yea, you can even just take the pyparsing.py from the .tgz and put it in
> >the source base dir. (where you run make from)
> >
> >Best Regards,
> >
> >Attila Sukosd
> >
> >-----------------------------------------
> >DTU Computing Center - www.cc.dtu.dk<http://www.cc.dtu.dk>
> >attila at cc.dtu.dk<mailto:attila at cc.dtu.dk>,
> >gbaras at student.dtu.dk<mailto:gbaras at student.dtu.dk>,
> >s070600 at student.dtu.dk<mailto:s070600 at student.dtu.dk>
> >
> >
> >
> >
> >On Wed, Apr 27, 2011 at 6:28 PM, Alon Levy
> ><alevy at redhat.com<mailto:alevy at redhat.com>> wrote:
> >On Wed, Apr 27, 2011 at 11:07:55AM -0500, Cliff Sharp wrote:
> >> When building spice-gtk after loading tons of MacPorts dependencies --
> >>I was getting the following error.
> >
> >To build from git (not from source tar balls) you need pyparsing. I think
> >it's pure python, so should pose
> >absolutely no problem to install even if no MacPort exists. I don't have
> >a mac so I can't check.
> >
> >http://pyparsing.wikispaces.com/
> >
> >>
> >> make  all-recursive
> >> Making all in common
> >> Making all in win
> >> Making all in my_getopt-1.5
> >> make[4]: Nothing to be done for `all'.
> >> make[4]: Nothing to be done for `all-am'.
> >> make[3]: Nothing to be done for `all-am'.
> >> Making all in gtk
> >>   GEN    spice-marshal.c
> >>   GEN    spice-marshal.h
> >>   GEN    generated_demarshallers.c
> >> Traceback (most recent call last):
> >>   File "../spice_codegen.py", line 7, in <module>
> >>     from python_modules import spice_parser
> >>   File 
> >>"/Users/csharp/src/spice-gtk/spice-gtk-0.5/python_modules/spice_parser.py
> >>", line 1, in <module>
> >>     from pyparsing import Literal, CaselessLiteral, Word, OneOrMore,
> >>ZeroOrMore, \
> >> ImportError: No module named pyparsing
> >> make[2]: *** [generated_demarshallers.c] Error 1
> >> make[1]: *** [all-recursive] Error 1
> >> make: *** [all] Error 2
> >>
> >> I could not find pyparsing in MacPorts via the port list command. I did
> >>find and load
> >> py-parsing                     @1.5.1          python/py-parsing
> >> py25-parsing                   @1.5.1          python/py25-parsing
> >> py26-parsing                   @1.5.2          python/py26-parsing
> >> py27-parsing                   @1.5.5          python/py27-parsing
> >>
> >> But none of these resolved the issue.
> >>
> >> So I downloaded pyparsing-1.5.5.tar.gz from
> >>http://distfiles.macports.org/python/
> >> and installed it via "python setup.py install" which resolved the issue.
> >>
> >>
> >> ____
> >>
> >> Cliff Sharp | csharp at vbridges.com<mailto:csharp at vbridges.com>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >> _______________________________________________
> >> Spice-devel mailing list
> >> 
> >>Spice-devel at lists.freedesktop.org<mailto:Spice-devel at lists.freedesktop.or
> >>g>
> >> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> >
> >_______________________________________________
> >Spice-devel mailing list
> >Spice-devel at lists.freedesktop.org<mailto:Spice-devel at lists.freedesktop.org
> >>
> >http://lists.freedesktop.org/mailman/listinfo/spice-devel
> >
> 
> 


More information about the Spice-devel mailing list