Syntax error on Hello worl

12 views
Skip to first unread message

mohamed imran

unread,
Oct 29, 2012, 9:14:06 AM10/29/12
to humanio...@googlegroups.com
Hi,

When I tried to run the Hello world I got Synatx error . Dont know why ???

Lawrence Kesteloot

unread,
Oct 29, 2012, 12:09:16 PM10/29/12
to humanio...@googlegroups.com
Can you copy-and-paste the error message here?

Lawrence


On Mon, Oct 29, 2012 at 6:14 AM, mohamed imran <instr...@gmail.com> wrote:
Hi,

When I tried to run the Hello world I got Synatx error . Dont know why ???

--
You received this message because you are subscribed to the Google Groups "humanio-discuss" group.
To post to this group, send email to humanio...@googlegroups.com.
To unsubscribe from this group, send email to humanio-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/humanio-discuss/-/sdCHVwAqrQ0J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

mohamed imran

unread,
Oct 29, 2012, 6:43:01 PM10/29/12
to humanio...@googlegroups.com
the code for Login auth:
 
This file is imported by various sample apps. It contains your developer credentials
# that you got when you visited http://human.io/developer.

developer_id = J_zQLrjmTWiZu_K_AVvftw
secret_key = mHxzW7cFQpaQOqm1RSKRIQ

if len(developer_id) == 12:
    import sys
    print "You must specify your developer information in " + __file__
    sys.exit(1)
 

when I run this code got error so when I use this file for hello world got error too!
--
Regards,

Mohamed Imran N
India

Lawrence Kesteloot

unread,
Oct 29, 2012, 6:50:48 PM10/29/12
to humanio...@googlegroups.com
Leave the double quotes around the id and key.

Lawrence

mohamed imran

unread,
Oct 29, 2012, 6:56:50 PM10/29/12
to humanio...@googlegroups.com
But there is no double quotes? Since its an assignment stmt do we need double quotes??

Lawrence Kesteloot

unread,
Oct 29, 2012, 7:00:27 PM10/29/12
to humanio...@googlegroups.com
Yes, it's a string. It should look like this:

developer_id = "J_zQLrjmTWiZu_K_AVvftw"
secret_key = "mHxzW7cFQpaQOqm1RSKRIQ"

Lawrence

mohamed imran

unread,
Oct 29, 2012, 7:06:01 PM10/29/12
to humanio...@googlegroups.com
Great ! thanks for your help :) code is working 
Reply all
Reply to author
Forward
0 new messages