Time |
Nickname |
Message |
00:37
🔗
|
chfoo |
wow, arkiver killed half of the warriors :P. from ~120 to ~60 responding. |
01:25
🔗
|
chfoo |
summary: never do a while true loop in asynchronous code especially if it's the main thread :) |
01:30
🔗
|
|
skiy has quit IRC (Ping timeout: 512 seconds) |
02:29
🔗
|
xmc |
yeah ... |
02:29
🔗
|
xmc |
nice job :P |
03:15
🔗
|
yipdw |
wow nice |
03:15
🔗
|
yipdw |
wonder if there's any reasonable way to set up a watchdog |
03:16
🔗
|
yipdw |
I guess the warriors reboot periodically, no problem there |
03:17
🔗
|
aaaaaaaaa |
signal.alarm? |
03:47
🔗
|
chfoo |
it can't reboot periodically if the main thread is blocked |
03:57
🔗
|
chfoo |
ui code, http server, pipeline runner, phone home, reboot, etc is all on one python thread :/ |
04:08
🔗
|
aaaaaaaaa |
the docs say signal is handled asynchronously, so if that means what I think it means, it should get executed no matter what. |
04:09
🔗
|
yipdw |
chfoo: oh, I thought reboot was handled by a cronjob or something |
04:09
🔗
|
yipdw |
guess not |
04:10
🔗
|
aaaaaaaaa |
https://docs.python.org/2/library/signal.html#example |
04:13
🔗
|
yipdw |
I'm a bit wary of signals just because they can interact in subtle and bad ways with event loops |
04:13
🔗
|
yipdw |
and the correct way to mix signals and event loops, e.g. handle the signal in the event loop, would not have worked here |
04:14
🔗
|
aaaaaaaaa |
I suppose on boot it could schedule it with atd or cron as a failsafe here https://github.com/ArchiveTeam/warrior-code2/blob/master/boot.sh |
04:14
🔗
|
aaaaaaaaa |
just ideas, this is a bit out of my wheelhouse |
04:15
🔗
|
yipdw |
the other possibility is "don't do that" and that probably scales well enough for now |
04:21
🔗
|
|
aaaaaaaaa has quit IRC (Leaving) |
04:38
🔗
|
trs80 |
where are the warrior stats? |
04:56
🔗
|
yipdw |
http://warriorhq.archiveteam.org/ |
04:59
🔗
|
chfoo |
http://zeppelin.xrtc.net/corp.xrtc.net/shilling.corp.xrtc.net/warriors.html |
14:42
🔗
|
|
Stary200- has joined #warrior |
16:48
🔗
|
|
aaaaaaaaa has joined #warrior |
17:02
🔗
|
|
skiy has joined #warrior |
17:05
🔗
|
aaaaaaaaa |
based on what was said yesterday is https://gist.github.com/anonymous/555b85097a6500ba0b31 a bad idea? |
17:06
🔗
|
aaaaaaaaa |
in that it mixes signals and events? |
17:07
🔗
|
aaaaaaaaa |
well, besides signal not being imported |
18:00
🔗
|
|
skiy has quit IRC (Read error: Connection reset by peer) |
18:00
🔗
|
|
skiy_ has joined #warrior |
18:30
🔗
|
|
skiy_ has quit IRC (Read error: Connection reset by peer) |
18:30
🔗
|
|
skiy__ has joined #warrior |
19:35
🔗
|
|
skiy__ has quit IRC (Read error: Connection reset by peer) |
19:49
🔗
|
|
skiy has joined #warrior |
19:52
🔗
|
Start |
when running scripts outside of a warrior on my mac, i get this: |
19:52
🔗
|
Start |
Uploading with Rsync to rsync://chfoo-cn.mooo.com/archiveteam-hyves-uname/friendfeeddisco/Start/ |
19:52
🔗
|
Start |
Starting RsyncUpload for Item account:islamicworld |
19:52
🔗
|
Start |
Error writing to process: format requires a mapping |
19:52
🔗
|
Start |
rsync: --contimeout=300: unknown option |
19:52
🔗
|
Start |
rsync error: syntax or usage error (code 1) at /SourceCache/rsync/rsync-45/rsync/main.c(1333) [client=2.6.9] |
19:52
🔗
|
Start |
Process RsyncUpload returned exit code 1 for Item account:islamicworld |
19:52
🔗
|
Start |
Failed RsyncUpload for Item account:islamicworld |
19:52
🔗
|
Start |
Retrying after 30 seconds... |
19:52
🔗
|
Start |
anyone know how to fix this? |
19:56
🔗
|
Start |
i tried "alias rsync=/usr/local/bin/rsync", but it didn't work |
20:02
🔗
|
aaaaaaaaa |
what is the output of "find / -iname rsync 2> /dev/null" |
20:06
🔗
|
|
skiy_ has joined #warrior |
20:07
🔗
|
|
skiy has quit IRC (Read error: Operation timed out) |
20:11
🔗
|
Start |
aaaaaaaaa: /usr/bin/rsync |
20:13
🔗
|
aaaaaaaaa |
did you install the homebrew version of rsync? |
20:16
🔗
|
Start |
i'm not sure, i installed it a while ago |
20:16
🔗
|
aaaaaaaaa |
I think that you might be using the mac version of rsync, instead of the one the script expects |
20:17
🔗
|
aaaaaaaaa |
user installed stuff would bin in /usr/local/bin/ IIRC |
20:18
🔗
|
aaaaaaaaa |
wait, a while ago? Has it worked fine until today? |
20:19
🔗
|
|
Wizardcry has joined #warrior |
20:19
🔗
|
Start |
not sure, i don't think i've used it since around 2012-2013 |
20:24
🔗
|
aaaaaaaaa |
maybe updating with a "brew update" and then see what "brew outdated" says |
20:59
🔗
|
|
skiy__ has joined #warrior |
21:00
🔗
|
|
skiy_ has quit IRC (Read error: Connection reset by peer) |
21:01
🔗
|
|
skiy has joined #warrior |
21:07
🔗
|
|
skiy__ has quit IRC (Read error: Operation timed out) |
21:38
🔗
|
|
aaaaaaaaa has quit IRC (Leaving) |
22:04
🔗
|
|
Wizardcry has quit IRC (Read error: Connection reset by peer) |
22:07
🔗
|
|
Wizardcry has joined #warrior |
22:44
🔗
|
|
primus has quit IRC (Read error: Operation timed out) |
22:51
🔗
|
|
skiy has quit IRC (Ping timeout: 512 seconds) |
23:26
🔗
|
yipdw |
Start: the homebrew version is the one you want. instead of alias rsync, give /usr/local/bin precedence in PATH |
23:26
🔗
|
yipdw |
alias rsync only works when executing rsync via your shell and seesaw's ExternalProcess does not do that |
23:57
🔗
|
|
primus has joined #warrior |