Alex what's your preferred way to input ballot data and get the results?
Alex
currently its writing the output to an xml file
Alex
I can send you such an file
Lance
thanks!
Alex
I have written some own tools which parse this files, so it would be great when we can use this format for now, and then maybe later add some admin commands to the bot which replaces this tools and displays the results
Lance
right
Lance
is the ballot data an xml file as well?
Kev
I don't have strong opinions on (1) or (2) BTW, whichever's best for the people all around.
kevinis shocked after reading about the facebook chat feature
http://developers.facebook.com/docs/chat/
Lance
kevin which part shocked you?
bear
we should be able to get the bot running - if not we can always punt
kevin
they too use XMPP. :-s
Alex
Lance you have email
Lance
Alex thanks! do you have a ballot items xml file as well?
Alex
I will checkout the new code this evening and make tests
Alex
yes, forgot to send the input file, but I am flexible on this format
Alex
sent
Lance
got it. thanks again
Alex
thanks to you, for hacking on this stuff
bear
ugh - 0400
bear
time for me to turn into a pumpkin
Alex
;-)
bear
lance - let me know what is needed and I'll work on that tomorrow (or whenever your ready)
Lance
bear basically, install redis
kevinhas left
bear
pfft - I think I can handle that :)
Alex
Requirements of the bot are:
1) talk only to subscribed users /members, or a list of members from a file, what ever is easier for you.
2) read the questions from a configuration file, send then to the voter
3) write a result file when the voting is done
Alex
council voting is more complicated, but we don't need this now
bear
ouch - redis 1.2 - I think I'll install from tarball
bear
lance - redis 2.6 is running, localhost only, 2 db's defined, port 6379
Lance
thanks bear
Lance
now go to bed
Lance
:p
bear
:)
Neustradamushas left
Alexhas left
Alexhas joined
Neustradamushas joined
Neustradamushas left
Neustradamushas joined
Neustradamushas left
Neustradamushas joined
Lance
Alex: updated my memberbot to use a custom input file, and use the existing output file format
Lance
should be ready to roll out tomorrow
Alex
great stuff, let me know when there is a version for testing, Then I'll try to run and test it on athena
Lance
it should be ready for testing now if you pull master. just need to: 1) change JID/password in memberbot.py to whatever you need, 2) update data/xsf_roster.txt to include a jid you want to test with
Lance
and now it's late and i need to head to bed. night
Alex
ok thanks
Alex
I don't think redis is installed on athena, so I have to poke and admin
Alexhas left
Alexhas joined
Nÿcohas joined
Lancehas left
bear
alex - I installed redis earlier on athena
kevinhas joined
kevinhas left
Alex
ok
jabberjockehas left
Alexhas left
Alexhas joined
Alexhas left
Alexhas joined
Alexhas left
Alexhas joined
ralphmhas left
Alexhas left
Alexhas joined
Ashleyhas joined
Ashleyhas left
Ashleyhas joined
Ashleyhas left
jabberjockehas joined
Neustradamushas left
Neustradamushas joined
Alexhas left
Alexhas joined
Ashleyhas joined
Alexhas left
Ashleyhas left
Neustradamushas left
Neustradamushas joined
Ashleyhas joined
Ashleyhas left
jabberjockehas left
Ashleyhas joined
Ashleyhas left
Ashleyhas joined
jabberjockehas joined
Lancehas joined
jabberjockehas left
Ashleyhas left
Ashleyhas joined
Ashleyhas left
Ashleyhas joined
Alexhas joined
Lancehas left
kevinhas joined
kevinhas joined
Alex
Lance: I don't get the bot running
Lance
any errors?
Alex
what files must I copy to athena to get it running?
Alex
I checked out your github sources and copied them to athena, and checked out a sleekxmpp version
Lance
ok, then that should be good
Alex
sleekxmpp must be in a subdir?
Lance
no, just python setup.py install
Lance
also pip install redis
Lance
then in memberbot source: cd memberbot; python memberbot.py
Lance
and you can edit memberbot.py to use the proper jid/password
Lance
and edit data/xsf_roster.txt to include your own jid that you want to test voting with
Alex
ok, lemme try
Alex
gnauck@athena:/var/xsf/voting$ cd new_memberbot/
gnauck@athena:/var/xsf/voting/new_memberbot$ python memberbot.py
Traceback (most recent call last):
File "memberbot.py", line 11, in <module>
import voting
File "/var/xsf/voting/new_memberbot/voting.py", line 2, in <module>
import redis
ImportError: No module named redis