Back to #pokersource@irc.freenode.net Log Calendar
Back to to Monday 18 January 2010
| 00:35:49 | bruno981 | left #pokersource. |
| 00:47:22 | guyvdb | quit IRC (Read error: 110 (Connection timed out)). |
| 01:27:17 | dachary | quit IRC (Read error: 113 (No route to host)). |
| 02:12:41 | bkuhn | quit IRC (Read error: 60 (Operation timed out)). |
| 02:17:36 | macmaN | quit IRC (Read error: 104 (Connection reset by peer)). |
| 02:18:57 | bkuhn | joined #pokersource. |
| 03:46:05 | bkuhn | quit IRC ("Sleeping."). |
| 04:21:36 | macmaN | joined #pokersource. |
| 04:24:35 | macmaN | quit IRC (Read error: 104 (Connection reset by peer)). |
| 04:37:01 | macmaN | joined #pokersource. |
| 04:43:00 | macmaN | quit IRC (Read error: 104 (Connection reset by peer)). |
| 06:46:06 | macmaN- | joined #pokersource. |
| 06:54:03 | macmaN- | is now known as macmaN. |
| 08:09:09 | dachary | joined #pokersource. |
| 08:12:02 | dachary | quit IRC (Client Quit). |
| 08:12:04 | dachary | joined #pokersource. |
| 08:14:05 | mongolito404: | Hi |
| 08:14:30 | Sp4rKy: | hi |
| 08:16:16 | mongolito404: | Sp4rKy: did you set up ssh access to pokermania.com for me ? |
| 08:16:57 | Sp4rKy: | doing it |
| 08:17:02 | Sp4rKy: | give me 10 more secs |
| 08:18:33 | Sp4rKy: | done |
| 08:18:43 | Sp4rKy: | mongolito404: ssh root@pokermaniaworld.com -p 22080 ? |
| 08:19:07 | mongolito404: | works |
| 08:19:11 | mongolito404: | I'm in |
| 08:19:12 | Sp4rKy: | good |
| 08:30:28 | dachary | quit IRC (Read error: 113 (No route to host)). |
| 09:01:12 | thy2 | joined #pokersource. |
| 09:07:44 | dachary | joined #pokersource. |
| 09:15:20 | CIA-62: | pokersource: loic * r6367 /trunk/poker-network/pokernetwork/pokerpackets.py: fix typo |
| 09:16:16 | mongolito404: | dachary, Sp4rKy: Login (and sign-up) on pmw goes to "Access denied" because for some reason the PHP Session ID is not set in the cookie |
| 09:16:51 | dachary: | mongolito404: ah. |
| 09:20:43 | proppy | joined #pokersource. |
| 09:20:56 | dachary: | mongolito404: it looks like a permission problem server side |
| 09:21:33 | mongolito404: | session should be saved in the DB by Drupal but it looks like they are not |
| 09:22:18 | dachary: | let me restart mysql and see what happens mongolito404 ok ? |
| 09:22:30 | mongolito404: | ok |
| 09:23:19 | dachary: | done |
| 09:23:44 | dachary: | same punition |
| 09:24:50 | dachary: | I'm troubled. Why would a drupal-demo clone show such a behavior although drupal-demo works flawlessly in this regard |
| 09:26:16 | Sp4rKy | is thinking of something |
| 09:26:40 | proppy: | dachary: today I plan to followup https://gna.org/bugs/index.php?15016, commit https://gna.org/bugs/?13717 https://gna.org/bugs/index.php?15044, reproduce https://gna.org/bugs/index.php?15017, and sort other tickets on https://gna.org/bugs/?group=pokersource |
| 09:26:48 | proppy: | unless there is a better plan :) |
| 09:27:33 | dachary: | mkdir -p /usr/src/drupal6/images |
| 09:27:40 | dachary: | chown www-data: /usr/src/drupal6/images |
| 09:27:50 | dachary: | tail -f /var/log/apache2/error.log |
| 09:27:56 | dachary: | [Tue Jan 19 09:26:38 2010] [error] [client 10.10.1.76] File does not exist: /usr/src/drupal6/images/loadingAnimation.gif, referer: http://pokermaniaworld.com/?q=poker/first_profile |
| 09:28:01 | mongolito404: | When ran from os_poker_init() (so inside Drupal), phpinfo reports that the session.cookie_domain value is '.drupal-404.pokersource.info' on drupal-404 but reports '.pmw.pokersource.vm.gnt' on pmw |
| 09:28:11 | dachary: | I think this is related to my change |
| 09:28:28 | dachary: | mongolito404: good catch :-D |
| 09:28:40 | Sp4rKy: | yep |
| 09:28:48 | Sp4rKy: | that is what I'm thinking |
| 09:28:57 | Sp4rKy: | missing proxypreservehost directive |
| 09:29:07 | Sp4rKy: | 2s |
| 09:29:33 | Sp4rKy: | mongolito404: can you restart to login now ? |
| 09:30:01 | mongolito404: | Now it works |
| 09:30:05 | Sp4rKy: | :) |
| 09:30:14 | Sp4rKy | likes simple issues :} |
| 09:30:38 | proppy: | Sp4rKy: ah we had the same issue on drupal-dev at the beginning |
| 09:31:10 | proppy: | maybe we should add something on http://drupal.pokersource.info/HOWTO.txt |
| 09:31:37 | dachary: | proppy: I've browsed the tickets |
| 09:31:50 | proppy: | dachary: gna tickets ? |
| 09:32:00 | dachary: | proppy: you will see that I've published 1.7.6 this week-end |
| 09:32:14 | proppy: | dachary: yes, I've seems that |
| 09:32:18 | dachary: | http://qa.debian.org/developer.php?packages=poker-network |
| 09:32:20 | proppy: | you applied the patch |
| 09:32:41 | proppy: | dachary: there is also some followup needed for it to make it into ubuntu |
| 09:33:16 | dachary | reading https://gna.org/support/download.php?file_id=7613 |
| 09:33:57 | proppy: | most of ubuntu package are 1.6.0 |
| 09:34:08 | proppy: | and next version lucid (is 1.7.5) |
| 09:36:26 | dachary: | it looks good |
| 09:36:33 | dachary: | https://gna.org/bugs/index.php?15044 patch also looks good |
| 09:38:25 | proppy: | dachary: https://gna.org/support/download.php?file_id=7613 is already applied in production |
| 09:38:44 | proppy: | I will apply https://gna.org/bugs/?13717 and https://gna.org/bugs/index.php?15044 |
| 09:39:06 | dachary: | https://gna.org/bugs/?13717 and https://gna.org/bugs/index.php?15044 should be applied on 2.0 as well as 1.7.6, right ? |
| 09:39:12 | proppy: | after you ack them, because these are errors we get daily on alert-poker-error log mails |
| 09:39:29 | dachary: | proppy: I remember that, thanks for the reminder |
| 09:39:47 | proppy: | dachary: yes like usual, applied on poker-network 2.0.0, and added in debian/patches/ on branche0908 |
| 09:40:04 | proppy: | so you can publish them in 1.7.6-2 if needed |
| 09:40:05 | dachary: | ok |
| 09:40:10 | dachary: | good |
| 09:41:05 | dachary: | proppy: is there any pending issue regarding session handling in 2.0 ? |
| 09:42:05 | proppy: | dachary: I commited |
| 09:42:05 | proppy: | https://gna.org/bugs/index.php?14883 |
| 09:42:06 | proppy: | https://gna.org/bugs/index.php?15008 |
| 09:42:07 | proppy: | last week |
| 09:42:41 | dachary: | thanks for the reminder |
| 09:42:46 | proppy: | obviously they need more review/testing |
| 09:43:22 | dachary | reviewing https://gna.org/support/download.php?file_id=7606 |
| 09:45:18 | mongolito404: | dachary, proppy: What do I have to updated pmw with code in drupal-demo. Pull the latest mercurial changesets from it in /root/drupal and /usr/src/pb_jpoker. Anything else ? |
| 09:45:51 | proppy: | mongolito404: if you're pulling from pb_jpoker to planc |
| 09:45:55 | proppy: | some merge may be needed |
| 09:46:11 | proppy: | also you have to follow the last part of http://drupal.pokersource.info/HOWTO.txt |
| 09:46:33 | proppy: | ignore the first 2 lines: |
| 09:46:35 | Sp4rKy: | proppy: dachary please could one of you put my pubkey into dedipoker0002 ? |
| 09:46:40 | proppy: | dd if=/dev/all/drupal-dev-virgin of=/dev/all/drupal-dev bs=1024k virsh start drupal-dev |
| 09:46:46 | proppy: | and do the following: |
| 09:46:50 | proppy: | in /etc/poker-network/poker.social.xml: s/scratch.rentre.tld/hostname/g |
| 09:46:59 | proppy: | /etc/init.d/python-poker-network restart in /usr/src/ShindigIntegrator/shindig_integrator/shindig/php/config/local.php: s/scratch.rentre.tld/hostname/g |
| 09:47:06 | dachary: | mongolito404: planc is the pokermaniaworld skin, that's what's going to be used, not pb_poker |
| 09:47:09 | proppy: | (hostname means the public hostname of the host) |
| 09:47:13 | dachary: | Sp4rKy: sure |
| 09:47:21 | proppy: | Load http://hostname/drupal6/ Login as administrator Click "Application gallery" button remove "jpoker" Click "Add new application" Enter URL: http://hostname/jpoker/jpoker-opensocial.xml Click "Add application" button in /etc/poker-network/poker.social.xml update /pokersocial/container/opensocial_app_id to match echo "select id from applications;" | mysql -u root --silent drupal6; |
| 09:47:28 | proppy: | if there is already a gadget you need to remove it |
| 09:47:41 | proppy: | dachary: yes, but latest js fixes got into pb_poker |
| 09:47:54 | dachary: | proppy: understood |
| 09:47:58 | proppy: | dachary: so pulling them into planc ok |
| 09:48:10 | proppy: | mongolito404: you will have to revert the changes in images/ |
| 09:48:36 | dachary: | Sp4rKy: done |
| 09:49:06 | Sp4rKy: | dachary: works |
| 09:49:35 | proppy: | mongolito404: pb_jpoker images is changeset 4448be278194 |
| 09:49:51 | proppy: | mongolito404: be sure to revert after pulling into planc |
| 09:50:01 | proppy: | otherwise you will get pb_jpoker skin |
| 09:50:01 | dachary: | mongolito404: proppy and the only change between planc & pb_poker are images |
| 09:50:26 | proppy: | dachary: yes but it is a commited change, so he will get pulled if using hg pull ../pb_jpoker from planc |
| 09:51:00 | dachary: | proppy: I agree, just confirming the fact (it's not frequent that a skin change is just about changing a few images) |
| 09:51:47 | dachary: | actually there is an additional change in the CSS files (color change) |
| 09:52:04 | proppy: | yes you're right, it might be more difficult to share js changes between repo then |
| 09:52:05 | dachary: | actually there is an additional change in the CSS files (color change for the list of tables) |
| 09:52:19 | proppy: | dachary: they are not commited IIRC |
| 09:52:27 | proppy: | dachary: and only in drupal-demo copy |
| 09:53:58 | dachary: | proppy: you are correct |
| 09:55:38 | dachary | goes back to reviewing https://gna.org/support/download.php?file_id=7606 |
| 09:58:04 | proppy: | dachary: if you notice pokersite.py hunk in https://gna.org/support/download.php?file_id=7606 |
| 09:58:33 | proppy: | it only set uid2resthost memcache entry for resthost that have explain instance for their avatar |
| 09:59:05 | dachary: | yes. |
| 09:59:09 | dachary: | What if |
| 09:59:12 | proppy: | but since sessionexplainfilter doesn't have access to these information for other hosts |
| 09:59:18 | proppy: | it uses the db |
| 09:59:21 | proppy: | and resthost name |
| 09:59:31 | proppy: | resthost name was already in configuration |
| 09:59:33 | proppy: | but unused |
| 09:59:42 | proppy: | I added the following semantic |
| 09:59:59 | proppy: | if resthost name begin by explain, then this is an explain resthost |
| 10:01:02 | proppy: | it would be better (in my opinion) if set uid2resthost was in sessionproxyfilter instead of pokersite |
| 10:01:25 | proppy: | but there is no way for sessionproxyfilter to know if the session should persist or not |
| 10:01:27 | dachary | thinking about the logic |
| 10:01:33 | proppy: | at least I see no way |
| 10:02:15 | proppy: | dachary: go to go, I'll be back in 30min |
| 10:02:29 | proppy: | feel free to comment about the patches, in bug tracker |
| 10:02:30 | dachary: | ok, i'll write my comments, thanks |
| 10:02:36 | proppy: | not that they are not closed yet |
| 10:02:38 | proppy: | note |
| 10:02:55 | proppy: | even if marked as Fixed (commited) |
| 10:03:44 | proppy | quit IRC ("Leaving."). |
| 10:08:14 | Sp4rKy: | dachary: I saw someone is working on drupal-dev ? should I wait to backup / migrate it ? |
| 10:14:11 | j1b | joined #pokersource. |
| 10:15:09 | dachary: | Sp4rKy: you can backup drupal-dev |
| 10:15:19 | Sp4rKy: | ok |
| 10:15:25 | dachary: | but migrating must be done at a time carefully chosen |
| 10:15:40 | Sp4rKy: | ok |
| 10:15:43 | Sp4rKy: | I backup it |
| 10:19:10 | guyvdb | joined #pokersource. |
| 10:21:44 | mongolito404: | changes pulled from drupal-demo: http://drupal-dev.pokersource.info/trac/ticket/147#comment:5 |
| 10:22:59 | dachary: | mongolito404: ok |
| 10:23:45 | dachary: | mongolito404: when I signup I have Fatal error: Call to undefined function countries_api_get_options_array() in /etc/drupal/6/sites/all/modules/os_poker/os_poker_forms.php on line 571 |
| 10:23:51 | dachary: | on pokermaniaworld.com |
| 10:24:10 | dachary: | does this ring a bell / |
| 10:24:12 | dachary: | ? |
| 10:24:51 | mongolito404: | dachary: Yes,an additional module needs to be enabled |
| 10:25:00 | dachary: | ok |
| 10:25:08 | mongolito404: | But ight know I'm lookin at the last steps in http://drupal.pokersource.info/HOWTO.txt as advised by proppy |
| 10:25:56 | mongolito404: | And I don't get it, because /dev/all/drupal-dev-virgin does not exist in pwm. I looks like something that must be done in the VMs host |
| 10:26:24 | mongolito404: | Ok, I get it, I only have to remove then add the gadget back |
| 10:29:24 | mongolito404: | But I can't since /planc is not accessible |
| 10:30:27 | dachary | reading |
| 10:30:50 | dachary: | mongolito404: yes |
| 10:31:25 | dachary: | mongolito404: what is the usual way to provide access to directories not controled by drupal when drupal is operating at the root of the server ? |
| 10:31:30 | mongolito404: | but /jpoker is |
| 10:32:06 | mongolito404: | /jpoker is set in /etc/apache2/sites-enabled/jpoker, but I don't find where /planc is set on drupal-demo |
| 10:32:52 | dachary: | it's not |
| 10:33:01 | dachary: | we could add an alias in apache |
| 10:33:54 | dachary: | /usr/src/planc was visible from http://host/planc because document root was /usr/src mongolito404 |
| 10:34:24 | mongolito404: | and /POKER_REST works too because it is set in etc/apache2/sites-enabled/jpoker |
| 10:34:30 | dachary: | so |
| 10:34:40 | dachary: | Alias /planc /usr/src/planc |
| 10:34:49 | dachary: | in /etc/apache2/sites-available/jpoker |
| 10:34:52 | dachary: | should be enough |
| 10:34:54 | dachary: | right ? |
| 10:34:57 | dachary: | mongolito404: ? |
| 10:35:12 | dachary: | do you want me to do it ? |
| 10:35:19 | dachary: | :-) |
| 10:35:22 | dachary: | you did |
| 10:35:32 | mongolito404: | I did |
| 10:35:43 | dachary: | Alias /planc /user/share/planc => Alias /planc /usr/src/planc |
| 10:36:00 | dachary: | mongolito404: |
| 10:37:37 | dachary: | Alias /planc /usr/share/planc => Alias /planc /usr/src/planc |
| 10:37:39 | dachary: | mongolito404: :-) |
| 10:40:34 | dachary: | mongolito404: I'll check the poker server configuration |
| 10:43:01 | dachary: | mongolito404: can I patch /usr/src/ShindigIntegrator/shindig_integrator/shindig/php/config/local.php ? |
| 10:43:22 | mongolito404: | I'm editing it |
| 10:43:28 | dachary: | ok |
| 10:44:11 | dachary: | pokermaniaworld.com not pokermania.com |
| 10:44:14 | dachary: | mongolito404: |
| 10:48:47 | mongolito404: | chnaged but I still get a 404 for the iframe |
| 10:49:07 | dachary: | hum |
| 10:50:08 | dachary | looking in the shindig configuration files |
| 10:52:31 | dachary: | at /usr/src/ShindigIntegrator/shindig_integrator/shindig/php/config/container.php |
| 10:53:49 | dachary: | nothing |
| 10:54:10 | mongolito404: | pwm's iframe use http://pokermaniaworld.com/sites/all/modules/shindig_integrator/shindig/php/, on drupal-demo, it use http://drupal-demo.pokersource.info/drupal6/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr |
| 10:54:25 | mongolito404: | sorry it use http://pokermaniaworld.com/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr |
| 10:54:52 | mongolito404: | looks the same to me, but the one for pwn gives 404, at drupal-demo it gives "Error Missing required parameter: url" |
| 10:57:48 | dachary: | this URL is interpreted by drupal, isn't it ? |
| 10:57:53 | mongolito404: | It looks like sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr should is supposed to be served by sites/all/modules/shindig_integrator/shindig/php/index.php but is not |
| 10:58:01 | mongolito404: | Not by Drupal |
| 10:58:48 | dachary: | http://drupal-demo.pokersource.info/drupal6/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr is handled by http://drupal-demo.pokersource.info/drupal6/index.php which is drupal. Or am I mistaken ? |
| 11:00:18 | mongolito404: | It is handled by usr/src/ShindigIntegrator/shindig_integrator/shindig/php/index.php not Drupal's index.php |
| 11:00:52 | mongolito404: | According to the backtrace displayed |
| 11:01:06 | dachary: | ok |
| 11:01:49 | dachary: | I see there is a symbolic link in /usr/src/drupal6 to sites -> /etc/drupal/6/sites. Got it. |
| 11:02:23 | mongolito404: | The rewrite rules on /usr/src/ShindigIntegrator/shindig_integrator/shindig/php use RewriteRule (.*) /shindig/php/index.php |
| 11:03:00 | mongolito404: | http://pokermaniaworld.com/shindig/php/index.php gives 404 from apache, http://drupal-demo.pokersource.info/shindig/php/index.php gives a different 404 |
| 11:03:57 | dachary: | shindig_integrator/shindig/config/container.js has drupal6 prefixes |
| 11:04:41 | mongolito404: | And on drupal-demo, /usr/src/shindig -> /usr/src/ShindigIntegrator/shindig_integrator/shindig/ so shindig is served at /shindig but not in pmw |
| 11:05:43 | dachary: | mongolito404: I will remove the /drupal6/ from container.js ok ? |
| 11:07:31 | mongolito404: | ok |
| 11:08:24 | dachary: | done |
| 11:09:41 | dachary: | no change |
| 11:10:04 | dachary: | [Tue Jan 19 11:08:57 2010] [error] [client 10.10.1.76] File does not exist: /usr/src/drupal6/sites/all/modules/sh\ |
| 11:10:04 | dachary: | indig_integrator/shindig/php/gadgets, referer: http://pokermaniaworld.com/ |
| 11:10:04 | mongolito404: | I updated RewriteRule in /usr/src/ShindigIntegrator/shindig_integrator/shindig/php/.htaccess to include prefix, but http://pokermaniaworld.com/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr doesnt seems to be redirected at all |
| 11:11:11 | dachary: | could you revert this change ? |
| 11:11:13 | dachary: | mongolito404: |
| 11:11:21 | mongolito404: | which one ? |
| 11:11:31 | mongolito404: | changing the RewriteRule ? |
| 11:11:52 | dachary: | yes |
| 11:12:34 | mongolito404: | why, it is needed because /shindig is not served on pwm while it is served on drupal-demo (because symlink in /usr/src) |
| 11:12:38 | dachary: | if it works on drupal-demo it means we need to add an alias for /shinding don't you think ? |
| 11:12:44 | mongolito404: | Ok |
| 11:13:54 | dachary: | do you want me to add the alias ? |
| 11:14:05 | mongolito404: | Done |
| 11:14:08 | dachary: | ok |
| 11:14:09 | mongolito404: | And it doesn't work. |
| 11:14:28 | mongolito404: | As I said, it looks like http://pokermaniaworld.com/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr does'nt seems to be rewritten at all |
| 11:15:46 | dachary: | mongolito404: yes |
| 11:16:04 | dachary | looking at rewrite engine configuration in apache conf |
| 11:16:59 | dachary: | ah |
| 11:18:27 | proppy | joined #pokersource. |
| 11:18:29 | dachary: | mongolito404: what would be consistent with the fact that it's not rewritten is that rewrite engine is not active for the directory in which this is |
| 11:18:51 | dachary: | mongolito404: what would be consistent with the fact that it's not rewritten is that rewrite engine is not active for the directory in which /shinding/php/index.php is |
| 11:19:38 | mongolito404: | Where is this set ? |
| 11:20:09 | proppy: | Rewrite is activated in shindig/php/index.php |
| 11:20:10 | dachary: | it's set in .htaccess and AllowOverride is probably None |
| 11:20:11 | proppy: | by .htaccess |
| 11:20:19 | proppy: | (sorry to jump into the conversation) |
| 11:20:26 | dachary: | therefore I assume .htaccess is not taken into account |
| 11:20:33 | dachary: | mongolito404: proppy it's just a theory |
| 11:20:39 | proppy: | drupal-kez:/usr/src/ShindigIntegrator/shindig_integrator/shindig/php# cat .htaccess |
| 11:20:39 | proppy: | |
| 11:20:40 | proppy: | RewriteEngine On |
| 11:20:40 | proppy: | RewriteCond %{REQUEST_FILENAME} !-f |
| 11:20:40 | proppy: | RewriteCond %{REQUEST_FILENAME} !-d |
| 11:20:40 | proppy: | # NOTE: If you added a web_prefix to config, add it here too, e.g.: |
| 11:20:42 | proppy: | RewriteRule (.*) /shindig/php/index.php [L] |
| 11:20:44 | proppy: | #RewriteRule (.*) index.php [L] |
| 11:20:46 | proppy: | |
| 11:20:48 | proppy: | FYI :) |
| 11:20:58 | dachary: | proppy: yes, we're here already |
| 11:21:03 | proppy: | dachary: :) |
| 11:21:47 | proppy: | a2enmod rewrite ? |
| 11:23:09 | dachary: | pmw:~# a2enmod rewrite |
| 11:23:09 | dachary: | Module rewrite already enabled |
| 11:26:16 | proppy: | maybe apache errorlog would have some clues |
| 11:28:33 | proppy: | dachary: I think rewriting in shindig/ is activated because when you go to http://pokermaniaworld.com/shindig/php/index.php |
| 11:28:33 | mongolito404: | The only AllowOverride with something else I found on drupal-demo "None" is for /home/*/public_html in mods-available/userdir.conf: |
| 11:28:49 | proppy: | you've got a crafted 404 |
| 11:29:00 | proppy: | see http://pokermaniaworld.com/asdasd |
| 11:29:07 | proppy: | which is regular 404 from apache |
| 11:29:26 | proppy: | therefor I believe index.php craft the 404, so rewriting seems activated |
| 11:29:38 | mongolito404: | http://pokermaniaworld.com/shindig/php/index.php is not rewrited, because the file exists (RewriteCond %{REQUEST_FILENAME} !-f) |
| 11:29:58 | mongolito404: | http://pokermaniaworld.com/shindig/php/gadgets/ifr is not rewrited |
| 11:30:09 | proppy: | ho ok |
| 11:30:32 | proppy: | drupal-kez apache logs seems to indicate the gadget make call to shindig with this url |
| 11:30:32 | proppy: | 10.10.1.76 - - [18/Jan/2010:11:00:08 +0100] "POST /drupal6/sites/all/modules/shindig_integrator/shindig/php/gadgets/makeRequest HTTP/1.1" 200 197 "http://drupal-kez.pokersource.info/drupal6/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr?synd=default&container=default&viewer=268&owner=268&aid=MTU=&mid=b3NfcG9rZXI=&nocache=1&country=US&lang=EN&view=canvas&parent=http%3A%2F%2Fdrupal-kez.pokersource.info&up_os_poker_skin=http%3A%2F%2Fdrup |
| 11:31:11 | proppy: | http://drupal-kez.pokersource.info/drupal6/sites/all/modules/shindig_integrator/shindig/php/gadgets |
| 11:31:15 | proppy: | and http://pokermaniaworld.com/drupal6/sites/all/modules/shindig_integrator/shindig/php/gadgets |
| 11:31:19 | proppy: | seems consistent |
| 11:31:55 | mongolito404: | Yes and /usr/src/ShindigIntegrator/shindig_integrator/shindig/php/.htaccess rewrites it to /shindig/php/index.php. |
| 11:32:27 | proppy: | but http://drupal-kez.pokersource.info/drupal6/sites/all/modules/shindig_integrator/shindig/php/social/rpc |
| 11:32:28 | proppy: | and |
| 11:32:31 | proppy: | http://pokermaniaworld.com/drupal6/sites/all/modules/shindig_integrator/shindig/php/social/rpc |
| 11:32:34 | proppy: | are not consistent |
| 11:33:41 | dachary: | you mean |
| 11:33:43 | dachary: | http://pokermaniaworld.com/sites/all/modules/shindig_integrator/shindig/php/social/rpc |
| 11:34:33 | dachary: | the fact that /drupal6/ is no longer present cause a problem somewhere |
| 11:34:39 | proppy: | http://pokermaniaworld.com/drupal6/ still works, |
| 11:34:41 | mongolito404: | http://pokermaniaworld.com/drupal6/sites/all/modules/shindig_integrator/shindig/php/social/rpc is served by something, it use a crafted 404 and not the std. apache one |
| 11:35:10 | proppy: | mongolito404: yes, but it should return the same exception as drupal-kez SocialSpiException: The service is not implemented in /usr/src/ShindigIntegrator/shindig_integrator/shindig/php/src/social/servlet/ApiServlet.php on line 131 |
| 11:35:12 | proppy: | http://drupal-kez.pokersource.info/drupal6/sites/all/modules/shindig_integrator/shindig/php/social/rpc |
| 11:35:19 | dachary: | mongolito404: yes, rewrite works. Now this is clear. The problem is not in rewrite not being active. |
| 11:36:05 | dachary: | http://pokermaniaworld.com/shindig/php/social/rpc does not work though |
| 11:36:11 | dachary: | it says not found |
| 11:36:34 | dachary: | and not a crafted not found |
| 11:36:37 | dachary: | a regular not found |
| 11:36:38 | proppy: | please check that cat /usr/src/ShindigIntegrator/shindig_integrator/shindig/php/config/local.php |
| 11:36:51 | proppy: | has correct information in it |
| 11:37:20 | proppy: | shindig might still return 404 on errors |
| 11:37:24 | proppy: | (which are not 404) |
| 11:40:14 | mongolito404: | If I add 'deny from all' in /usr/src/ShindigIntegrator/shindig_integrator/shindig/php/.htacces: |
| 11:40:14 | mongolito404: | http://pokermaniaworld.com/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr is stiall apache's 404 |
| 11:40:14 | mongolito404: | http://pokermaniaworld.com/drupal6/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr is 'Forbidden' |
| 11:40:46 | mongolito404: | To me, when served from /, .htaccess is active |
| 11:40:49 | proppy: | while http://drupal-kez.pokersource.info/drupal6/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr |
| 11:40:52 | dachary: | mongolito404: yes |
| 11:40:53 | proppy: | is a regular error |
| 11:41:02 | mongolito404: | And I don't even understand why /drupal6 is served at all |
| 11:41:10 | proppy: | mongolito404: what does /usr/src/ShindigIntegrator/shindig_integrator/shindig/php/config/local.php says ? |
| 11:41:49 | mongolito404: | proppy: http://pastebin.com/m54c3ca34 |
| 11:42:06 | proppy: | mongolito404: there is a symbolic link in /usr/src (DocRoot) on drupal-kez |
| 11:42:06 | proppy: | drupal-kez:/usr/src# ls -al drupal6 |
| 11:42:07 | proppy: | lrwxrwxrwx 1 root src 19 2009-08-21 17:28 drupal6 -> /usr/share/drupal6/ |
| 11:42:11 | dachary: | proppy: I updated shindig_integrator/shindig/config/container.js to remove the /drupal6/ prefix |
| 11:42:17 | proppy: | maybe this is the same on pwm |
| 11:42:47 | mongolito404: | YEs, except that usr/src is not served at / |
| 11:43:29 | proppy: | there is also this symbolic link drupal-kez:/usr/src# ls -al shindig |
| 11:43:30 | proppy: | lrwxrwxrwx 1 root src 54 2009-08-21 17:28 shindig -> /usr/src/ShindigIntegrator/shindig_integrator/shindig/ |
| 11:44:58 | mongolito404: | /usr/src is not served from /, so we added two alias to /etc/apache2/sites-available/jpoker, one for planc and another for /shindig |
| 11:45:27 | proppy: | so http://pokermaniaworld.com/shindig/php/gadgets/ifr |
| 11:45:28 | proppy: | should work |
| 11:45:56 | mongolito404: | Yes, but as I said, fro anything served at /, .htaccess doesn't work |
| 11:45:59 | proppy: | maybe http://pastebin.com/m54c3ca34 should use /shindig instead of /sites/all/modules/shindig_integrator |
| 11:47:25 | mongolito404: | http://pokermaniaworld.com/shindig/php/index.php does work, but rewrite rules don't so http://pokermaniaworld.com/shindig/php/gadgets/ifr doesn't |
| 11:47:28 | dachary: | mongolito404: proppy the more we change things the worst it will be because we drift away from the case that works |
| 11:49:01 | dachary: | proppy: is there any way to know what the 404 means ? You had a patch that returned actuall error information didn't you ? |
| 11:49:10 | proppy: | dachary: yes |
| 11:49:16 | proppy: | you should check if the patch is applied |
| 11:49:35 | proppy: | http://drupal-kez.pokersource.info/shindig_error_reporting.patch |
| 11:49:41 | dachary: | proppy: thanks |
| 11:49:41 | proppy: | http://drupal-kez.pokersource.info/shindig_curl_error_report.patch |
| 11:50:34 | proppy: | what it is the content of shindig .htaccess ? |
| 11:50:39 | proppy: | and what are its permissions ? |
| 11:51:02 | proppy: | drupal-kez:/usr/src/ShindigIntegrator/shindig_integrator/shindig/php# ls -al .htaccess |
| 11:51:02 | proppy: | -rw-r--r-- 1 www-data www-data 304 2009-08-21 17:29 .htaccess |
| 11:51:09 | mongolito404: | -rw-r--r-- 1 www-data www-data 304 2010-01-19 11:46 /usr/src/ShindigIntegrator/shindig_integrator/shindig/php/.htaccess |
| 11:51:34 | proppy: | drupal-kez:/usr/src/ShindigIntegrator/shindig_integrator/shindig/php# cat .htaccess | grep RewriteRule |
| 11:51:36 | proppy: | RewriteRule (.*) /shindig/php/index.php [L] |
| 11:51:36 | proppy: | #RewriteRule (.*) index.php [L] |
| 11:52:12 | mongolito404: | Let me recap: Any directive in this .htaccess file doesn't work when accessed from /shindig or /sites/.... But they work if access from drupal6/sites/... |
| 11:53:09 | mongolito404: | Understanding why /drupal6 works when I don't see any directive for this is /etc/apache2/site-enabled/* may help understand why the .htaccess works there |
| 11:54:38 | mongolito404: | http://pokermaniaworld.com/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr -> apache's 404 |
| 11:54:38 | mongolito404: | http://pokermaniaworld.com/shindig/php/gadgets/ifr -> apache's 404 |
| 11:54:38 | mongolito404: | http://pokermaniaworld.com/drupal6/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr -> crafted 404 |
| 11:55:15 | dachary: | wtf |
| 11:55:40 | dachary: | /drupal6/ still valid on pokermaniaworld ??? |
| 11:55:56 | proppy: | mongolito404: did you restart apache ? |
| 11:56:01 | mongolito404: | proppy: yes |
| 11:56:14 | dachary: | proppy: the patch is applied |
| 11:56:53 | dachary: | the error returned is the error from the URL ProxyHandler gets |
| 11:57:20 | proppy: | dachary: yes, but this patch address only error for the proxyhandler |
| 11:57:23 | mongolito404: | found! /etc/apache2/conf.d/drupal6.conf |
| 11:57:29 | proppy: | mongolito404: \o/ |
| 11:57:32 | mongolito404: | |
| 11:57:32 | mongolito404: | Options +FollowSymLinks |
| 11:57:32 | mongolito404: | AllowOverride All |
| 11:57:32 | mongolito404: | order allow,deny |
| 11:57:32 | mongolito404: | allow from all |
| 11:57:32 | mongolito404: | |
| 11:57:34 | proppy: | dachary: there might be more error :) |
| 11:57:51 | dachary: | mongolito404: \o/ |
| 11:57:51 | proppy: | I mean there might be more error handler in shindig that returns 404 |
| 11:58:43 | dachary: | mongolito404: good catch |
| 11:58:44 | mongolito404: | So, AllowOverride All is set for /usr/share/drupal6/ while / is served from /usr/src/drupal6/ |
| 11:59:05 | dachary: | mongolito404: yes |
| 11:59:50 | mongolito404: | http://pokermaniaworld.com/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr now works |
| 12:00:36 | dachary: | :-D |
| 12:00:43 | mongolito404: | I changed / to be served from /usr/share/drupal6/ |
| 12:01:31 | dachary: | ok |
| 12:01:51 | mongolito404: | Now... the gadget load it's CSS from /pbp_poker and not planc |
| 12:02:19 | dachary: | you probably pulled the gadget with pb_poker changes |
| 12:03:05 | proppy: | mongolito404: you should update jpoker-opensocial.xml |
| 12:03:36 | mongolito404: | yes I only reverted the changeset tat changed the images |
| 12:04:15 | proppy: | yes I remember we weren't able to use relative path in gadget |
| 12:04:23 | dachary: | you probably want to keep the gadget and replace pb_poker with planc |
| 12:04:31 | dachary: | in case proppy did other changes in it |
| 12:05:08 | proppy: | yes there was a markup fix, in jpoker-opensocial.xml |
| 12:05:30 | proppy: | mongolito404: you could also retry relative path in the gadget |
| 12:06:30 | proppy: | mongolito404: you could try to render the gadget |
| 12:06:32 | proppy: | with the following url http://pokermaniaworld.com/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr?url=http://pokermaniaworld.com/planc/jpoker-opensocial.xml |
| 12:07:14 | proppy: | you could add ?bpc=1 ?nocache=1 to bypass cache |
| 12:08:39 | dachary: | http://pokermaniaworld.com/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr?nocache=1&bpc=1&url=http://pokermaniaworld.com/planc/jpoker-opensocial.xml ? |
| 12:08:56 | dachary: | proppy: ? |
| 12:12:52 | dachary: | proppy: mongolito404 I need to go, I'll be back at 3:30 |
| 12:15:38 | proppy: | dachary: yes |
| 12:22:10 | mongolito404: | proppy looks like it works http://pokermaniaworld.com/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr?nocache=1&bpc=1&url=http://pokermaniaworld.com/planc/jpoker-opensocial.xml |
| 12:22:27 | mongolito404: | But lobbu is empty |
| 12:22:45 | proppy: | yes that's because the gadget don't manage to communicate with the server |
| 12:22:51 | proppy: | when included outside drupal |
| 12:23:10 | proppy: | mongolito404: http://pokermaniaworld.com/sites/all/modules/shindig_integrator/shindig/php/gadgets/ifr?nocache=1&bpc=1&url=http://pokermaniaworld.com/planc/jpoker-opensocial.xml is only for checking that gadget markup render correctly |
| 12:23:23 | mongolito404: | In Drupal the lobby is also empty |
| 12:23:56 | proppy: | mongolito404: look at the makeRequest result |
| 12:24:04 | proppy: | there might be a php error in there |
| 12:24:07 | mongolito404: | Fatal error: Cannot redeclare ProxyHandler::end() |
| 12:24:16 | mongolito404: | Fatal error: Cannot redeclare ProxyHandler::end() in /usr/src/ShindigIntegrator/shindig_integrator/shindig/php/src/gadgets/ProxyHandler.php |
| 12:24:34 | proppy: | mongolito404: I believe there is a patch that have been applied twice |
| 12:24:41 | proppy: | hg diff /usr/src/ShindigIntegrator/shindig_integrator/shindig/php/src/gadgets/ProxyHandler.php ? |
| 12:24:49 | proppy: | mongolito404: also did you add/remove the gadget ? |
| 12:24:59 | proppy: | and update application_id in poker.social.xml ? |
| 12:25:35 | mongolito404: | yes |
| 12:25:42 | mongolito404: | I did that |
| 12:26:59 | proppy: | hg diff ProxyHandler.php ? |
| 12:27:08 | mongolito404: | http://pastebin.com/d418819d8 |
| 12:27:15 | proppy: | mongolito404: even after the change you've made (i.e s/pb_jpoker/planc/ ?) |
| 12:27:53 | proppy: | mongolito404: grep 'function end' /usr/src/ShindigIntegrator/shindig_integrator/shindig/php/src/gadgets/ProxyHandler.php |
| 12:29:19 | mongolito404: | Fixed |
| 12:29:30 | mongolito404: | Now I get 500 Error on makeRequest |
| 12:29:36 | mongolito404: | pokersocial.core.UnknownPublickey: xoauth_signature_publickey=http://pokermaniaworld.com/sites/all/modules/shindig_integrator/shindig/php/public.cer is not among ['http://pokermaniaworld.com/drupal6/sites/all/modules/shindig_integrator/shindig/php/public.cer'] |
| 12:29:53 | dachary | quit IRC (Read error: 110 (Connection timed out)). |
| 12:31:12 | proppy: | mongolito404: so you should check that /etc/poker-network/poker.social.xml |
| 12:31:13 | proppy: | cert |
| 12:31:14 | proppy: | matches |
| 12:31:26 | proppy: | /usr/share/drupal6/sites/all/modules/shindig_integrator/shindig/php/certs/public.crt |
| 12:31:48 | proppy: | mongolito404: also you should edit poker.social.xml not to include drupal6 prefixes here |
| 12:32:36 | mongolito404: | done |
| 12:32:45 | mongolito404: | Should I add/remove the applet ? |
| 12:32:52 | mongolito404: | s/applet/gadget |
| 12:32:59 | mongolito404: | because Is still have the cert issue |
| 12:33:43 | proppy: | no but you should restart the server |
| 12:33:56 | proppy: | /etc/init.d/python-poker-network restart |
| 12:33:59 | mongolito404: | You mean apache ? |
| 12:34:04 | proppy: | no I mean the poker server |
| 12:34:22 | mongolito404: | w00t it works |
| 12:34:28 | proppy: | mongolito404: :) |
| 12:34:38 | proppy: | mongolito404: you're the man :) |
| 12:37:17 | proppy: | mongolito404: playing a hand :) |
| 12:37:39 | mongolito404: | gift doesn't work |
| 12:38:30 | mongolito404: | Activation does work |
| 12:39:08 | proppy: | mongolito404: how do I see buy for table ? |
| 12:39:52 | mongolito404: | click on a user |
| 12:40:12 | proppy: | I don't see buy for table button |
| 12:40:19 | mongolito404: | My neither |
| 12:41:01 | proppy: | chrome doesn't display lobby here |
| 12:53:18 | proppy: | mongolito404: lunch timne |
| 13:00:41 | mongolito404: | gift fixed on pmw |
| 13:00:50 | mongolito404: | everything seems to work fine |
| 13:01:06 | mongolito404: | lunch time before updating #147 |
| 13:52:17 | mongolito404: | http://drupal-dev.pokersource.info/trac/ticket/147 updated (I hope I didn't forget anything) |
| 14:05:08 | proppy: | mongolito404: about gift what was the issue ? |
| 14:05:27 | mongolito404: | The template to display the medium profile was broken |
| 14:05:44 | proppy: | changeset: 171:1531542a5fae tag: tip user: root@pmw date: Tue Jan 19 13:35:46 2010 +0100 summary: Fix gift when using poker theme |
| 14:05:44 | proppy: | ok |
| 14:06:09 | proppy: | mongolito404: gift animation are always playing ? |
| 14:06:14 | mongolito404: | proppy: Yes |
| 14:06:20 | mongolito404: | It looks like |
| 14:06:35 | proppy: | ok |
| 14:06:41 | proppy: | mongolito404: I leave by browser connected |
| 14:06:44 | proppy: | and I got Internal server errorINVALID_GADGET_TOKEN |
| 14:06:46 | proppy: | error 500 |
| 14:06:51 | mongolito404: | Where |
| 14:06:56 | proppy: | http://pokermaniaworld.com/?view=table&game_id=525 |
| 14:07:21 | proppy: | POST http://pokermaniaworld.com/sites/all/modules/shindig_integrator/shindig/php/gadgets/makeRequestPOST http://pokermaniaworld.com/sites/all/modules/shindig_integrator/shindig/php/gadgets/makeRequest500 Internal Server Error 25msifr?synd...675330005 (line 101)ParamsHeadersPostPutResponseCacheHTMLResponse HeadersRequest HeadersInternal server errorINVALID_GADGET_TOKEN |
| 14:07:29 | proppy: | will report a new bug on drupal-dev |
| 14:07:37 | proppy: | it happened after a very long time |
| 14:07:45 | proppy: | I guess it is because my session in invalitated |
| 14:07:49 | proppy: | after some kind of timeout |
| 14:08:10 | mongolito404: | Maybe |
| 14:08:47 | mongolito404: | Long polling to Drupal doesn't re-save the session. This was done to avoid re-login after logout |
| 14:09:34 | proppy: | filled http://drupal-dev.pokersource.info/trac/ticket/161 |
| 14:09:51 | proppy: | mongolito404: drupal session is not timeouted |
| 14:10:01 | proppy: | because when I refresh the page I was still logged |
| 14:10:10 | proppy: | I don't think we need to address this issue right now |
| 14:10:19 | proppy: | I reported it, if it happens again |
| 14:10:30 | proppy: | we will have some background information |
| 14:11:01 | mongolito404: | ok |
| 14:25:32 | mornifle | quit IRC (Read error: 110 (Connection timed out)). |
| 14:52:49 | mornifle | joined #pokersource. |
| 15:23:37 | dachary | joined #pokersource. |
| 15:26:01 | proppy: | poker-network dist check ok |
| 15:26:02 | proppy: | ===================================================== |
| 15:26:02 | proppy: | poker-network-2.0.0 archives ready for distribution: |
| 15:26:02 | proppy: | poker-network-2.0.0.tar.gz |
| 15:26:03 | proppy: | ===================================================== |
| 15:26:13 | proppy: | after applying 13717 patch |
| 15:27:26 | CIA-62: | pokersource: proppy * r6368 /trunk/poker-network/ (pokernetwork/pokersite.py tests/test-pokersite.py.in): checkExpired should noop for already expired session, bug#13717 |
| 15:29:29 | dachary: | mongolito404: proppy can I help you with anything ? |
| 15:30:00 | proppy: | dachary: did you see my answer to your comment this morning ? |
| 15:30:08 | proppy: | on #14883 |
| 15:30:09 | proppy: | and |
| 15:30:16 | proppy: | #15008 |
| 15:30:21 | dachary: | not yet, I just came back and I'm asking in case you urgently need me |
| 15:30:21 | proppy: | https://gna.org/bugs/?14883 |
| 15:30:24 | proppy: | https://gna.org/bugs/?15008 |
| 15:30:26 | proppy: | oh ok |
| 15:30:27 | dachary: | otherwise I'll go thru my mail |
| 15:30:41 | proppy: | dachary: I don't need you urgently, I just wanted to ping you about this that's all |
| 15:54:05 | poker_log | joined #pokersource. |
| 15:54:26 | dachary: | I did not run make distcheck successfully on poker-network before uploading |
| 15:54:34 | dachary: | there was many things broken |
| 15:55:26 | dachary: | I decided to upload anyway because it was better than not uploading (the 1.7.5 current package not only fails distcheck on sid but it also failed to build from sources) |
| 15:55:58 | proppy: | ok I'll try to run make distcheck then |
| 15:56:04 | dachary: | proppy: I've left the package unattended for too long and noone took care of fixing things that broke after other packages changed |
| 15:56:26 | dachary: | I've been a bad debian packager :-( |
| 15:56:56 | proppy: | dachary: I did submit packages on mentors.debian.org and revu.ubuntu.org |
| 15:57:01 | proppy: | but I didn't get any feedback |
| 15:57:02 | proppy: | http://mentors.debian.net/debian/pool/main/p/poker-network/ |
| 15:57:51 | dachary | reviewing z2 tickets |
| 15:59:09 | proppy: | running make distcheck on 1.7.6 |
| 16:04:46 | Sp4rKy: | dachary: just got a nagios error about pokinfrance POKER_REST |
| 16:05:17 | Sp4rKy: | dachary: by any chance, does it needs dedipoker0002 ? |
| 16:06:09 | dachary: | Sp4rKy: yes, good catch. It does not matter for now and it can wait until it's back. |
| 16:06:23 | dachary: | thanks for the heads up |
| 16:06:40 | Sp4rKy: | k |
| 16:06:46 | dachary: | proppy: do you confirm you have something in http://drupal-dev.pokersource.info/z2/report/7 now ? |
| 16:07:13 | proppy: | dachary: yes I see 14 tickets |
| 16:07:23 | proppy: | 9 have priority now |
| 16:07:27 | proppy: | 5 have priority later |
| 16:09:05 | poker_log | joined #pokersource. |
Proceed to Sunday 24 January 2010
Brought to you by your friendly neighborhood Logger Bot.