[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xen-2.0 20040910 problems
One simple problem: ... # xensv start Traceback (most recent call last): File "/usr/sbin/xensv", line 25, in ? from xen.xend.server.params import PID_FILE as XEND_PID_FILE ImportError: cannot import name PID_FILEThen after modifying xensv line line 25 to read "from xen.xend.server.params import XEND_PID_FILE" ... # xensv start ... # start a domain using a tried and tested sxp file .... ... try web access ... ... # Traceback (most recent call last):File "/usr/lib/python2.3/site-packages/twisted/protocols/basic.py", line 223, in dataReceived why = self.lineReceived(line)File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 965, in lineReceived self.allContentReceived()File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 1006, in allContentReceived req.requestReceived(command, path, version)File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 557, in requestReceived self.process() --- <exception caught here> ---File "/usr/lib/python2.3/site-packages/twisted/web/server.py", line 165, in process self.render(resrc)File "/usr/lib/python2.3/site-packages/twisted/web/server.py", line 172, in render body = resrc.render(self)File "/usr/lib/python2.3/site-packages/twisted/web/resource.py", line 201, in render return m(request)File "/usr/lib/python2.3/site-packages/xen/sv/HTMLBase.py", line 17, in render_GET self.write_BODY( request )File "/usr/lib/python2.3/site-packages/xen/sv/Main.py", line 58, in write_BODY module( self.mainUrlWriter( modName ) ).write_MENU( request )File "/usr/lib/python2.3/site-packages/xen/sv/DomList.py", line 16, in write_MENU return self.write_BODY( request, head=True, long=False )File "/usr/lib/python2.3/site-packages/xen/sv/DomList.py", line 45, in write_BODY self.write_DOMAIN( request, getDomInfoHash( domain ), long )File "/usr/lib/python2.3/site-packages/xen/sv/DomList.py", line 66, in write_DOMAIN request.write( "<img src='images/small-pause.png' onclick='doOp2( \"pause\", \"%(dom)-4d\" )'>" % domInfoHash ) exceptions.TypeError: int argument requiredI hope that helps - as I explained, I haven't yet dug into it, and I'm learning python as I go. Peri Tom Wilkie wrote: I realised that, but hadn't yet made very serious attempts to find my way into the guts of the python.On a different topic, I have never yet seen the web interface work for long enough to be useful - it always crashes with the int-text type clash that wasmentioned somewhere in the changelogs as having been fixed.The web interface is very much a work-in-progress that we'rehoping other people will contribute on.HiIf you can give me a pointer to where the problem is, I'll fix it. I've just been in america for a week, and am off to europe soon, but I'll give it a stab.The int-string clash is because we changed xend from addressing domains by id to name, but the functions where supposed to still accept ints... Also, I think the wizard is broke again.Cheers Tom ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement onwho ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |