IRC Log for #openid on 2007-07-14

Timestamps are in UTC.

  1. [00:10:38] * idnar (i=mithrand@unaffiliated/idnar) has joined #openid
  2. [00:16:45] * craigoz (n=craigo@cust1608.vic01.dataco.com.au) Quit ("Leaving.")
  3. [00:18:39] * idnar_ (i=mithrand@unaffiliated/idnar) Quit (Read error: 110 (Connection timed out))
  4. [00:27:43] * peace-keeper (i=peace-ke@host143.72.248.64.conversent.net) has joined #openid
  5. [00:28:11] * XRIBot (n=XRIBot@athens.clusterspan.net) has joined #openid
  6. [00:30:28] * craigoz (n=craigo@cust1608.vic01.dataco.com.au) has joined #openid
  7. [00:31:03] * AaronF (n=AaronF@wsip-68-15-8-102.sd.sd.cox.net) Quit (Read error: 110 (Connection timed out))
  8. [00:34:43] * j3h (n=j3h@c-71-236-228-127.hsd1.or.comcast.net) Quit (Read error: 113 (No route to host))
  9. [00:36:20] * evanpro (n=evan@pdpc/supporter/silver/evanpro) Quit ("Ex-Chat")
  10. [01:06:30] * michelp (n=michelp@64.122.198.162) Quit (Read error: 110 (Connection timed out))
  11. [11:47:30] * OpenIDlogbot (n=PircBot@213.235.239.37) has joined #openid
  12. [11:47:30] * Topic is 'http://openid.net - channel logged at http://rbach.priv.at/OpenID-IRC/ || JanRain dev list: http://xrl.us/vmtm || python-openid 2.0.1 @ http://alnk.org/cookylip'
  13. [11:47:30] * Set by keturn on Sat Jun 23 18:01:22 CEST 2007
  14. [13:37:38] * Osurac (i=mikeg@adsl-230-31-171.hsv.bellsouth.net) has joined #openid
  15. [14:24:59] * peace-keeper (i=peace-ke@host143.72.248.64.conversent.net) has joined #openid
  16. [14:41:14] * captproton (n=carltann@c-71-202-242-35.hsd1.ca.comcast.net) has joined #openid
  17. [15:03:34] * evanpro (n=evan@modemcable160.136-130-66.mc.videotron.ca) has joined #openid
  18. [15:14:36] * johill (i=johannes@crystal.sipsolutions.net) Quit (Remote closed the connection)
  19. [15:21:14] * captproton (n=carltann@c-71-202-242-35.hsd1.ca.comcast.net) Quit ()
  20. [15:25:39] * captproton (n=carltann@c-71-202-242-35.hsd1.ca.comcast.net) has joined #openid
  21. [15:26:49] * captproton (n=carltann@c-71-202-242-35.hsd1.ca.comcast.net) Quit (Client Quit)
  22. [15:28:42] * AaronF (n=AaronF@ip68-101-200-165.sd.sd.cox.net) has joined #openid
  23. [15:28:42] <jibot> AaronF is here.
  24. [15:50:28] * XRIBot (n=XRIBot@athens.clusterspan.net) has joined #openid
  25. [16:03:10] * AaronF (n=AaronF@ip68-101-200-165.sd.sd.cox.net) Quit (Read error: 110 (Connection timed out))
  26. [16:05:00] * michelp (n=michelp@69-30-72-119.dq1sf.easystreet.com) Quit (Read error: 110 (Connection timed out))
  27. [16:05:04] * XRIBot (n=XRIBot@athens.clusterspan.net) Quit (Remote closed the connection)
  28. [16:07:48] * Mitsu (n=Nightmar@25.Red-83-34-103.dynamicIP.rima-tde.net) Quit ("http://niorcs.com · tecnologia lliure per a un món lliure")
  29. [16:07:59] * Mitsurugi (n=Nightmar@25.Red-83-34-103.dynamicIP.rima-tde.net) has joined #openID
  30. [16:20:26] * captproton (n=carltann@c-71-202-242-35.hsd1.ca.comcast.net) has joined #openid
  31. [16:23:25] * craigoz (n=craigo@cust1608.vic01.dataco.com.au) Quit ("Leaving.")
  32. [16:46:51] * captproton (n=carltann@c-71-202-242-35.hsd1.ca.comcast.net) Quit ()
  33. [17:00:03] * XRIBot (n=XRIBot@athens.clusterspan.net) has joined #openid
  34. [17:10:15] * jespern (n=jespern@a27132.upc-a.chello.nl) has joined #openid
  35. [17:13:02] <jespern> Hey, anybody successfully using the 2.0 python libs?
  36. [17:14:08] <keturn> I hope so!
  37. [17:15:04] <keturn> What's up?
  38. [17:15:21] <jespern> Mwah, I'm having all sorts of issues with it.
  39. [17:15:43] <jespern> Something about 'no state file found', first of all.
  40. [17:16:04] <jespern> Sometimes it works, sometimes it doesn't. It also depends on what browser.
  41. [17:17:00] <keturn> no state _file_?
  42. [17:17:48] <keturn> you're sure that's not "No session state found"?
  43. [17:17:54] <jespern> Right, that's the one.
  44. [17:17:57] <keturn> oh, okay
  45. [17:18:11] <jespern> My bad :-)
  46. [17:18:41] <keturn> that's typically about the session object you initialize Consumer with
  47. [17:19:16] <keturn> and suggests that the session you passed to it when calling Consumer.begin() did not keep the state when you called Consumer.complete()
  48. [17:19:17] * johill (i=johannes@crystal.sipsolutions.net) has joined #openid
  49. [17:19:33] <jespern> Hm, right. *looks at code*
  50. [17:23:05] <jespern> Yeah, "No session state found" again.
  51. [17:23:35] <jespern> I'm basically just passing a dict of what came back in the querystring to Consumer.complete()
  52. [17:29:50] <johill> I frequently get 'no session state found' if I accidentally do things twice
  53. [17:30:09] <johill> what are you passing as the storage?
  54. [17:30:53] <jespern> a mysql
  55. [17:31:07] <johill> hm
  56. [17:31:13] <johill> that ought to work I guess
  57. [17:31:16] <jespern> I tried that since I got the same errors with the file store
  58. [17:31:20] <johill> I wrote my own storage so had bugs with that
  59. [17:31:50] <johill> did it create entries in the database?
  60. [17:31:56] <jespern> *checks*
  61. [17:32:01] <johill> maybe hack up the message 'no session state found' to include the session name
  62. [17:32:53] <jespern> Yeah, it inserts the rows.
  63. [17:33:20] <johill> I'm thinking what the api was
  64. [17:33:26] * johill looks at his code
  65. [17:34:40] <johill> oh, wait
  66. [17:34:49] <johill> I missed the start, what language are you in?
  67. [17:35:17] <jespern> python
  68. [17:35:46] <johill> ok
  69. [17:35:48] <johill> same here
  70. [17:35:54] <jespern> Are you using rc3?
  71. [17:36:00] <johill> 2.0.1 from topic
  72. [17:36:11] <johill> anyhow
  73. [17:36:22] <johill> the store is only for associations iirc
  74. [17:36:28] <johill> not for session state
  75. [17:36:35] <johill> how are you instantiating the Consumer object?
  76. [17:36:40] <jespern> Yeah.
  77. [17:36:42] <jespern> Oh, wait.
  78. [17:36:55] <johill> so the store isn't at fault, I was confused
  79. [17:36:58] <johill> I wrote a store myself :)
  80. [17:37:04] <johill> but it doesn't matter for your error
  81. [17:37:13] <jespern> I have 'getConsumer' which does return conn, consumer.Consumer(session, store), store being the MySQLStore
  82. [17:37:19] <johill> right
  83. [17:37:23] <johill> what is 'session'?
  84. [17:37:31] <johill> must be some dict-like thing
  85. [17:37:33] <jespern> a dict in the web framework I'm using (web.py)
  86. [17:37:54] <johill> so the bug is that this object isn't reloaded properly in the second request
  87. [17:38:00] <johill> missing cookie, or whatever
  88. [17:38:15] <jespern> What's the openid.return_to in the querystring I'm getting back?
  89. [17:38:34] <johill> not sure, don't think it's important tho
  90. [17:39:01] <jespern> so you're saying the cookie isn't being set
  91. [17:39:16] <johill> well what I'm saying is that the problem is that the 'session' object you pass in there
  92. [17:39:30] <johill> doesn't have all the info in it, i.e. it isn't being stored to disk/memory between the requests
  93. [17:39:36] <johill> it needs to hold state over requests
  94. [17:39:57] <johill> one common way to do that is with a cookie, and if the cookie isn't set properly you end up getting a new session dict every time which is empty
  95. [17:40:00] <johill> hence no session state found
  96. [17:40:18] <jespern> hm, right
  97. [17:40:39] <johill> so the problem is with your web framework not actually doing the sessions right
  98. [17:40:41] <johill> I do wondedr
  99. [17:40:53] <johill> I only found summer of code hints for sessions in web.py
  100. [17:41:27] <johill> so maybe it's not working or something?
  101. [17:42:41] <jespern> Hold on.
  102. [17:43:19] <jespern> Works in Opera/Safari now.
  103. [17:43:43] <johill> hm?
  104. [17:44:08] <johill> odd, maybe some problems with the cookie
  105. [17:44:26] <jespern> hm, hm.
  106. [17:45:03] <jespern> let me test in FF
  107. [17:45:07] <johill> try a couple of prints
  108. [17:45:10] <johill> to see the session id
  109. [17:45:17] <johill> you'll probably see it changing when it shouldn't
  110. [17:45:17] <jespern> well I changed something now
  111. [17:45:21] <jespern> which seems to make it work
  112. [17:45:30] <johill> in any case, I can't really help you with that since I never used web.py
  113. [17:45:43] <johill> about as useful as I could be here is pinpoint where the problem could be I guess
  114. [17:45:51] <jespern> I was passing self.session() (a session-getter) to getConsumer
  115. [17:46:02] <jespern> I changed it to session = self.session() and then pass session on to getConsumer
  116. [17:46:11] <johill> huh
  117. [17:46:11] <jespern> and now for some darn reason it doesn't barf on me anymore.
  118. [17:46:41] <johill> odd, maybe the session-getter inadvertedly made a copy of the object?
  119. [17:46:55] <jespern> That's what I'm thinking, even though it really shouldn't differ
  120. [17:46:59] <johill> and then you ended up using a few copies and the wrong one was saved
  121. [17:47:04] <jespern> Yeah.
  122. [17:47:15] <jespern> Yeah, I think that's most likely.
  123. [17:47:31] <jespern> Oh well.
  124. [17:47:34] <jespern> Thanks a lot :)
  125. [17:47:39] <johill> can't tell without more context but I'm not sure I care especially if it works
  126. [17:47:43] <johill> :)
  127. [17:47:45] <johill> np
  128. [17:48:02] <johill> gotta get going anyhow. heh
  129. [18:55:41] <keturn> oh, good. glad you got somewhere with that, I got distracted with breakfast.
  130. [19:16:48] * jwang (n=John@m010f36d0.tmodns.net) has joined #openid
  131. [19:25:56] * j3h (n=j3h@c-24-21-130-53.hsd1.mn.comcast.net) Quit (Read error: 110 (Connection timed out))
  132. [19:31:13] * captproton (n=carltann@m810f36d0.tmodns.net) has joined #openid
  133. [19:37:21] * captproton (n=carltann@m810f36d0.tmodns.net) Quit ()
  134. [19:43:11] * j3h (n=j3h@c-24-21-130-53.hsd1.or.comcast.net) has joined #openid
  135. [20:05:31] * j3h (n=j3h@c-24-21-130-53.hsd1.or.comcast.net) Quit (Read error: 110 (Connection timed out))
  136. [20:13:50] * j3h (n=j3h@c-24-21-130-53.hsd1.mn.comcast.net) has joined #openid
  137. [20:14:18] * jwang (n=John@m010f36d0.tmodns.net) Quit ("Leaving")
  138. [20:15:38] * AaronF (n=AaronF@ip68-101-200-165.sd.sd.cox.net) has joined #openid
  139. [20:15:38] <jibot> AaronF is here.
  140. [20:35:26] * illustir (n=alper@c51448e84.cable.wanadoo.nl) has joined #openid
  141. [20:57:38] * XRIBot (n=XRIBot@athens.clusterspan.net) Quit (Remote closed the connection)
  142. [20:59:52] * peace-keeper (i=peace-ke@host143.72.248.64.conversent.net) Quit (Connection timed out)
  143. [21:45:04] * AaronF (n=AaronF@ip68-101-200-165.sd.sd.cox.net) Quit (Read error: 110 (Connection timed out))
  144. [22:34:04] * AaronF (n=AaronF@ip68-101-200-165.sd.sd.cox.net) has joined #openid
  145. [22:34:04] <jibot> AaronF is here.
  146. [22:47:06] * peace-keeper (i=peace-ke@host143.72.248.64.conversent.net) has joined #openid
  147. [22:59:44] * vlad02 (n=vlad@216.75.63.135) Quit (Remote closed the connection)
  148. [22:59:48] * vlad02 (n=vlad@216.75.63.135) has joined #openid
  149. [23:21:02] * vlad02_ (n=vlad@216.75.63.135) has joined #openid
  150. [23:21:50] * illustir (n=alper@c51448e84.cable.wanadoo.nl) Quit ()
  151. [23:29:43] * vlad02 (n=vlad@216.75.63.135) Quit (Read error: 110 (Connection timed out))
  152. [23:40:36] * AaronF (n=AaronF@ip68-101-200-165.sd.sd.cox.net) Quit (Read error: 110 (Connection timed out))

These logs were automatically created by OpenIDlogbot on chat.freenode.net using a modified version of the Java IRC LogBot.