Is this a multiple dispatch issue?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Is this a multiple dispatch issue?

Dave Bruhn
Hey, everyone,

So we’re moving a website from one server (Mac OS X 10.6) to another (Ubuntu 14.04 LTS).  The code hasn’t been modified (except to change some absolute paths for downloads), but we’re running into an issue where we’re attempting to use a method that works just fine on the original site.  Here’s what we’re getting:

-9948 - Definition Not Found: storage_get(user, string, string) Candidates were: storage_get(obj::trait_use_storage, search::pair), storage_get(obj::trait_use_storage, search::array), storage_get(obj::trait_use_storage, search::staticarray), storage_get(obj::trait_use_storage, id), storage_get(table::tag, search), storage_get(obj::attendee, search::pair), storage_get(obj::attendee, search::array), storage_get(obj::attendee, search::staticarray), storage_get(obj::attendee, id), storage_get(obj::events_document, eventID::integer, docid::integer), storage_get(obj::user, id::integer), storage_get(obj::user, search::pair), storage_get(obj::user, username::string, password::string)

25:19 /var/lasso/instances/events_dev_site//rope_webapp/entities/user.lasso
13:26 /var/lasso/instances/events_dev_site//rope_webapp/web_presenter/login/login.lasso
11:13 /var/lasso/instances/events_dev_site//rope_webapp/web_presenter/login/login.lasso
2:17 /var/lasso/instances/events_dev_site//rope_webapp/web_presenter/login/login.lasso
8:5 /var/lasso/instances/events_dev_site//rope_webapp/web_presenter/login/login.lasso

You'll notice that the last candidate is:
storage_get(obj::user, username::string, password::string)

So why isn’t it seeing it?  Any ideas?

Thanks,
Dave
---
Dave Bruhn
Senior Systems Analyst
North Carolina Hospital Association
PO Box 4449
Cary, NC 27519-4449
919-677-4145 (office)
[hidden email]
http://www.ncha.org


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: Is this a multiple dispatch issue?

Ke Carlton-3
I know it's not listed, but I would check for either a catch all or a named
only parameter definition in the source code.

ie. Something like:

     define storage_get(...) => {}

Or:

     define storage_get(-name = '', -another = '') => {}

The error is consistent with the dispatch bug — what version of Lasso 9 is
it?

Ke




On Thu, Mar 10, 2016 at 9:52 AM Dave Bruhn <[hidden email]> wrote:

> Hey, everyone,
>
> So we’re moving a website from one server (Mac OS X 10.6) to another
> (Ubuntu 14.04 LTS).  The code hasn’t been modified (except to change some
> absolute paths for downloads), but we’re running into an issue where we’re
> attempting to use a method that works just fine on the original site.
> Here’s what we’re getting:
>
> -9948 - Definition Not Found: storage_get(user, string, string) Candidates
> were: storage_get(obj::trait_use_storage, search::pair),
> storage_get(obj::trait_use_storage, search::array),
> storage_get(obj::trait_use_storage, search::staticarray),
> storage_get(obj::trait_use_storage, id), storage_get(table::tag, search),
> storage_get(obj::attendee, search::pair), storage_get(obj::attendee,
> search::array), storage_get(obj::attendee, search::staticarray),
> storage_get(obj::attendee, id), storage_get(obj::events_document,
> eventID::integer, docid::integer), storage_get(obj::user, id::integer),
> storage_get(obj::user, search::pair), storage_get(obj::user,
> username::string, password::string)
>
> 25:19 /var/lasso/instances/events_dev_site//rope_webapp/entities/user.lasso
> 13:26
> /var/lasso/instances/events_dev_site//rope_webapp/web_presenter/login/login.lasso
> 11:13
> /var/lasso/instances/events_dev_site//rope_webapp/web_presenter/login/login.lasso
> 2:17
> /var/lasso/instances/events_dev_site//rope_webapp/web_presenter/login/login.lasso
> 8:5
> /var/lasso/instances/events_dev_site//rope_webapp/web_presenter/login/login.lasso
>
> You'll notice that the last candidate is:
> storage_get(obj::user, username::string, password::string)
>
> So why isn’t it seeing it?  Any ideas?
>
> Thanks,
> Dave
> ---
> Dave Bruhn
> Senior Systems Analyst
> North Carolina Hospital Association
> PO Box 4449
> Cary, NC 27519-4449
> 919-677-4145 (office)
> [hidden email]
> http://www.ncha.org
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>   the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: Is this a multiple dispatch issue?

