* Re: [Xen-changelog] [PATCH] Make non-native python path handling a
[not found] <E1DMZpO-0005ip-5Q@moria.surriel.com>
@ 2005-04-18 22:19 ` Ryan Harper
0 siblings, 0 replies; only message in thread
From: Ryan Harper @ 2005-04-18 22:19 UTC (permalink / raw)
To: Xen Development List
* 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-18 22:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1DMZpO-0005ip-5Q@moria.surriel.com>
2005-04-18 22:19 ` [Xen-changelog] [PATCH] Make non-native python path handling a Ryan Harper
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.