Re: 'Illegal object reference'

From: Marco Masetti <marco.masetti_at_softeco.it>
Date: Wed, 6 Jul 2005 11:17:51 +0200
To: prima_at_prima.eu.org

On Wed 06Jul05 11:15AM, Dmitry Karasik wrote:
> Hi lemons!
>
> On 05 Jul 05 at 23:17, "lemons" (lemons terry) wrote:
>
> lemons> Hi Today, I took a Perl script that uses Prima, and tried to run
> lemons> it on = another system. This second system does not have Perl or
> lemons> Prima installed; = instead, I brought to this system the entire
> lemons> contents of C:\Perl on my = development system, plus my Perl
> lemons> script. My development systems is Windows XP SP = 2, and my
> lemons> second system is Windows 2000.
Do you mean you copied the Perl interpreter on a different machine ? I think you have to reinstall it if the os is different (and XP and 2000 are definitely different...).
If you don't have a VisualStudio environment, you can try with PxPerl (http://pixigreg.com/?pxperl) that can be built with different compilers (and comes with a lot of stuff and a nice editor too...).
At least install from scratch the perl interpreter, then should be nice to reinstall also Prima so to perform all tests at installation time, when installation is fine you can start running your scripts.
-Marco.
>
> lemons> When I run my Perl script, it runs fine for a while, and I see
> lemons> three of = my Prima forms displayed and then closed. But, latter
> lemons> in the program execution, I get this error when I try to display
> lemons> my fourth Prima form:
>
> lemons> Illegal object reference passed to Prima::Component::bring at
> lemons> C:/temp/b/site/lib/Prima/Classes.pm line 227
>
> lemons> What would cause an error like this? I'm not sure where to start
> lemons> = looking for problems.
>
> Too little info, for an educated guess; for an uneducated one, try to
> call Carp::cluck() from Classes.pm:227 to see why bring() is called on
> a dead object.
>
> --
> Sincerely,
> Dmitry Karasik

-- 
--------------------------------------------
Marco Masetti
Project Manager - Research & Innovation
Softeco Sismat SpA
Via De Marini, 1 - Torre WTC
16149 - Genova
phone: (+39) 010 6026.333/.1
fax  : (+39) 010 6026.350
email: marco.masetti_at_softeco.it
web  : www.softeco.it
--------------------------------------------
ILS  :   masetti_at_linux.it
GLUG :   http://genova.linux.it
PMI  :   http://www.perl.it
--------------------------------------------
Received on Wed 06 Jul 2005 - 11:42:14 CEST

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:06 CET