Comments (3)
hello this looks like an error in the demo.conf
can you replace line 30
procs = show ; just print
with
procs = show
from recsync.
I replaced the line 30, but there were still errors.
This is the output.
[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.6/site-packages/twisted/scripts/twistd.py", line 31, in run
app.run(runApp, ServerOptions)
File "/home/yifans/anaconda3/lib/python3.6/site-packages/twisted/application/app.py", line 674, in run
runApp(config)
File "/home/yifans/anaconda3/lib/python3.6/site-packages/twisted/scripts/twistd.py", line 25, in runApp
runner.run()
File "/home/yifans/anaconda3/lib/python3.6/site-packages/twisted/application/app.py", line 381, in run
self.application = self.createOrGetApplication()
File "/home/yifans/anaconda3/lib/python3.6/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'
This is my demo.conf (uncomment the loglevel, addrlist and change the procs)
[yifans@ server] $ cat demo.conf
# run with
#twistd -n recceiver -f <thisfile>.conf
[recceiver]
# Logging detail level. Use python logging level name.
loglevel = WARN
# list of broadcast addresses.
# default
#addrlist = 255.255.255.255:5049
# for local testing w/ firewall
addrlist = 127.255.255.255:5049
# Processing chain
# sequence of plugin names seperated by ','
#
# Plugin names may be followed by an instance name (eg. "db:arbitrary")
# which allows for more than one instance of a plugin with different
# configuration
#
# Default plugins
# show - Prints information to daemon log
# db - Stores in sqlite3 database
#
# eg. print and store in database. Database config from section "[lite]"
# Show config from "[show]" although show has no options at present.
##procs = show, db:lite
procs = show
#procs = show ; just print
# Time interval for sending recceiver advertisments
#announceInterval = 15.0
# Idle Timeout for TCP connections.
#tcptimeout = 15.0
# Time to wait before commiting updates
# Doesn't effect IOC clients
#commitInterval = 5.0
# Maximum concurrent "active" clients
# to allow.
#maxActive = 20
[lite] # example of "db" plugin config
# Database access module
dbtype = sqlite3
# DB name
# filename for sqlite3
dbname = test.db
# Accessor ID key
# Allows multiple server daemons to share a common database.
# Must be unique for each instance accessing
# a common database.
idkey = 42
[cf]
# cf-store application
# Debug output file location.
# Produces no file when not defined.
# debug_file_loc = /home/devuser/recsyncdata.txt
from recsync.
@yifans Were you able to resolve this problem or is it still there? I see the same issue on Debian Stretch.
from recsync.
Related Issues (20)
- Search for PV aliases HOT 3
- recceiver does not work with latest versions of twisted HOT 6
- Recceiver fails to start HOT 12
- twistd errors with "reactor already installed" when dropin.cache was not created HOT 2
- No transmission if info tag string is empty HOT 1
- How to start RecCeiver on a specified port HOT 2
- self._poller.unregister IOError: [Errno 2] No such file or directory HOT 1
- INFO tag data not arriving if alias comes before info tag in record def HOT 16
- Change alias property name to aliasOf
- Discussion - EPICS description field in reccaster/recceiver HOT 20
- occasional recceiver error - string indices must be integers, not unicode
- building on windows HOT 6
- Add reccaster support for windows HOT 1
- New release HOT 3
- If `infotags` is blank then the recceiver crashes HOT 2
- Exception: NoneType is not iterable
- Issue deploying mulitple recceiver instances HOT 1
- Channels "time" never update / polling never finishes HOT 6
- RecSync documentation missing information
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recsync.