#pokersource@irc.freenode.net IRC Log for
Tuesday 2 February 2010

Back to #pokersource@irc.freenode.net Log Calendar

Back to to Monday 1 February 2010


Poker Free Software http://pokersource.info/ with IRC archives http://pokersource.info/irc/pokersource@irc.freenode.net/"

00:00:36 ckudige: dachary: no there is no email nor any messages out here from sp4rky
00:01:21 dachary: i'll get that for you
00:01:26 ckudige: thanks
00:01:27 dachary: http://trac.pokersource.info/ticket/68
00:01:35 dachary: is closed but it can't be less specific
00:02:03 ckudige: I guess all we need is the ssh port
00:04:39 dachary: ssh -p 22103 root@drupal-chandan.pokersource.info
00:05:10 dachary: ckudige: ^
00:05:34 ckudige: thanks, its working
00:06:03 dachary: i'll configure the poker server for you
00:06:03 ckudige: dachary: how do I run the test cases ?
00:06:15 ckudige: http://drupal-chandan.pokersource.info/drupal6/ seems to be working already
00:06:42 dachary: yes, but not the poker server
00:07:10 ckudige: ah, okay
00:07:51 dachary: shoot
00:07:56 dachary: you only have 256K RAM
00:09:18 ckudige: yeeks
00:10:22 dachary: hold
00:13:32 dachary: 256MB I meant. But it's not enough to run the tests.
00:14:02 ckudige: Yeah, I figured .. does it mean we need to clone a new VM or is there a setting that can be changed ?
00:15:29 bkuhn quit IRC (Quit: Back in 1.5 hours.).
00:18:38 dachary: there is nothing I can do to change the amount of RAM because another command is blocking the cluster and will not be completed until a few hours
00:18:51 dachary: that means you will only be able to run a limited amount of tests
00:19:17 dachary: just sent a mail to sp4rky and he will grow it to 1GB tomorrow morning
00:19:25 dachary goes back to configuring the poker server
00:20:08 Chr1z joined #pokersource.
00:20:45 ckudige: dachary: okay thanks
00:20:55 Chr1z: I installer python poker server on ubuntu.. how do I configure it?
00:21:33 Chr1z: poker-network and engine rather sorry
00:21:59 Chr1z: where would the config files I need to edit be located?
00:23:21 dachary: Chr1z: hey
00:23:31 dachary: /etc/poker/
00:26:16 Chr1z: dachary: any files specifically just to get it up so I can play with options later? I am wanting to create an android ui to connect to this server
00:27:35 Chr1z: I have seen a gui based config util in linux before.. how do you bring it up?
00:31:11 Chr1z: are there docs on configuring this?
00:31:59 dachary: ckudige: it works. The machine will be slow because it does not have enough memory at the moment :-(
00:33:15 ckudige: dachary: I tried to run the os poker testcases ... but got a mysql error. Probably due to the RAM
00:34:27 ckudige: I will run individual test cases, that should be fine for now
00:34:36 dachary: yes.
00:34:40 dachary: Thanks for your patience.
00:34:54 ckudige: no worries :)
00:35:21 ckudige: right now I am running the os poker specification tests so I can understand what is implemented and what has changed
00:35:51 dachary: Chr1z: you could skin jpoker for the android screen size. That would be interesting.
00:36:11 dachary: You can see jpoker in action at http://skyrock.com/poker/
00:36:24 Chr1z: dachary: looking now..
00:36:56 dachary: and http://jspoker.pokersource.info/skin/skin.html is the list of states you need to skin to get something running
00:37:15 Chr1z: dachary: and that is poker-network running that game?
00:37:19 dachary: yes
00:37:48 dachary: jpoker is definitely the easiest way to get something running on android (or any web enabled platform)
00:38:10 Chr1z: dachary: I apologize..this is the first day I've even seen it.. been messing with cspoker and holdingnuts project for weeks and messed with pokerth some starting last night.. trying to find a suitable backend.. so sorry if my questions are newbish... bear with me :)
00:38:16 dachary: :)
00:38:44 dachary: What's the url of hodlingnuts ?
00:38:59 Chr1z: http://www.holdingnuts.net/
00:40:53 Chr1z: this one appears light years ahead of holdingnuts :)
00:43:56 ckudige: dachary: Are some of the tests expected to fail ? A few of them failed (not related to RAM I think)
00:44:38 Chr1z: how many simultaneous users have you guys seen on this setup?
00:45:18 dachary: ckudige: you would have to check with mongolito404 about the status of the tests. It's possible that some fail.
00:45:34 dachary: holdingnuts does not play cash game ?
00:45:37 dachary: Chr1z: ?
00:46:11 Chr1z: dachary: No :( you see why I abandoned it and kept looking?
00:48:27 Chr1z: dachary: holdingnuts is really setup for users to create their own tables to play with their friends etc... not really what I was looking for
00:49:47 dachary: you auto rebuy when you lose alling
00:49:49 dachary: allin
00:49:52 dachary: it's weird
00:50:26 Chr1z: yeah... I didn't like it.. the other thing it does is whoever creates a table has to 'start' the game after users have joined... if they leave or dont click 'start' it sits and never starts
00:50:29 Chr1z: it's very odd
00:51:22 dachary: Indeed
00:51:54 dachary: thanks for showing it to me though. I did not notice it although it has been out there for almost 18 months :-)
00:52:19 dachary: the code is nice. It's nowhere near a poker server but it's a good clean code.
00:53:44 dachary: Chr1z: do you know JavaScript & CSS ?
00:56:35 Chr1z: very little.. I've got an android developer that does... I'm doing research basically
00:58:41 ckudige: dachary: yesterday when I was looking at one of the drupal poker servers, I saw a small box at the bottom that had an option to enable "theme debugging" which would show what theme template created each block of the page. Do you happen to know how to enable it ?
00:59:10 Chr1z: the skyrock site... is that ran from the php files I saw in the tar of this project or is it custom?
00:59:44 dachary: ckudige: no I don't
01:00:05 dachary: skyrock is a social network
01:00:14 dachary: jpoker is embedded into it
01:00:22 Chr1z: ahh
01:00:46 dachary: http://pokermaniaworld.com/ is a standalone social network that has been developped for poker specifically
01:02:02 dachary: it's about complete, we're working on it most of the time these days
01:02:37 Chr1z: very cool...
01:03:12 Chr1z: so where do I start in configuring the server?
01:05:38 dachary: depends what you're after
01:05:51 dachary: it should run out of the box if you installed the debian package
01:07:51 Chr1z: I just want it running so I can play with options,bots etc
01:08:17 dachary: what do "options" mean ?
01:08:38 Chr1z: I'm not sure yet... lol.. I haven't seen a config file to even know what options there are
01:08:47 dachary: ahahah
01:09:05 dachary: /etc/poker-network/poker.server.xml defines the tables
01:11:22 Chr1z: I found this python-poker-network thing then searched for a forum or irc channel... and landed here 10-15mins after finding it
01:11:58 Chr1z: if I try to ./python-poker-server start I get: Starting poker server : not configured, abort.
01:12:20 Chr1z: that's why I was asking what I have to configure to get it to start
01:12:24 dachary: did you install the debian package ?
01:12:53 Chr1z: I did apt-get install python-poker-network and it installed
01:13:26 dachary: /etc/default/poker-network has a line about bots
01:13:41 Chr1z: this is on ubuntu 9.10 if that matters
01:13:55 dachary: when it installed you had the option to run the server or not.
01:14:08 dachary: you should reconfigure and chose to run it
01:14:17 Chr1z: how do I reconfigure
01:14:51 dachary: or you can rm /etc/poker-network/lockfile
01:15:22 dachary: i need sleep now, welcome on #pokersource Chr1z, ttyl
01:15:32 Chr1z: what do I run to reconfigure it?
01:15:35 Chr1z: thanks dachary
01:18:55 macmaN joined #pokersource.
01:22:39 dachary quit IRC (Ping timeout: 260 seconds).
01:46:44 macmaN quit IRC (Read error: Connection reset by peer).
02:28:18 bleader quit IRC (Ping timeout: 246 seconds).
02:30:23 bleader joined #pokersource.
02:30:34 Chr1z: If I install poker-web.. it connects you to http://pokersource.eu/POKER_REST -- how do I setup that part (the /poker_rest) on my server to point it to?
03:50:25 macmaN joined #pokersource.
04:18:24 macmaN quit IRC (Read error: Connection reset by peer).
06:22:21 macmaN joined #pokersource.
06:32:34 macmaN quit IRC (Read error: Connection reset by peer).
07:14:00 Chris28 joined #pokersource.
07:17:52 Chr1z quit IRC (Ping timeout: 240 seconds).
07:35:47 bruno|taf joined #pokersource.
08:02:33 dachary joined #pokersource.
08:02:33 dachary quit IRC (Changing host).
08:02:33 dachary joined #pokersource.
08:03:52 dachary: ckudige: morning
08:05:45 Sp4rKy joined #pokersource.
08:05:50 Sp4rKy: hi
08:15:09 dachary quit IRC (Ping timeout: 245 seconds).
08:27:02 mongolito404 joined #pokersource.
08:28:43 Sp4rKy: mongolito404: hi, can I down drupal-404 for 20min (not now, in 20 mintues :) to clone a new vm ?
08:30:45 mongolito404: Sp4rKy: Yes
08:31:21 Sp4rKy: ok
08:31:29 Sp4rKy: I let you know when I stop/restart it
08:33:35 mongolito404: ckudige, MotherOfCOBOL: I'm here if you have any question or need anything
08:34:48 Sp4rKy: for who is drupal-chandan ?
08:35:01 mongolito404: Sp4rKy: It is for ckudige
08:37:35 Sp4rKy: ckudige: ok, it is up and running now, sorry for the delay
08:37:42 Sp4rKy: ckudige: do you have access to it ?
08:48:34 Sp4rKy: mongolito404: ok, I shutdown drupal-404 now
08:49:49 mongolito404: ok
08:51:59 ckudige: Sp4rKy: I am checking now
08:52:20 ckudige: mongolito404: I will have my dinner and catch up with you, I have more questions today
08:52:45 ckudige: Sp4rKy: did you mean you upgraded the RAM ?
08:53:38 Sp4rKy: yes I did
08:53:44 Sp4rKy: and I backuped it too
08:53:47 ckudige: okay thanks !
08:53:52 Sp4rKy: you're welcome
08:54:49 Chris28 is now known as Chr1z.
08:54:54 Chr1z quit IRC (Changing host).
08:54:54 Chr1z joined #pokersource.
09:06:36 Sp4rKy: mongolito404: do you have admin password of drupal-dev trac ?
09:06:52 mongolito404: Sp4rKy: yes but I use my own account
09:06:56 mongolito404: Du you need it ?
09:07:05 Sp4rKy: yes :)
09:09:53 Chr1z quit IRC ().
09:14:32 dachary joined #pokersource.
09:14:33 dachary quit IRC (Changing host).
09:14:33 dachary joined #pokersource.
09:18:27 Sp4rKy: mongolito404: drupal-404 restart
09:18:40 dachary quit IRC (Ping timeout: 240 seconds).
09:18:47 dachary joined #pokersource.
09:22:33 dachary: seen dachary
09:25:52 ckudige: dachary: morning !
09:26:37 dachary: ckudige: evening !
09:26:40 dachary: :-D
09:26:51 ckudige: My server is now working ! :)
09:27:18 dachary: you mean working faster I assume ;-)
09:27:37 ckudige: well actually I couldn't do much before so I gave up
09:28:17 ckudige: but I still have a lot to read up so it was fine
09:29:01 Sp4rKy: dachary: MotherOfCOBOL drupal-rikeko is up, ssh z2-31.pokersource.info -p 22014 works
09:29:10 Sp4rKy: dns defined (may not be propagated)
09:31:41 dachary: Sp4rKy: thanks
09:31:55 dachary configuring the poker server on drupal-rikeko
09:32:33 ckudige: dachary: Does the poker-server on drupal-chandan need to be reconfigured ? When I access http://drupal-chandan.pokersource.info/drupal6 I see it accessing drupal-404
09:33:19 dachary: how do you see that ckudige ?
09:33:30 ckudige: In my browser status bar
09:33:41 ckudige: I see it flashing drupal-404 briefly
09:34:11 dachary: Sp4rKy: 22014 ?
09:34:25 dachary: or 22104 ?
09:35:25 Sp4rKy: 22104 sorry
09:35:28 dachary: ckudige: it's more likely that there is a 404 URL somewhere, firebug will tell you
09:35:47 ckudige: okay lemme dig a bit more .. I will let it finish the testcases
09:35:57 ckudige: 404 URL, that sounds funny :)
09:36:34 Sp4rKy: :}
09:42:31 dachary: ckudige: indeed the table list is bound to drupal-404
09:43:32 dachary: but there is a trick
09:44:11 dachary: /etc/hosts define drupal-404.pokersource.info as 127.0.0.1
09:44:19 dachary: which is part of the reason why it works
09:45:41 mongolito404: The gadget needs to ne modified in Drupal/ShindigIntegrator to use drupal-chandan
09:46:19 thy joined #pokersource.
09:49:10 MotherOfCOBOL: hello
09:49:34 dachary: MotherOfCOBOL: hi
09:49:47 ckudige: dachary: ah okay
09:50:00 ckudige: is this the URL used for poker-server ?
09:50:04 dachary: mongolito404: do you know how to do that ?
09:50:17 mongolito404: dachary: You asked to review tickets and schedule what it possible for this week milestone. Does that mean we can un-schedule other ticket (with a 'later' priority) ?
09:50:23 dachary: mongolito404: other than applying the howto from top to bottom ;-)
09:50:39 dachary: mongolito404: scheduling: yes, absolutely
09:51:07 mongolito404: Yes there is two option. One is to remove the gadget and then add it back with the proper URL. The second is to manually change the URL in the database.
09:51:57 ckudige: mongolito404: where do I remove the gadget ? from the admin panel I assume ?
09:52:49 mongolito404: From the application Gallery (in the top right menu when logged as root)
09:53:19 MotherOfCOBOL: ok, so how do i get started?
09:53:19 ckudige: My tests are stuck at 70%
09:53:36 mongolito404: You can then add it back from the "Add new application" link in the same menu.
09:54:19 dachary: mongolito404: I changed in the database
09:54:26 mongolito404: Ok
09:54:29 dachary: mysql -e "update applications set settings = 'a:1:{s:13:"os_poker_skin";O:8:"stdClass":1:{s:7:"default";s:62:"http://drupal-rikeko.pokersource.info/drupal6/?q=poker/skin.css";}}'" drupal6
09:55:23 MotherOfCOBOL: dachary: am i supposed to do that on the vm ?
09:55:24 dachary: mysql -e "update applications set url = 'http://drupal-rikeko.pokersource.info/pb_jpoker/jpoker-opensocial.xml'" drupal6
09:55:50 dachary: MotherOfCOBOL: no :-) First you should talk to Sp4rKy to get access to the VM
09:55:52 mongolito404: That will do it
09:56:07 MotherOfCOBOL: ok, dachary :)
09:56:15 mongolito404: ckudige: what tests are stuck ? ?
09:56:22 ckudige: dachary: we are not talking about the drupal-404 issue right ?
09:56:25 dachary: mongolito404: how do I clear the drupal-cache ?
09:57:06 mongolito404: From the "Administer > Settings > Performance" page (at admin/settings/performance
09:57:06 dachary: ckudige: I'm trying to solve it for the other machine
09:57:06 dachary: drupal-rikeko
09:57:22 ckudige: ah okay .. so the same will work for mine too ?
09:57:59 ckudige: ah Isee the entry in the applications table with link to 404
09:58:03 ckudige: let me try changing it
09:58:44 dachary: ckudige: warning about the s:60 : string length
09:59:02 dachary: mongolito404: Administer => has no "Settings" entry
09:59:37 ckudige: dachary: I am assuming thats the length of the URL and should be changed accordingly ?
10:00:23 dachary: that would be my guess
10:03:06 dachary: /drupal6/?q=admin/settings/performance is where the cache page lives
10:03:58 mongolito404: dachary: Right, sorry, it is called "Site configuration"
10:04:04 mongolito404: sorry
10:04:54 ckudige: dachary: okay the URL is fixed. I did it from the application gallery
10:04:56 dachary: it's taking forever to clear the cache, is it expected ?
10:05:31 dachary: ckudige: you removed the application and add it back ?
10:05:54 mongolito404: dachary: Not it should be fast. But sometime, random page on drupal-404 are slow.
10:07:34 dachary: ckudige: I will update pokersocial to accept input from the new application id (16 instead of 15)
10:08:17 dachary: ckudige: could you document what you did on the http://drupal-dev.pokersource.info/trac/ so that it's not a wild guess chase the next time ?
10:08:43 ckudige: dachary: yes, I removed the application (which was pointing to the 404 url, and added back this URL: http://drupal-chandan.pokersource.info/pb_jpoker/jpoker-opensocial.xml
10:08:49 ckudige: dachary: yes I will do shortly
10:09:22 dachary: /etc/poker-network/poker.social.xml
10:09:27 dachary: - opensocial_app_id="15"
10:09:27 dachary: + opensocial_app_id="16"
10:09:55 dachary: looks like it's working
10:10:39 ckudige: dachary: ah okay, the new entry was 16 ... so this always need to be updated manually ?
10:11:01 dachary: meanwhile I'm still unable to properly forge the serialized "settings" string....
10:11:04 dachary: ckudige: yes
10:11:14 dachary: ckudige: but it happens once per machine
10:11:25 ckudige: yep, I will note that in my trac entry too
10:11:36 dachary: thanks
10:12:37 dachary: what's the URL of the application gallery ?
10:13:23 dachary: got it
10:14:46 ckudige: http://drupal-chandan.pokersource.info/pb_jpoker/jpoker-opensocial.xml
10:17:17 dachary: Sp4rKy: there are very bizarre permission problems on drupal-rikeko, does that ring a bell ?
10:17:27 dachary: drupal-rikeko:/tmp# ls -l /usr/share/drupal6/sites/all/themes/pbpoker/images/bg_today_gift.jpg
10:17:27 dachary: -rw------- 1 loic users 3805 2010-01-25 15:38 /usr/share/drupal6/sites/all/themes/pbpoker/images/bg_today_gift.jpg
10:18:22 Sp4rKy: 0_o
10:18:27 Sp4rKy: and not on drupal-404 ?
10:18:32 dachary: it's the same on drupal-chandan
10:18:53 dachary: and on drupal-404
10:19:16 Sp4rKy: which seems logical
10:19:21 Sp4rKy: but where do they come from ...
10:20:47 Sp4rKy: dachary: it seems it's the themes/ directory
10:21:03 dachary: Sp4rKy: that does not seem to be a problem
10:21:19 MotherOfCOBOL: btw, i can see drupal-chandan via HTTP, but probably drupal-rikeko still needs DNS propagate ?
10:21:33 Sp4rKy: MotherOfCOBOL: think so
10:21:49 Sp4rKy: you can put something in your /etc/hosts to avoid waiting dns propagation anyway
10:21:56 MotherOfCOBOL: yes
10:21:59 dachary still trying to figure out why " Sorry! An error occured:Cannot add the application. Error: Failed to retrieve gadget content" when I try to add http://drupal-rikeko.pokersource.info/pb_jpoker/jpoker-opensocial.xml to http://drupal-rikeko.pokersource.info/drupal6/?q=create_app
10:22:14 MotherOfCOBOL: is it the same ip for both ?
10:22:27 Sp4rKy: no :)
10:22:31 Sp4rKy: 87.98.243.39 for rikeko :)
10:22:38 mongolito404 quit IRC (Ping timeout: 265 seconds).
10:22:40 dachary: mongolito404: is there any way to get a more cryptic error message ?
10:22:45 MotherOfCOBOL: thanks Sp4rKy
10:22:50 dachary: s/more cryptic/more explicit/ ;-)
10:22:54 Sp4rKy: ahah
10:23:07 MotherOfCOBOL: :)
10:24:28 dachary looks at the apache logs and only sees
10:25:21 ckudige: dachary: http://drupal-dev.pokersource.info/trac/wiki/SwitchingApplicationGalleryUrl
10:26:29 dachary: ckudige: thanks
10:27:40 ckudige: dachary: maybe your DNS for drupal-rikeko is not propagated too. Can you load the http://drupal-rikeko.pokersource.info/pb_jpoker/jpoker-opensocial.xml directly in the browser ?
10:28:07 dachary: it is propagated
10:28:17 dachary: I'll manage
10:33:38 dachary: found the reason
10:36:52 ckudige: what is it ?
10:37:41 mongolito404 joined #pokersource.
11:45:05 poker_log joined #pokersource.
11:49:08 dachary: Sp4rKy: you're going to have a lot of fun today, running after the hundreds of nagios alerts ringing everywhere.
11:50:02 poker_log joined #pokersource.
11:50:15 dachary: Sp4rKy: could you take a look at drupal-rikeko reboot status ?
11:51:04 poker_log joined #pokersource.
12:03:39 dachary quit IRC (Ping timeout: 265 seconds).
12:04:03 poker_log joined #pokersource.
12:10:50 dachary joined #pokersource.
12:11:03 poker_log joined #pokersource.
12:12:05 dachary: seen dachary
12:13:04 poker_log joined #pokersource.
12:23:12 mornifle quit IRC (Ping timeout: 264 seconds).
12:28:00 Sp4rKy: dachary: mongolito404 drupal-rikeko back
12:28:45 proppy joined #pokersource.
12:29:03 poker_log joined #pokersource.
12:29:27 Sp4rKy: dachary: filesystem
12:29:32 MotherOfCOBOL: Sp4rKy: ok
12:29:32 Sp4rKy: a fsck was needed
12:29:43 Sp4rKy: MotherOfCOBOL: sorry, my tab decided to hl mongolito :)
12:30:00 MotherOfCOBOL: oops :)))) i should change my nick :)
12:30:05 dachary: Sp4rKy: there still is a problem
12:31:03 poker_log joined #pokersource.
12:31:03 Sp4rKy: :'(
12:32:06 dachary: database corrupted
12:33:03 poker_log joined #pokersource.
12:34:06 dachary: Sp4rKy: I will fix rikeko machine
12:35:03 poker_log joined #pokersource.
12:48:26 dachary: reloading rikeko drupal6 database from 404 dump
12:49:02 poker_log joined #pokersource.
12:49:10 dachary: proppy: do you have a clue as to why poker_log goes in / out ?
12:50:03 poker_log joined #pokersource.
12:51:50 proppy: dachary: -rw-r--r-- 1 ircbot ircbot 5 Feb 2 12:50 /home/ircbot/pids/freenode-log-bot.pid
12:52:03 poker_log joined #pokersource.
12:52:09 proppy: there is a cron that is checking the bot status
12:53:04 poker_log joined #pokersource.
12:53:15 proppy: dachary: disabling the cron, and running the script by hand
12:54:04 poker_log joined #pokersource.
12:54:25 mongolito404: dachary: About http://drupal-dev.pokersource.info/trac/ticket/170, what should we do with shop_items.sql ?
12:57:33 dachary: It needs to be updated. I don't see any other way by readin the ticket, therefore I don't think I actually understand the ticket.
13:01:22 poker_log joined #pokersource.
13:01:52 Sp4rKy: :)
13:01:57 proppy: Sp4rKy: there is 2 scripts, bot-run-check, and the actual bot script
15:46:58 poker_log joined #pokersource.
15:47:07 dachary: run by hand
15:48:20 poker_log joined #pokersource.
15:48:26 Sp4rKy uses gozerbot too, but not for irc logging :)
15:48:36 dachary: seen dachary


Brought to you by your friendly neighborhood Logger Bot.