Uploaded image for project: 'Instrument control development'
  1. Instrument control development
  2. INSTRM-638

GUIs connection to the hub crash the archiver

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Component/s: None
    • Labels:
    • Story Points:
      3
    • Sprint:
      SM1-2019 G

      Description

      when spsClient or sequencePanel connect to the hub, 

      the archiver stop and restart its Hubfactory 

       

      2019-03-27 14:30:19+0000 [ReplyReceiver,client] 'Unknown keyword hub.tasteractors'
      2019-03-27 14:30:19+0000 [ReplyReceiver,client] 'Unknown keyword hub.tasteractors'
      2019-03-27 14:30:19+0000 [ReplyReceiver,client] 'Unknown keyword hub.tastercmdrs'
      2019-03-27 14:30:19+0000 [ReplyReceiver,client] 'Unknown keyword hub.tastersources'
      2019-03-27 14:30:19+0000 [ReplyReceiver,client] 'Unknown keyword hub.tasteractors'
      2019-03-27 14:30:19+0000 [ReplyReceiver,client] 'Unknown keyword hub.tastercmdrs'
      2019-03-27 14:30:19+0000 [ReplyReceiver,client] 'Unknown keyword hub.tastersources'
      2019-03-27 14:30:19+0000 [ReplyReceiver,client] loading keydict for keys
      2019-03-27 14:30:19+0000 [ReplyReceiver,client] Unhandled Error 
          Traceback (most recent call last):   
          File "/software/conda/lib/python3.6/site-packages/twisted/python/log.py", line 103, in callWithLogger
             return callWithContext({"system": lp}, func, *args, **kw)   
          File "/software/conda/lib/python3.6/site-packages/twisted/python/log.py", line 86, in callWithContext     
             return context.call({ILogContext: newCtx}, func, *args, **kw)  
          File "/software/conda/lib/python3.6/site-packages/twisted/python/context.py", line 122, in callWithContext   
             return self.currentContext().callWithContext(ctx, func, *args, **kw)  
          File "/software/conda/lib/python3.6/site-packages/twisted/python/context.py", line 85, in callWithContext   
             return func(*args,**kw) 
          --- <exception caught here> ---   
          File "/software/conda/lib/python3.6/site-packages/twisted/internet/posixbase.py", line 597, in _doReadOrWrite    
             why = selectable.doRead()  
          File "/software/conda/lib/python3.6/site-packages/twisted/internet/tcp.py", line 208, in doRead     
            return self._dataReceived(data)  
          File "/software/conda/lib/python3.6/site-packages/twisted/internet/tcp.py", line 214, in _dataReceived   
            rval = self.protocol.dataReceived(data)   
         File "/software/conda/lib/python3.6/site-packages/twisted/protocols/basic.py", line 454, in dataReceived    
            self.lineReceived(line)   
           File "/software/mhs/products/Linux64/ics_archiver/1.2.1/python/archiver/protocol.py", line 54, in lineReceived                        self.messageReceived(message)
         File "/software/mhs/products/Linux64/ics_archiver/1.2.1/python/archiver/protocol.py", line 202, in messageReceived     
      actor = actors.Actor.attach(hdr.actor)  
       File "/software/mhs/products/Linux64/ics_archiver/1.2.1/python/archiver/actors.py", line 36, in attach    
         return Actor(name,dictionaryRequired)   File "/software/mhs/products/Linux64/ics_archiver/1.2.1/python/archiver/actors.py", line 52, in __init__     self.kdict = keys.KeysDictionary.load(name,forceReload=True)  
       File "/software/mhs/products/Linux64/tron_actorcore/2.0.0/python/opscore/protocols/keys.py", line 475, in load     % (dictfile.name,description)) builtins.AttributeError: 'NoneType' object has no attribute 'name' 
      
      2019-03-27 14:30:19+0000 [ReplyReceiver,client] <twisted.internet.tcp.Connector object at 0x7fc241a242e8> will retry in 13 seconds
      2019-03-27 14:30:19+0000 [-] Stopping factory <__main__.startServer.<locals>.HubFactory object at 0x7fc2419e8710>
      2019-03-27 14:30:33+0000 [-] Starting factory <__main__.startServer.<locals>.HubFactory object at 0x7fc2419e8710>

        Attachments

          Activity

            People

            • Assignee:
              cloomis cloomis
              Reporter:
              arnaud.lefur arnaud.lefur
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: