Menu

#32 smm 6.1.1 (invalid command name smmuser)

open
nobody
None
5
2003-11-24
2003-11-24
Anonymous
No

(Please reply to dcurley@as.arizona.edu)

When I hit the connect button, the following error pops up:
----------------------------------------------------------------------
invalid command name "smmuser"
invalid command name "smmuser"
while executing
"smmuser eval ::smm::connected 1 reserved for future
enhancements"
(object "::tSession0" method "::TSession::connect"
body line 50)
invoked from within
"$_actualSession connect $_mudManager $aMainWin $aCon"
(object "::sesm" method
"::TSesManager::connectActSes" body line 2)
invoked from within
"$_sesManager connectActSes $_mainGui $aCon"
(object "::.smm.shellchildsite.mwchildsite.sesM"
method "::TSesMudManager::startSession" body line 4)
invoked from within
"$_parent startSession $name 1"
(object
"::.smm.shellchildsite.mwchildsite.sesM.shellchildsite.dschildsite.tnb.canvas.notebook.cs.page1.cs.sesuif"
method "::TSesManagerUif::buttonSesConnect" body line 4)
invoked from within
"::.smm.shellchildsite.mwchildsite.sesM.shellchildsite.dschildsite.tnb.canvas.notebook.cs.page1.cs.sesuif
buttonSesConnect"
(in namespace inscope "::TSesManagerUif" script line 1)
invoked from within
"namespace inscope ::TSesManagerUif
{::.smm.shellchildsite.mwchildsite.sesM.shellchildsite.dschildsite.tnb.canvas.notebook.cs.page1.cs.sesuif
buttonSes..."
invoked from within
".smm.shellchildsite.mwchildsite.sesM.shellchildsite.dschildsite.tnb.canvas.notebook.cs.page1.cs.sesuif.bb.1.pushbutton
invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke]"
(procedure "tk::ButtonUp" line 22)
invoked from within
"tk::ButtonUp
.smm.shellchildsite.mwchildsite.sesM.shellchildsite.dschildsite.tnb.canvas.notebook.cs.page1.cs.sesuif.bb.1.pushbutton"
(command bound to event)

Discussion

  • Seweryn Niemiec

    Seweryn Niemiec - 2004-02-04

    Logged In: YES
    user_id=31747

    I have same problem.

     
  • Nobody/Anonymous

    Logged In: NO

    same with me.. and after it nothing works at all

     
  • Peter Newman

    Peter Newman - 2004-11-25

    Logged In: YES
    user_id=559032

    Commenting out the offending line fixed it for me. But I had
    the same problem too.

     
  • Gerhard

    Gerhard - 2005-01-21

    Logged In: YES
    user_id=1044722

    Which 'offending' line is it exactly?
    I have the same Problem!

     
  • Nobody/Anonymous

    Logged In: NO

    @wizarth:

    So, does it mean that it is possible to get it to work? What
    line exactly did you comment out?

    TIA!

    Sascha

     
  • Peter Newman

    Peter Newman - 2005-03-15

    Logged In: YES
    user_id=559032

    I recently re-did this on another machine, so:

    sources/main/TSession.tcl
    line 1512

    Comment out the line, everything works.

    smmuser eval ::smm::connected 1 reserved for future enhancements

    becomes

    #smmuser eval ::smm::connected 1 reserved for future
    enhancements

    I tried

    smmuser eval ::smm::connected 1 #reserved for future
    enhancements

    But it didn't work. I didn't try tracking it down.

     
  • Nobody/Anonymous

    Logged In: NO

    @wizarth:

    This looks very promising. I can log into MUD's and smm++
    seems playable now.

    Thanx!

    Sascha

     
  • Nobody/Anonymous

    Logged In: NO

    @wizarth:

    This looks very promising. I can log into MUD's and smm++
    seems playable now.

    Thanx!

    Sascha

     
  • cyberDrake

    cyberDrake - 2005-05-31

    Logged In: YES
    user_id=1288161

    I get the same error followed by :

    bad index "end-5000": must be integer or "end"
    while executing
    "string range $CSocketHistory$x end-5000 end"
    (object "::tSession0" method "::TSession::readMud" body
    line 12)
    invoked from within
    "::tSession0 readMud"
    (in namespace inscope "::TSession" script line 1)
    invoked from within
    "namespace inscope ::TSession {::tSession0 readMud}"

     
  • Hamlet

    Hamlet - 2005-08-04

    Logged In: YES
    user_id=426441

    Open the file sources/main/TSession.tcl and move the offending line

    smmuser eval ::smm::connected 1 reserved for future enhancements

    from line 1512 so that it becames 1522. Does it work?

    The rationale: seems that Selim had added a new function
    ::smm::connected which could do something useful to inform the user
    whether connection is active or not. Currently it does nothing, all its
    parameters are junk, including the number. The problem is that to
    execute this procedure, the TCL interpreter smmuser is used, but it has
    not been created yet. Placing it after _craeteInterpr should fix the
    problem (in my SMM seems fixed indeed).

     

Log in to post a comment.