[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Webinterface Bug



Try making the directory - Python 2.4 doesn't do this automatically for some 
reason.

Cheers,
Mark

On Saturday 13 August 2005 19:17, Aaron // LT wrote:
> Not sure if I'm posting this in correct place.  I receive the following
> error message when trying to access the web interface (CentOS 4.1, Dell
> 2450, SCSI RAID):
>
> *web.Server Traceback (most recent call last):*
>
> exceptions.OSError: [Errno 2] No such file or directory: '/var/lib/xen/sv'
>
> <http://72.29.118.212:8080/#tbend>
> /usr/lib/python2.3/site-packages/twisted/web/server.py, line 164 in process
> 162    self.postpath = map(unquote, string.split(self.path[1:], '/'))
> 163    try:
> 164      resrc = self.site.getResourceFor(self)
> 165      self.render(resrc)
> *Self*
> site    twisted.web.server.Site instance @ 0xb7fb2cac
> <twisted.web.server.Site instance at 0xb7fb2cac>
> path     '/'
> postpath    List instance @ 0xb797690c
>
> *Locals*
> self    twisted.web.server.Request instance @ 0xb79766cc <GET / HTTP/1.1>
>
> *Globals*
> unquote     |<built-in function unquote>|
> string     |<module 'string' from '/usr/lib/python2.3/string.pyc'>|
>
> /usr/lib/python2.3/site-packages/twisted/web/server.py, line 517 in
> getResourceFor
> 515    # servers and disconnected sites.
> 516    request.sitepath = copy.copy(request.prepath)
> 517    return resource.getChildForRequest(self.resource, request)
> 518
> *Self*
> resource    twisted.web.static.File instance @ 0xb7fa804c
> FilePath('/var/lib/xen/sv')
>
> *Locals*
> self    twisted.web.server.Site instance @ 0xb7fb2cac
> <twisted.web.server.Site instance at 0xb7fb2cac>
> request    twisted.web.server.Request instance @ 0xb79766cc <GET /
> HTTP/1.1>
>
> *Globals*
> copy     |<module 'copy' from '/usr/lib/python2.3/copy.pyc'>|
> resource     |<module 'twisted.web.resource' from
> '/usr/lib/python2.3/site-packages/twisted/web/resource.pyc'>|
>
> /usr/lib/python2.3/site-packages/twisted/web/resource.py, line 62 in
> getChildForRequest
> 60    pathElement = request.postpath.pop(0)
> 61    request.prepath.append(pathElement)
> 62    resource = resource.getChildWithDefault(pathElement, request)
> 63  return resource
> *Locals*
> pathElement     ''
> request    twisted.web.server.Request instance @ 0xb79766cc <GET /
> HTTP/1.1>
> resource    twisted.web.static.File instance @ 0xb7fa804c
> FilePath('/var/lib/xen/sv')
>
> /usr/lib/python2.3/site-packages/twisted/web/resource.py, line 162 in
> getChildWithDefault
> 160      return self.children[path]
> 161
> 162    return self.getChild(path, request)
> 163
> *Self*
> children    Dictionary instance @ 0xb797d68c
>
> *Locals*
> path     ''
> self    twisted.web.static.File instance @ 0xb7fa804c
> FilePath('/var/lib/xen/sv')
> request    twisted.web.server.Request instance @ 0xb79766cc <GET /
> HTTP/1.1>
>
> /usr/lib/python2.3/site-packages/twisted/web/static.py, line 268 in
> getChild
> 266    """See twisted.web.Resource.getChild.
> 267    """
> 268    self.restat()
> 269
> *Locals*
> self    twisted.web.static.File instance @ 0xb7fa804c
> FilePath('/var/lib/xen/sv')
>
> /usr/lib/python2.3/site-packages/twisted/python/filepath.py, line 144 in
> restat
> 142  def restat(self, reraise=True):
> 143    try:
> 144      self.statinfo = stat(self.path)
> 145    except OSError:
> *Self*
> statinfo     |0|
> path     '/var/lib/xen/sv'
>
> *Locals*
> reraise     |True|
> self    twisted.web.static.File instance @ 0xb7fa804c
> FilePath('/var/lib/xen/sv')
>
> *Globals*
> stat     |<built-in function stat>|
>
> exceptions.OSError: [Errno 2] No such file or directory: '/var/lib/xen/sv'
>
>
>
> Is it possible to fix this problem, or does it look like a bug?
>
> Thanks,
> Aaron
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.