clorb-devel Mailing List for Common Lisp ORB
Status: Alpha
Brought to you by:
lenst
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(10) |
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
(1) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2002 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
1
|
2
|
3
|
4
|
5
|
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
|
27
|
28
(1) |
29
|
30
(1) |
31
(1) |
|
|
|
From: Eric M. <ema...@la...> - 2003-07-31 17:33:33
|
>>>>> "ls" == Lennart Staflin <le...@ly...> writes: ls> I had a look at print-object for CORBA:Proxy uses object-id when it ls> should be using proxy-id. The "IDL:omg.org/CORBA/Object:1.0" is not ls> the ID that came with the reference. thanks, I have patched this. ls> 2. the interface repository has objects of types not known to the ls> CLORB implementation, perhaps it implements a repository from some ls> later corba version. this seems to be it: the interface repository contains a LocalInterfaceDef, and the file clorb-ifr-base.lisp doesn't have a definition for this (I can't remember when local interfaces were added to CORBA, but it was quite a while ago). I take it that clorb-ifr-base and ifr-idl are generated from the files in the idl/ directory, using the new IDL parser? I tried to use CORBA:IDL to generate lisp definitions for IDL files from ORBacus, but the IDL parser also doesn't recognize local interfaces; it chokes on the "local" bit of a definition like ,---- | local interface Policy | { | readonly attribute PolicyType policy_type; | Policy copy(); | void destroy(); | }; `---- I guess I'll have to figure out how the parser is generated from the IDL grammar. Thanks, -- Eric Marsden <URL:http://www.laas.fr/~emarsden/> |
|
From: Lennart S. <le...@ly...> - 2003-07-30 21:28:33
|
On m=E5ndag, jul 28, 2003, at 11:24 Europe/Stockholm, Eric Marsden = wrote: > I tried to use DOWNLOAD-IR to populate the local repository, and ran > into the following error: > > No matching method for the generic function=20 > #<standard-generic-function omg.org/features:def_kind (19) > = {489E8C39}>, > when called with arguments (#<omg.org/corba:proxy=20 > "IDL:omg.org/CORBA/Object:1.0" @hobart.laas.fr:39513>). > [Condition of type pcl::no-applicable-method-error] > Inspecting the OP:DEF_KIND generic function tells me that it has the > following methods: > > ,---- > | Its methods are: > [...] > | 19: def_kind ((clorb::obj omg.org/corba:irobject-proxy) &rest=20 > clorb::-args-) > `---- > Is a method missing somewhere? This is with CMUCL, and CLORB from > CVS, and I'm building using my own ASDF defsystem. I think you got everything loaded, the 19th method is the one that=20 should have been used, but the object is a generic proxy instead of a=20 proxy for the particular IR object. Unfortunately CLORB is a bit lax in=20= error reporting when unmarshalling object references. You get a generic=20= proxy if there is not proxy class for the object type or if the object=20= reference lacks type info (and there is no type info from the interface=20= returning the object.) I had a look at print-object for CORBA:Proxy uses object-id when it=20 should be using proxy-id. The "IDL:omg.org/CORBA/Object:1.0" is not the=20= ID that came with the reference. I can see at least two explanations 1. the interface repository returns object references with missing (or=20= incomplete) type info, or 2. the interface repository has objects of types not known to the CLORB=20= implementation, perhaps it implements a repository from some later=20 corba version. You could try to inspect the proxy object to see what the ID slot=20 contains or fix print-object to use proxy-id instead of object-id. Earlier versions of download-ir might have used Dynamic Invocation=20 instead of static stubs as the current version does. That would=20 probably have worked with any version of the interface repository.=20 Ironic :) You could also try loading make-proxies.lisp and see if it works then. //Lennart |
|
From: Eric M. <ema...@la...> - 2003-07-28 09:24:59
|
Hi, I tried to use DOWNLOAD-IR to populate the local repository, and ran into the following error: No matching method for the generic function #<standard-generic-function omg.org/features:def_kind (19) {489E8C39}>, when called with arguments (#<omg.org/corba:proxy "IDL:omg.org/CORBA/Object:1.0" @hobart.laas.fr:39513>). [Condition of type pcl::no-applicable-method-error] Inspecting the OP:DEF_KIND generic function tells me that it has the following methods: ,---- | Its methods are: | 1: def_kind ((clorb::x clorb::fixed-def) &rest clorb::-args-) | 2: def_kind ((clorb::x clorb::array-def) &rest clorb::-args-) | 3: def_kind ((clorb::x clorb::sequence-def) &rest clorb::-args-) | 4: def_kind ((clorb::x clorb::wstring-def) &rest clorb::-args-) | 5: def_kind ((clorb::x clorb::string-def) &rest clorb::-args-) | 6: def_kind ((clorb::x clorb::primitive-def) &rest clorb::-args-) | 7: def_kind ((clorb::x clorb::exception-def) &rest clorb::-args-) | 8: def_kind ((clorb::x clorb::enum-def) &rest clorb::-args-) | 9: def_kind ((clorb::x clorb::union-def) &rest clorb::-args-) | 10: def_kind ((clorb::x clorb::struct-def) &rest clorb::-args-) | 11: def_kind ((clorb::x clorb::alias-def) &rest clorb::-args-) | 12: def_kind ((clorb::x clorb::typedef-def) &rest clorb::-args-) | 13: def_kind ((clorb::x clorb::operation-def) &rest clorb::-args-) | 14: def_kind ((clorb::x clorb::attribute-def) &rest clorb::-args-) | 15: def_kind ((clorb::x clorb::interface-def) &rest clorb::-args-) | 16: def_kind ((clorb::x clorb::constant-def) &rest clorb::-args-) | 17: def_kind ((clorb::x clorb::module-def) &rest clorb::-args-) | 18: def_kind ((clorb::x clorb::repository) &rest clorb::-args-) | 19: def_kind ((clorb::obj omg.org/corba:irobject-proxy) &rest clorb::-args-) `---- Is a method missing somewhere? This is with CMUCL, and CLORB from CVS, and I'm building using my own ASDF defsystem. -- Eric Marsden <URL:http://www.laas.fr/~emarsden/> |