|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] Error: destroyDevice() takes exactly 3 arguments (2 give
> -----Original Message-----
> From: Jordi Prats [mailto:jprats@xxxxxxxx]
> Sent: 29 January 2007 07:24
> To: Petersson, Mats
> Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] Error: destroyDevice() takes exactly
> 3 arguments (2 given)
>
> It seems to me all this the right version. How can I check this out?
Well, obviously something is calling destroyDevice() with two arguments, but
the function expects three - that's USUALLY caused by having different versions
of the actual implementation of the function and the usage of the function. But
I _THINK_ its possible to have python-code that calls a function passing two
arguments and a function implemented with 3 arguments compile correctly without
errors, so it's of course possible that you have just found a bug where
something isn't passing a required third argument like it should. I can't tell
you which of those two cases it is, since I don't even know how to reproduce
the problem, nor which exact version of Xen you are using.
It's not made any easier by the fact that there are several functions declared
that are called "destroyDevice", and with a varying number of arguments (from
two to four).
You could perhaps find more info in "/var/log/xen/xend.log", which would
indicate WHICH of the files are causing the error - but it's also possible that
you need to enable some debugging elsewhere. It's been a while since I worked
on that sort of problem, so I can't quite say.
--
Mats
>
> Thanks,
> Jordi
>
> Petersson, Mats wrote:
> >
> >
> >
> >> -----Original Message-----
> >> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> >> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> >> Jordi Prats
> >> Sent: 26 January 2007 13:29
> >> To: Xen-users@xxxxxxxxxxxxxxxxxxx
> >> Subject: [Xen-users] Error: destroyDevice() takes exactly 3
> >> arguments (2 given)
> >>
> >> Hi,
> >> Creating a new VM it abort showing this error:
> >>
> >> [root@inf16 ~]# xm create /etc/xen/rata.cfg
> >> Using config file "/etc/xen/rata.cfg".
> >> Error: destroyDevice() takes exactly 3 arguments (2 given)
> >> [root@inf16 ~]#
> >>
> >
> > Probably that you've got mixed up versions of Xen python
> files and tools.
> >
> > --
> > Mats
> >
> >> Anyone knows what is causing this?
> >>
> >> Thanks,
> >>
> >> --
> >>
> ......................................................................
> >> __
> >> / / Jordi Prats
> >> C E / S / C A Dept. de Sistemes
> >> /_/ Centre de Supercomputació de Catalunya
> >>
> >> Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona
> >> T. 93 205 6464 · F. 93 205 6979 · jprats@xxxxxxxx
> >> ..............................................................
> >> ........
> >>
> >>
> >> _______________________________________________
> >> 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
> >
> >
> >
>
>
> --
> ......................................................................
> __
> / / Jordi Prats
> C E / S / C A Dept. de Sistemes
> /_/ Centre de Supercomputació de Catalunya
>
> Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona
> T. 93 205 6464 · F. 93 205 6979 · jprats@xxxxxxxx
> ..............................................................
> ........
>
>
>
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|