[self-interest] Error: module object: <0> has no name .

Russell Allen mail at russell-allen.com
Tue Sep 6 00:32:09 UTC 2011


Hi Mildred,

I would strongly recommend using the interface to deal with modules 
rather than trying to manage them manually which is what it sounds like 
you are doing.

I don't know how far you've been able to read so far, but there is a 
description of what the Transporter is doing at

http://docs.selflanguage.org/howtoprg.html#the-transporter

and also you should work through the tutorial at

http://selflanguage.org/_static/tutorial/Tutorial/index.html

which needs updating but is still a good way of getting your head round 
things and describes the process of making sure your objects have a 
canonical name (ie a creator path from the lobby) and that each of their 
slots has a module noted in its annotation.

The key to understanding the Transporter is that it doesn't file out 
objects per se, but sets of slots positioned relative to the lobby.

Cheers,

Russell

On Mon, 05 Sep 2011 23:12:40 +0200, Jan-Paul Bultmann wrote:
> Hey,
> I can only speculate what goes wrong, maybe the guys just getting up,
> there over the big pond now a bit more ;)
>
> Normaly Self identifies its objects by the place they are found in
> the Lobby, to give them the name, so when you get "a slots object"
> this means that it is not registered somewhere with or as a proto.
>
> Secondly, modules are normally generated not by Lobby inheritance (as
> you seem to assume when you state that the module Object looks the
> same as the other)
> but they are (additonally? sorry I never got that deep^^) expressed
> in slot annotations.
> As the transporter doesn't group objects into modules but slots. This
> is so that you can modify std Objects and ship those Modifications
> with your App.
>
> I hope this helps at least a little bit :)
>
> Btw, if you like you could take a look at the #self-lang channel for
> some chat and insta debugging help :) (or open jabber where I already
> spammed you :P)
>
> Cheers Jan
>
> On Sep 5, 2011, at 5:55 PM, Mildred Ki'Lya wrote:
>
>> Hi again,
>>
>> I'm trying to hack the klein application, and I added a new
>> "assemblerSystems llvm" object. I set its parent* to
>> "assemblerSystems framework" and set the slot parent* to be in a
> new
>> module asmLLVM which I set to be a child of asmKit.
>>
>> Everything seems fine. If I look at the changed modules, I get
>> asmKit and asmLLVM. I both write them to the disk and close the
>> image.
>>
>> Next session, I load the klein/vmKits.self file (I suppose it's the
>> parent module for all other modules) ... and I get a strange error:
>>
>> Error: module object: has no name .
>> Receiver is: a slots object.
>>
>> Apparently, a new module got inserted in the registery ..
> I assume you mean Lobby by this :)?
>
>> . If I look at the offending object, it seems to be a rightful
>> module except the window says "a slots object". But it looks like
>> any module out there, including parent*
>> The call on "name" happens in an ascendingOrder message.
>>
>> The problem is that this exception prevents me from getting the
>> list of changed modules, and saving them. I don't know how I could
>> fix this.
>>
>> Thanks,
>>
>> Mildred
>
> 
>
> Links:
> ------
> [1]
> 
> mailto:janpaulbultmann at me.com?subject=Re%3A%20%5Bself-interest%5D%20Error%3A%20module%20object%3A%20%3C0%3E%20has%20no%20name%20%2E
> [2]
> 
> mailto:self-interest at yahoogroups.com?subject=Re%3A%20%5Bself-interest%5D%20Error%3A%20module%20object%3A%20%3C0%3E%20has%20no%20name%20%2E
> [3]
> 
> http://groups.yahoo.com/group/self-interest/post;_ylc=X3oDMTJwZG5kZWY1BF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BG1zZ0lkAzI2NTUEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMzE1MjU3MTcz?act=reply&messageNum=2655
> [4]
> 
> http://groups.yahoo.com/group/self-interest/post;_ylc=X3oDMTJlMG9tZTgyBF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHNlYwNmdHIEc2xrA250cGMEc3RpbWUDMTMxNTI1NzE3Mw--
> [5]
> 
> http://groups.yahoo.com/group/self-interest/message/2654;_ylc=X3oDMTM0dmJrdjRyBF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BG1zZ0lkAzI2NTUEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMzE1MjU3MTczBHRwY0lkAzI2NTQ-
> [6]
> 
> http://groups.yahoo.com/group/self-interest/members;_ylc=X3oDMTJmY2twdGg0BF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzEzMTUyNTcxNzM-?o=6
> [7]
> 
> http://groups.yahoo.com/group/self-interest;_ylc=X3oDMTJlYXRwYmpjBF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTMxNTI1NzE3Mw--
> [8]
> 
> http://global.ard.yahoo.com/SIG=15o7g4a2v/M=493064.14543979.14562481.13298430/D=groups/S=1707276718:MKP1/Y=YAHOO/EXP=1315264373/L=d1a965f2-d803-11e0-8762-1f3d48d915a5/B=QlkNQtBDRos-/J=1315257173545646/K=a6BmSw2jJVDXSjM.9QcrKg/A=6060255/R=0/SIG=1194m4keh/*http://us.toolbar.yahoo.com/?.cpdl=grpj
> [9]
> 
> http://global.ard.yahoo.com/SIG=15ocmc46f/M=791726.14847541.14590405.10835568/D=groups/S=1707276718:MKP1/Y=YAHOO/EXP=1315264373/L=d1a965f2-d803-11e0-8762-1f3d48d915a5/B=QVkNQtBDRos-/J=1315257173545646/K=a6BmSw2jJVDXSjM.9QcrKg/A=6449876/R=0/SIG=130kfcsn4/*http://www.freecreditscore.com/dni/default.aspx?SiteVersionID=997&sc=671020&bcd=YGROUPS_Bad598
> [10]
> 
> http://groups.yahoo.com/;_ylc=X3oDMTJkbHYwODZuBF9TAzk3NDc2NTkwBGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxMzE1MjU3MTcz
> [11]
> 
> mailto:self-interest-traditional at yahoogroups.com?subject=ChangeDeliveryFormat:Traditional
> [12] 
> mailto:self-interest-digest at yahoogroups.com?subject=EmailDelivery:Digest
> [13] 
> mailto:self-interest-unsubscribe at yahoogroups.com?subject=Unsubscribe
> [14] http://docs.yahoo.com/info/terms/




More information about the Self-interest mailing list