Skip to content

error: KeyError: 'show ; just print' #34

@yifans

Description

@yifans

I built recsync on EPICS 7.0.2, Anaconda3-5.3.1 and CentOS7.
The client woks well. However, I found some errors when I started the server.

[yifans@ server] $ ls
cf.conf  demo.conf  MANIFEST.in  README  recceiver  recceiver.sqlite3  setup.py  twisted
[yifans@ server] $ sqlite3 test.db -init recceiver.sqlite3 .exit
-- Loading resources from recceiver.sqlite3
[yifans@ server] $ export PYTHONPATH=.
[yifans@ server] $ twistd -r poll -n recceiver -f demo.conf
Traceback (most recent call last):
  File "/home/yifans/anaconda3/bin/twistd", line 11, in <module>
    sys.exit(run())
  File "/home/yifans/anaconda3/lib/python3.7/site-packages/twisted/scripts/twistd.py", line 31, in run
    app.run(runApp, ServerOptions)
  File "/home/yifans/anaconda3/lib/python3.7/site-packages/twisted/application/app.py", line 674, in run
    runApp(config)
  File "/home/yifans/anaconda3/lib/python3.7/site-packages/twisted/scripts/twistd.py", line 25, in runApp
    runner.run()
  File "/home/yifans/anaconda3/lib/python3.7/site-packages/twisted/application/app.py", line 381, in run
    self.application = self.createOrGetApplication()
  File "/home/yifans/anaconda3/lib/python3.7/site-packages/twisted/application/app.py", line 448, in createOrGetApplication
    ser = plg.makeService(self.config.subOptions)
  File "/home/yifans/hals/epics/software/recsync/server/recceiver/application.py", line 112, in makeService
    ctrl = ProcessorController(cfile=opts['config'])
  File "/home/yifans/hals/epics/software/recsync/server/recceiver/processors.py", line 89, in __init__
    plug = plugs[plugname]
KeyError: 'show ; just print'
[yifans@ server] $ twistd --version
twistd (the Twisted daemon) 18.7.0
Copyright (c) 2001-2018 Twisted Matrix Laboratories.
See LICENSE for details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions