riot | hmm. echoserver.py runs nicely, here. | 00:23 |
---|---|---|
*** Osso has quit IRC | 00:51 | |
*** riot has quit IRC | 01:22 | |
*** robert_ has quit IRC | 02:39 | |
*** robert_ has joined #circuits | 02:40 | |
*** robert_ has quit IRC | 02:40 | |
*** robert_ has joined #circuits | 02:40 | |
*** fUD has joined #circuits | 02:57 | |
*** ICU2 has quit IRC | 03:02 | |
*** ICU2 has joined #circuits | 05:22 | |
*** ICU2 has quit IRC | 05:22 | |
*** ICU2 has joined #circuits | 05:22 | |
*** AforAvi has joined #circuits | 06:08 | |
*** qwebirc52327 has joined #circuits | 08:47 | |
*** Osso has joined #circuits | 10:16 | |
*** ICU2 has quit IRC | 10:45 | |
*** Romster has quit IRC | 10:46 | |
*** ICU2 has joined #circuits | 10:46 | |
*** ICU2 has quit IRC | 10:46 | |
*** ICU2 has joined #circuits | 10:46 | |
*** Romster has joined #circuits | 10:47 | |
*** Coldblackice has quit IRC | 11:30 | |
*** ICU2 has quit IRC | 13:46 | |
*** ICU2 has joined #circuits | 13:47 | |
*** ICU2 has quit IRC | 13:47 | |
*** ICU2 has joined #circuits | 13:47 | |
*** AforAvi has left #circuits () | 14:01 | |
prologic_ | I suspect he was using the PyPi version | 14:46 |
prologic_ | we need to release end of month :) | 14:46 |
prologic_ | sorry been away for a whiel guys | 14:46 |
prologic_ | been super busy at new job | 14:46 |
prologic_ | swamped ;) | 14:46 |
prologic | qwebirc52327: you still having troubles with Python3? | 14:47 |
prologic | You *should* be using git HEAD really | 14:47 |
Guest37137 | that's where the most stable/compatible stuff is | 14:47 |
*** prologic has joined #circuits | 14:49 | |
qwebirc52327 | hi circuits guys... I've been experimenting with circuits on python3, but I can't get the echoserver example to work on my linux box, tho it works on freebsd | 15:01 |
qwebirc52327 | i'm running a variant of debian jessie, if that's important | 15:01 |
qwebirc52327 | @prologic, just seen your response, sorry. yes I'm still seeing the problem, but only on linux | 15:05 |
kdb | Unknown Command: prologic, | 15:05 |
qwebirc52327 | prologic: as for using HEAD, I installed with pip, so that should be HEAD, right? | 15:06 |
prologic | no | 15:25 |
prologic | it's not :) | 15:25 |
prologic | try pip install -e git+https://github.com/circuits/circuits.git#egg=circuits-dev | 15:25 |
prologic | it should be documented on the README how to install dev | 15:25 |
prologic | or just git clone and python setup.py install | 15:25 |
prologic | I highly recommend it :) | 15:25 |
prologic | we tend to release very slowly | 15:25 |
prologic | but this year we're going to change that and try to do quarterly releases | 15:26 |
prologic | :) | 15:26 |
prologic | starting end of Oct | 15:26 |
qwebirc52327 | ok, i'll try that and if still having problems, will report back. thanks. | 16:00 |
prologic | no problems :) | 16:00 |
prologic | We run Travis against pretty much all versions of Python we support | 16:01 |
prologic | so I'd be surprised if it doesn't work for you | 16:01 |
prologic | but please let us know | 16:01 |
qwebirc52327 | on another topic, is there a "circuits way" to do non-blocking file writes - I need to log input from each socket on a TCPServer to a separate log file. Currently I'm experimenting with queue.Queue which feeds a number of writer threads, but it feels a bit frankenstien... | 16:20 |
prologic | We have circuits.io.File for that | 16:26 |
prologic | try it :) let us know how it works for you | 16:26 |
prologic | NB: It only implements non-blocking file access for LInux at the moment | 16:26 |
prologic | we need to write support for BSD and Windows at some point (volunteers welcome!) | 16:26 |
qwebirc52327 | what approach does it take, as from my recent reading, neither linux or bsd support true non-blocking file I/O directly (I read an article about a torrent client that was trying to do this and resorted to threads like I mentioned above) | 16:28 |
qwebirc52327 | for windows, I gather that "overlapped io" with call-backs has been standard since NT4 | 16:29 |
qwebirc52327 | but I'm not targeting windows, so I don't really care about that :-p | 16:30 |
spaceone | nice! I would never care about windows... windows users should better care about themself | 16:30 |
qwebirc52327 | windows users better stick with vbscript, if you ask me ;-) | 16:50 |
prologic | re circuits.io.File | 17:01 |
prologic | it uses the same tehcnique as Twisted I believe | 17:01 |
prologic | sets the file descriptor as non-blocking | 17:02 |
prologic | AFAIK it reuiqres Kernel support to do this though | 17:02 |
prologic | so I'm not sure how portable it is :) | 17:02 |
prologic | it *could* be improved | 17:02 |
prologic | a lot I think :) | 17:02 |
prologic | but it's there - it works we use it | 17:02 |
qwebirc52327 | i'll give it a go as soon as I get circuits going on my linux box... currently using my freebsd one, where it obviously isn't supported | 18:08 |
*** Coldblackice has joined #circuits | 18:30 | |
prologic | oh we support BSD | 18:32 |
prologic | we just can't easily CI it :) | 18:32 |
prologic | Travis only runs tests against Linux systems really | 18:32 |
prologic | but yeah we support 2.6, 2.7, 3 and PyPy on Windows, LInux and BSD (including OS X) | 18:32 |
qwebirc52327 | confused - do you mean you support *bsd per se (which i already know) or non-blocking io on *bsd? | 18:37 |
*** Coldblackice has quit IRC | 19:11 | |
*** Coldblackice has joined #circuits | 19:53 | |
qwebirc52327 | prologic: I can confirm that with the new version, installed as you suggested above, the echoserver example now works - thanks! | 20:17 |
prologic | Nps | 20:20 |
*** Osso has quit IRC | 23:48 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!