All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryan Harper <ryanh@us.ibm.com>
To: Xen Development List <xen-devel@lists.xensource.com>
Subject: Re: [Xen-changelog] [PATCH] Make non-native python path handling a
Date: Mon, 18 Apr 2005 17:19:28 -0500	[thread overview]
Message-ID: <20050418221928.GD19115@us.ibm.com> (raw)
In-Reply-To: <E1DMZpO-0005ip-5Q@moria.surriel.com>

* BitKeeper Bot <riel@surriel.com> [2005-04-16 10:29]:
> ChangeSet 1.1159.256.97, 2005/04/15 23:00:50+01:00, katzj@redhat.com
> 
> 	[PATCH] Make non-native python path handling a
<snip>
> --- a/tools/misc/xend	2005-04-15 19:02:35 -04:00
> +++ b/tools/misc/xend	2005-04-15 19:02:35 -04:00
> @@ -22,8 +22,8 @@
>  import os
>  import sys
>  
> -# Default install path for Xen binary packages.
> -sys.path = [ '/usr/lib/python' ] + sys.path
> +# add fallback path for non-native python path installs if needed
> +sys.path.append('/usr/lib/python')
>  from xen.xend.server import SrvDaemon
>  
>  class CheckError(ValueError):

This patch breaks xend in unstable for me.  With the above patch
applied, xend fails to start and dumps the following in
/var/log/xend-debug.log:

xu_notifier_new()
error connecting to xcs(ctrl)! (111)
Traceback (most recent call last):
  File "/usr/sbin/xend", line 180, in ?
    sys.exit(main())
  File "/usr/sbin/xend", line 162, in main
    return daemon.start()
  File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line 524, in start
    self.run()
  File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line 612, in run
    self.listenNotifier()
  File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line 632, in listenNotifier
    p.startListening()
  File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line 91, in startListening
    self._connectToProtocol()
  File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line 109, in _connectToProtocol
    self.startReading()
  File "/usr/lib/python2.3/site-packages/twisted/internet/abstract.py", line 205, in startReading
    self.reactor.addReader(self)
  File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py", line 89, in addReader
    self._updateRegistration(fd)
  File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py", line 52, in _updateRegistration
    poller.unregister(fd)
ValueError: file descriptor cannot be a negative integer (-1)


--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@us.ibm.com

           reply	other threads:[~2005-04-18 22:19 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <E1DMZpO-0005ip-5Q@moria.surriel.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050418221928.GD19115@us.ibm.com \
    --to=ryanh@us.ibm.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.