Re: [web2py] Re: Janrain fails (yes I did RTFM!) — too many values to unpack

2012-08-12 Thread Alec Taylor
Thanks, got it to work (well; beat that error anyway).

Forgot to run a git add on the relevant files.

On Sun, Aug 12, 2012 at 4:27 AM, Anthony abasta...@gmail.com wrote:
 According to the ticket, the problem is with your janrain.key file. The code
 does a split on : and expects two values -- if it's complaining about too
 many values to unpack, you must have more than one colon in the string in
 that file. The file contents should look like:

 [domain]:[API key]

 Note, the domain is the name that comes before rpxnow.com (e.g., if your
 application domain is mysite.rpxnow.com, then the domain in the file should
 simply be mysite).

 Anthony


 On Saturday, August 11, 2012 1:27:06 PM UTC-4, Alec Taylor wrote:

 Unfortunately I cannot get Janrain to work.

 (After Facebook and LinkedIn failed the regular way, I though to try with
 Janrain)

 Here is my ticket: http://fiddle.jshell.net/AlecTaylor/xeLg6/show/

 Documentation: http://web2py.com/books/default/chapter/29/9

 The problem is on the `request` variable:

 auth.settings.login_form = RPXAccount(request,
...
)


 Gives: type 'exceptions.ValueError' too many values to unpack

 How do I get Janrain working?

 Thanks for all suggestions,

 Alec Taylor

 --




-- 





[web2py] Re: Janrain fails (yes I did RTFM!) — too many values to unpack

2012-08-11 Thread Anthony
According to the ticket, the problem is with your janrain.key file. The 
code does a split on : and expects two values -- if it's complaining 
about too many values to unpack, you must have more than one colon in the 
string in that file. The file contents should look like:

[domain]:[API key]

Note, the domain is the name that comes before rpxnow.com (e.g., if your 
application domain is mysite.rpxnow.com, then the domain in the file should 
simply be mysite).

Anthony

On Saturday, August 11, 2012 1:27:06 PM UTC-4, Alec Taylor wrote:

 Unfortunately I cannot get Janrain to work.

 (After Facebook and LinkedIn failed the regular way, I though to try with 
 Janrain)

 Here is my ticket: http://fiddle.jshell.net/AlecTaylor/xeLg6/show/

 Documentation: http://web2py.com/books/default/chapter/29/9

 The problem is on the `request` variable:

 auth.settings.login_form = RPXAccount(request,
...
)


 Gives: *type 'exceptions.ValueError' too many values to unpack*

 How do I get Janrain working?

 Thanks for all suggestions,

 Alec Taylor


--