Dave Bruhn
Sorry, I should have included that.  The old system was running 9.2.7 on Mac OS X 10.6.  The new system is running 9.2.7 on Ubuntu 14.04 LTS.

Thanks,
Dave
---
Dave Bruhn
Senior Systems Analyst
North Carolina Hospital Association
PO Box 4449
Cary, NC 27519-4449
919-677-4145 (office)
[hidden email]
http://www.ncha.org

> On Mar 9, 2016, at 5:24 PM, Ke Carlton <[hidden email]> wrote:
>
> I know it's not listed, but I would check for either a catch all or a named
> only parameter definition in the source code.
>
> ie. Something like:
>
>     define storage_get(...) => {}
>
> Or:
>
>     define storage_get(-name = '', -another = '') => {}
>
> The error is consistent with the dispatch bug — what version of Lasso 9 is
> it?
>
> Ke
>
>
>
>
> On Thu, Mar 10, 2016 at 9:52 AM Dave Bruhn <[hidden email]> wrote:
>
>> Hey, everyone,
>>
>> So we’re moving a website from one server (Mac OS X 10.6) to another
>> (Ubuntu 14.04 LTS).  The code hasn’t been modified (except to change some
>> absolute paths for downloads), but we’re running into an issue where we’re
>> attempting to use a method that works just fine on the original site.
>> Here’s what we’re getting:
>>
>> -9948 - Definition Not Found: storage_get(user, string, string) Candidates
>> were: storage_get(obj::trait_use_storage, search::pair),
>> storage_get(obj::trait_use_storage, search::array),
>> storage_get(obj::trait_use_storage, search::staticarray),
>> storage_get(obj::trait_use_storage, id), storage_get(table::tag, search),
>> storage_get(obj::attendee, search::pair), storage_get(obj::attendee,
>> search::array), storage_get(obj::attendee, search::staticarray),
>> storage_get(obj::attendee, id), storage_get(obj::events_document,
>> eventID::integer, docid::integer), storage_get(obj::user, id::integer),
>> storage_get(obj::user, search::pair), storage_get(obj::user,
>> username::string, password::string)
>>
>> 25:19 /var/lasso/instances/events_dev_site//rope_webapp/entities/user.lasso
>> 13:26
>> /var/lasso/instances/events_dev_site//rope_webapp/web_presenter/login/login.lasso
>> 11:13
>> /var/lasso/instances/events_dev_site//rope_webapp/web_presenter/login/login.lasso
>> 2:17
>> /var/lasso/instances/events_dev_site//rope_webapp/web_presenter/login/login.lasso
>> 8:5
>> /var/lasso/instances/events_dev_site//rope_webapp/web_presenter/login/login.lasso
>>
>> You'll notice that the last candidate is:
>> storage_get(obj::user, username::string, password::string)
>>
>> So why isn’t it seeing it?  Any ideas?
>>
>> Thanks,
>> Dave
>> ---
>> Dave Bruhn
>> Senior Systems Analyst
>> North Carolina Hospital Association
>> PO Box 4449
>> Cary, NC 27519-4449
>> 919-677-4145 (office)
>> [hidden email]
>> http://www.ncha.org
>>
>>
>> #############################################################
>>
>> This message is sent to you because you are subscribed to
>>  the mailing list Lasso [hidden email]
>> Official list archives available at http://www.lassotalk.com
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>