Robert, I agree with Miyako - it's the execute on server attribute. The
problem is IP vars are specific to the machine so you really don't want to
use them in EOS methods unless you know what you're doing. (by that I mean
you intentionally want to use the contents of the IP var on the server -
not what's on the client machine.)

I'd look at the method that's running on the server and pass the IP vars to
the method as parameters. If the intent of the method is to populate the IP
vars with lookup data or something you could pass the IP vars a pointers
instead.

BTW - if you happen to run this code in single user mode it will work fine
because in single user mode an EOS method simply runs in a new process and
since it's on the same machine it will 'see' the IP vars. That can be quite
vexing moving code from a single user dev machine to 4D server. Even more
so if it's compiled because then it won't throw the error you encountered -
the data just won't be right.



On Fri, Apr 7, 2017 at 8:39 PM, Robert ListMail via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I have an inherited Mac, 4D v15.4 database where a certain interprocess
> variable was unexpectedly undefined. Then one method said it could not be
> executed. After setting a couple of key trace statements, I noticed that
> the variable was not populated (the smoking gun) and that "External Call
> Back” was part of the call chain.  So, what could be the culprit here?
>
> External Callback
> https://www.dropbox.com/s/gbpckw9f5tsup65/Screen%20Shot%
> 202017-04-07%20at%209.55.22%20PM.png?dl=0 <https://www.dropbox.com/s/
> gbpckw9f5tsup65/Screen%20Shot%202017-04-07%20at%209.55.22%20PM.png?dl=0>.
> Note: part of the data from parameter $3 was redacted..
>
> Method cannot be executed error that starts to process and reports “User
> Cancelled” which is not true...
> https://www.dropbox.com/s/aqxh1w7swwvj6ic/Screenshot%
> 202017-04-07%2022.06.31.png?dl=0 <https://www.dropbox.com/s/
> aqxh1w7swwvj6ic/Screenshot%202017-04-07%2022.06.31.png?dl=0>
>
> Thanks,
>
> Robert
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************




-- 
Kirk Brooks
San Francisco, CA
=======================

*The only thing necessary for the triumph of evil is for good men to do
nothing.*

*- Edmund Burke*
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to