WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Webinterface Bug

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Webinterface Bug
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Sat, 13 Aug 2005 17:34:28 +0100
Cc: Aaron // LT <aaron@xxxxxxxxxxxxxx>
Delivery-date: Sat, 13 Aug 2005 18:21:57 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42FE393D.9030407@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <42FE393D.9030407@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.2
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

<Prev in Thread] Current Thread [Next in Thread>