[Xotcl] problem with new

Stefan Sobernig stefan.sobernig at wu-wien.ac.at
Sat Apr 4 14:44:58 CEST 2009


Victor,

> Date: Tue, 24 Mar 2009 19:40:43 -0700
> From: Victor Mayevski <vitick at gmail.com>
> Subject: [Xotcl] problem with new
> To: Xotcl at alice.wu-wien.ac.at
> Message-ID:
> 	<eef838c10903241940v7870fd4djfa8b56bd4f6ba8d0 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> In my code, when trying to create a new autonamed instance of one of
> my classes, I get the following error:
> 
> [ MyClass new ]
> invalid command name "::xotcl"
> 
> I don't even know where to start looking for the cause of this error
> since "new" is a built-in method of XOTcl. This error only happens
> with this particular code, other code works fine. Any
> tips/suggestions?

I never encountered this issue (or sth. apparently similar) in
an isolated piece of XOTcl code. And it is hard to tell from
the two liner as this is most certainly rooted in your application-leve 
code (e.g. your MyClass declaration).

Can you provide access to your application's code or compile a
minimal, yet complete test script which reproduces the issue?

//stefan


More information about the Xotcl mailing list