@@ -38,34 +38,37 @@ Setup
3838 sqlite3 test.db -init recceiver.sqlite3 .exit
3939```
4040
41- Run (for twistd < = 16.0.3 )
41+ Run (for twistd > = 16.0.4 )
4242
4343``` bash
44- twistd -n recceiver -f demo.conf
44+ PYTHONPATH= $PWD twistd --nodaemon recceiver -f demo.conf
4545```
4646
47- or (see below for discussion)
47+ At some point 'twistd' stopped implicitly searching the working directory.
4848
49- ``` bash
50- twistd -r poll -n recceiver -f demo.conf
51- ```
49+ May need to uncomment ` addrlist = 127.255.255.255:5049 ` in demo.conf
50+ when doing local testing on a computer w/ a firewall.
5251
52+ ### Older Recceiver/Twistd Versions
5353
54- Run (for twistd >= 16.0.4)
54+ For recceiver <= 1.6, passing the poll reactor was required. See [ here ] ( https://github.com/ChannelFinder/recsync/issues/132 ) for more discussion.
5555
5656``` bash
57- PYTHONPATH=$PWD twistd -r poll -n recceiver -f demo.conf
57+ PYTHONPATH=$PWD twistd -r poll --nodaemon recceiver -f demo.conf
5858```
5959
60- At some point ' twistd' stopped implicitly searching the working directory.
60+ For older versions of twistd (<= 16.0.3), run
6161
62- May need to uncomment ` addrlist = 127.255.255.255:5049 ` in demo.conf
63- when doing local testing on a computer w/ a firewall.
62+ ``` bash
63+ twistd --nodaemon recceiver -f demo.conf
64+ ```
6465
65- Twisted 14.0.2 seems to have a problem with the epoll() reactor
66- which raises 'IOError: [ Errno 2] No such file or directory'
67- during startup. Try with the poll() reactor.
66+ or (see below for discussion)
6867
6968``` bash
70- twistd -r poll -n recceiver -f demo.conf
69+ twistd -r poll --nodaemon recceiver -f demo.conf
7170```
71+
72+ Twisted 14.0.2 seems to have a problem with the epoll() reactor
73+ which raises 'IOError: [ Errno 2] No such file or directory'
74+ during startup. Try with the poll() reactor.
0 commit comments