<HTML><HEAD><TITLE>Mail</TITLE>
<META name=GENERATOR 
content="KsDHTMLEDLib.ocx, FreeWare HTML Editor 1.164.2, ?Kurt Senfer">
<META content="text/html; charset=GB2312" http-equiv=Content-Type></HEAD>
<BODY style="FONT-FAMILY: 新宋体; FONT-SIZE: 9pt" leftMargin=5 topMargin=5 #ffffff>
<DIV>can someone help me to solove the following problems, thanks!</DIV>
<DIV> </DIV>
<DIV>1>Generating old demarshaller<BR>1>Traceback (most recent call 
last):<BR>1>  File "..\..\spice-common\spice_codegen.py", line 7, in 
<module><BR>1>    from python_modules import 
spice_parser<BR>1>ImportError: No module named 
python_modules<BR>1>Traceback (most recent call last):<BR>1>  File 
"..\..\spice-common\spice_codegen.py", line 7, in 
<module><BR>1>    from python_modules import 
spice_parser<BR>1>ImportError: No module named python_modules<BR>1>项目 : 
error PRJ0002 : 错误的结果 1 
(从“C:\Windows\system32\cmd.exe”返回)。<BR>1>生成日志保存在“file://E:\DevelpCode\spice\client\windows\binDebug\BuildLog.htm”<BR>1>redc 
- 1 个错误,0 个警告<BR>========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========<BR></DIV>
<DIV>I want to compile spice client in vs2008, but I can't make it.</DIV>
<DIV>2012/9/6 </DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV 
  style="LINE-HEIGHT: normal; FONT-VARIANT: normal; FONT-STYLE: normal; FONT-SIZE: 9pt; FONT-WEIGHT: normal">----- 
  Original Message ----- </DIV>
  <DIV 
  style="LINE-HEIGHT: normal; FONT-VARIANT: normal; FONT-STYLE: normal; BACKGROUND: #e4e4e4; FONT-SIZE: 9pt; FONT-WEIGHT: normal; font-color: black"><B>From: 
  </B><A 
  href="mailto:spice-devel-request@lists.freedesktop.org">spice-devel-request</A> 
  </DIV>
  <DIV 
  style="LINE-HEIGHT: normal; FONT-VARIANT: normal; FONT-STYLE: normal; FONT-SIZE: 9pt; FONT-WEIGHT: normal"><B>To: 
  </B><A href="mailto:spice-devel@lists.freedesktop.org">spice-devel</A> </DIV>
  <DIV 
  style="LINE-HEIGHT: normal; FONT-VARIANT: normal; FONT-STYLE: normal; FONT-SIZE: 9pt; FONT-WEIGHT: normal"><B>Date: 
  </B>2012-09-06, 03:00:46</DIV>
  <DIV 
  style="LINE-HEIGHT: normal; FONT-VARIANT: normal; FONT-STYLE: normal; FONT-SIZE: 9pt; FONT-WEIGHT: normal"><B>Subject: 
  </B>Spice-devel Digest, Vol 32, Issue 14</DIV>
  <DIV><BR></DIV>
  <DIV></DIV>
  <DIV></DIV>
  <DIV>
  <DIV>Send Spice-devel mailing list submissions to<BR>  <A 
  href="mailto: spice-devel@lists.freedesktop.org">spice-devel@lists.freedesktop.org</A><BR><BR>To 
  subscribe or unsubscribe via the World Wide Web, visit<BR>  <A 
  href="http://lists.freedesktop.org/mailman/listinfo/spice-devel">http://lists.freedesktop.org/mailman/listinfo/spice-devel</A><BR>or, 
  via email, send a message with subject or body 'help' to<BR>  <A 
  href="mailto: spice-devel-request@lists.freedesktop.org">spice-devel-request@lists.freedesktop.org</A><BR><BR>You 
  can reach the person managing the list at<BR>  <A 
  href="mailto: spice-devel-owner@lists.freedesktop.org">spice-devel-owner@lists.freedesktop.org</A><BR><BR>When 
  replying, please edit your Subject line so it is more specific<BR>than "Re: 
  Contents of Spice-devel digest..."<BR><BR><BR>Today's 
  Topics:<BR><BR>   1. [rebase] Implement 
  spice_server_set_exit_on_disconnect 
  to<BR>      enable an option whereby the spice 
  server shuts down on client<BR>      disconnect. 
  (Jeremy White)<BR>   2. Re: [rebase] Implement 
  spice_server_set_exit_on_disconnect 
  to<BR>      enable an option whereby the spice 
  server shuts down on client<BR>      disconnect. 
  (Alon 
  Levy)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 
  1<BR>Date: Wed, 05 Sep 2012 09:59:33 -0500<BR>From: Jeremy White <<A 
  href="mailto: jwhite@codeweavers.com">jwhite@codeweavers.com</A>><BR>To: <A 
  href="mailto: spice-devel@lists.freedesktop.org">spice-devel@lists.freedesktop.org</A><BR>Subject: 
  [Spice-devel] [rebase] 
  Implement<BR>  spice_server_set_exit_on_disconnect to enable an 
  option whereby the<BR>  spice server shuts down on client 
  disconnect.<BR>Message-ID: <<A 
  href="mailto: 504768D5.7060703@codeweavers.com">504768D5.7060703@codeweavers.com</A>><BR>Content-Type: 
  text/plain; charset=ISO-8859-1<BR><BR>---<BR> configure.ac | 6 
  +++---<BR> server/reds.c | 14 
  ++++++++++++++<BR> server/spice-server.syms | 4 
  ++++<BR> server/spice.h | 1 +<BR> 4 files changed, 22 insertions(+), 
  3 deletions(-)<BR><BR>diff --git a/configure.ac b/configure.ac<BR>index 
  cb7bed1..3882fb6 100644<BR>--- a/configure.ac<BR>+++ b/configure.ac<BR>@@ 
  -12,10 +12,10 @@ AC_PREREQ([2.57])<BR> <BR> m4_define([SPICE_MAJOR], 
  0)<BR> m4_define([SPICE_MINOR], 11)<BR>-m4_define([SPICE_MICRO], 
  3)<BR>-m4_define([SPICE_CURRENT], [4])<BR>+m4_define([SPICE_MICRO], 
  4)<BR>+m4_define([SPICE_CURRENT], [5])<BR> m4_define([SPICE_REVISION], 
  [0])<BR>-m4_define([SPICE_AGE], [3])<BR>+m4_define([SPICE_AGE], 
  [4])<BR> <BR> # Note on the library name on linux (SONAME) produced 
  by libtool (for reference, gleaned<BR> # from looking at libtool 
  2.4.2)<BR>diff --git a/server/reds.c b/server/reds.c<BR>index 8ad8425..98b316d 
  100644<BR>--- a/server/reds.c<BR>+++ b/server/reds.c<BR>@@ -119,6 +119,7 @@ 
  void *red_tunnel = NULL;<BR> #endif<BR> int agent_mouse = 
  TRUE;<BR> int agent_copypaste = TRUE;<BR>+static bool exit_on_disconnect 
  = FALSE;<BR> <BR> #define MIGRATE_TIMEOUT (1000 * 10) /* 10sec 
  */<BR> #define MM_TIMER_GRANULARITY_MS (1000 / 30)<BR>@@ -673,6 +674,12 
  @@ void reds_client_disconnect(RedClient 
  *client)<BR> {<BR>     RedsMigTargetClient 
  *mig_client;<BR> <BR>+ if (exit_on_disconnect)<BR>+ {<BR>+ 
  spice_info("Exiting server because of client disconnect.\n");<BR>+ 
  exit(0);<BR>+ }<BR>+<BR>     if (!client || 
  client->disconnecting) 
  {<BR>         return;<BR>     }<BR>@@ 
  -4061,6 +4068,13 @@ SPICE_GNUC_VISIBLE int 
  spice_server_set_listen_socket_fd(SpiceServer *s, int 
  lis<BR>     return 
  0;<BR> }<BR> <BR>+SPICE_GNUC_VISIBLE int 
  spice_server_set_exit_on_disconnect(SpiceServer *s, int flag)<BR>+{<BR>+ 
  spice_assert(reds == s);<BR>+ exit_on_disconnect = !!flag;<BR>+ return 
  0;<BR>+}<BR>+<BR> SPICE_GNUC_VISIBLE int 
  spice_server_set_noauth(SpiceServer 
  *s)<BR> {<BR>     spice_assert(reds == 
  s);<BR>diff --git a/server/spice-server.syms 
  b/server/spice-server.syms<BR>index 359791c..fd2a423 100644<BR>--- 
  a/server/spice-server.syms<BR>+++ b/server/spice-server.syms<BR>@@ -123,3 
  +123,7 @@ 
  global:<BR>     spice_server_vm_stop;<BR>     spice_server_set_seamless_migration;<BR> } 
  SPICE_SERVER_0.10.4;<BR>+<BR>+SPICE_SERVER_0.11.4 {<BR>+ 
  spice_server_set_exit_on_disconnect;<BR>+} SPICE_SERVER_0.11.2;<BR>diff --git 
  a/server/spice.h b/server/spice.h<BR>index 0dc9d05..fdcfbb7 100644<BR>--- 
  a/server/spice.h<BR>+++ b/server/spice.h<BR>@@ -427,6 +427,7 @@ int 
  spice_server_set_compat_version(SpiceServer *s,<BR> int 
  spice_server_set_port(SpiceServer *s, int port);<BR> void 
  spice_server_set_addr(SpiceServer *s, const char *addr, int 
  flags);<BR> int spice_server_set_listen_socket_fd(SpiceServer *s, int 
  listen_fd);<BR>+int spice_server_set_exit_on_disconnect(SpiceServer *s, int 
  flag);<BR> int spice_server_set_noauth(SpiceServer *s);<BR> int 
  spice_server_set_sasl(SpiceServer *s, int enabled);<BR> int 
  spice_server_set_sasl_appname(SpiceServer *s, const char *appname);<BR>-- 
  <BR>1.7.10.4<BR><BR><BR><BR><BR>------------------------------<BR><BR>Message: 
  2<BR>Date: Wed, 5 Sep 2012 11:39:36 -0400 (EDT)<BR>From: Alon Levy <<A 
  href="mailto: alevy@redhat.com">alevy@redhat.com</A>><BR>To: Jeremy White 
  <<A 
  href="mailto: jwhite@codeweavers.com">jwhite@codeweavers.com</A>><BR>Cc: <A 
  href="mailto: spice-devel@lists.freedesktop.org">spice-devel@lists.freedesktop.org</A><BR>Subject: 
  Re: [Spice-devel] [rebase] 
  Implement<BR>  spice_server_set_exit_on_disconnect to enable an 
  option whereby the<BR>  spice server shuts down on client 
  disconnect.<BR>Message-ID:<BR>  <<A 
  href="mailto: 951269698.29030815.1346859576982.JavaMail.root@redhat.com">951269698.29030815.1346859576982.JavaMail.root@redhat.com</A>><BR>Content-Type: 
  text/plain; charset=utf-8<BR><BR>oops, I think I acked this already, I'll 
  apply now. Sorry Soren, you'll have to rebase your configure 
  change.<BR><BR>----- Original Message -----<BR>> ---<BR>> configure.ac | 
  6 +++---<BR>> server/reds.c | 14 ++++++++++++++<BR>> 
  server/spice-server.syms | 4 ++++<BR>> server/spice.h | 1 +<BR>> 4 files 
  changed, 22 insertions(+), 3 deletions(-)<BR>> <BR>> diff --git 
  a/configure.ac b/configure.ac<BR>> index cb7bed1..3882fb6 100644<BR>> 
  --- a/configure.ac<BR>> +++ b/configure.ac<BR>> @@ -12,10 +12,10 @@ 
  AC_PREREQ([2.57])<BR>> <BR>> m4_define([SPICE_MAJOR], 0)<BR>> 
  m4_define([SPICE_MINOR], 11)<BR>> -m4_define([SPICE_MICRO], 3)<BR>> 
  -m4_define([SPICE_CURRENT], [4])<BR>> +m4_define([SPICE_MICRO], 4)<BR>> 
  +m4_define([SPICE_CURRENT], [5])<BR>> m4_define([SPICE_REVISION], 
  [0])<BR>> -m4_define([SPICE_AGE], [3])<BR>> +m4_define([SPICE_AGE], 
  [4])<BR>> <BR>> # Note on the library name on linux (SONAME) produced by 
  libtool<BR>> (for reference, gleaned<BR>> # from looking at libtool 
  2.4.2)<BR>> diff --git a/server/reds.c b/server/reds.c<BR>> index 
  8ad8425..98b316d 100644<BR>> --- a/server/reds.c<BR>> +++ 
  b/server/reds.c<BR>> @@ -119,6 +119,7 @@ void *red_tunnel = NULL;<BR>> 
  #endif<BR>> int agent_mouse = TRUE;<BR>> int agent_copypaste = 
  TRUE;<BR>> +static bool exit_on_disconnect = FALSE;<BR>> <BR>> 
  #define MIGRATE_TIMEOUT (1000 * 10) /* 10sec */<BR>> #define 
  MM_TIMER_GRANULARITY_MS (1000 / 30)<BR>> @@ -673,6 +674,12 @@ void 
  reds_client_disconnect(RedClient *client)<BR>> {<BR>> 
  RedsMigTargetClient *mig_client;<BR>> <BR>> + if 
  (exit_on_disconnect)<BR>> + {<BR>> + spice_info("Exiting server because 
  of client<BR>> disconnect.\n");<BR>> + exit(0);<BR>> + }<BR>> 
  +<BR>> if (!client || client->disconnecting) {<BR>> return;<BR>> 
  }<BR>> @@ -4061,6 +4068,13 @@ SPICE_GNUC_VISIBLE int<BR>> 
  spice_server_set_listen_socket_fd(SpiceServer *s, int lis<BR>> return 
  0;<BR>> }<BR>> <BR>> +SPICE_GNUC_VISIBLE int<BR>> 
  spice_server_set_exit_on_disconnect(SpiceServer *s, int flag)<BR>> 
  +{<BR>> + spice_assert(reds == s);<BR>> + exit_on_disconnect = 
  !!flag;<BR>> + return 0;<BR>> +}<BR>> +<BR>> SPICE_GNUC_VISIBLE 
  int spice_server_set_noauth(SpiceServer *s)<BR>> {<BR>> 
  spice_assert(reds == s);<BR>> diff --git a/server/spice-server.syms 
  b/server/spice-server.syms<BR>> index 359791c..fd2a423 100644<BR>> --- 
  a/server/spice-server.syms<BR>> +++ b/server/spice-server.syms<BR>> @@ 
  -123,3 +123,7 @@ global:<BR>> spice_server_vm_stop;<BR>> 
  spice_server_set_seamless_migration;<BR>> } SPICE_SERVER_0.10.4;<BR>> 
  +<BR>> +SPICE_SERVER_0.11.4 {<BR>> + 
  spice_server_set_exit_on_disconnect;<BR>> +} SPICE_SERVER_0.11.2;<BR>> 
  diff --git a/server/spice.h b/server/spice.h<BR>> index 0dc9d05..fdcfbb7 
  100644<BR>> --- a/server/spice.h<BR>> +++ b/server/spice.h<BR>> @@ 
  -427,6 +427,7 @@ int spice_server_set_compat_version(SpiceServer<BR>> 
  *s,<BR>> int spice_server_set_port(SpiceServer *s, int port);<BR>> void 
  spice_server_set_addr(SpiceServer *s, const char *addr, int<BR>> 
  flags);<BR>> int spice_server_set_listen_socket_fd(SpiceServer *s, 
  int<BR>> listen_fd);<BR>> +int 
  spice_server_set_exit_on_disconnect(SpiceServer *s, int flag);<BR>> int 
  spice_server_set_noauth(SpiceServer *s);<BR>> int 
  spice_server_set_sasl(SpiceServer *s, int enabled);<BR>> int 
  spice_server_set_sasl_appname(SpiceServer *s, const char<BR>> 
  *appname);<BR>> --<BR>> 1.7.10.4<BR>> <BR>> <BR>> 
  _______________________________________________<BR>> Spice-devel mailing 
  list<BR>> <A 
  href="mailto: Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</A><BR>> 
  <A 
  href="http://lists.freedesktop.org/mailman/listinfo/spice-devel">http://lists.freedesktop.org/mailman/listinfo/spice-devel</A><BR>> 
  <BR><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>Spice-devel 
  mailing list<BR><A 
  href="mailto: Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</A><BR><A 
  href="http://lists.freedesktop.org/mailman/listinfo/spice-devel">http://lists.freedesktop.org/mailman/listinfo/spice-devel</A><BR><BR><BR>End 
  of Spice-devel Digest, Vol 32, Issue 
  14<BR>*******************************************<BR><BR></DIV></DIV></BLOCKQUOTE></BODY></HTML>