brain-hacker-antilammer / pygooglevoice

Automatically exported from code.google.com/p/pygooglevoice
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Can't show contacts #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run examples/contacts.py
2. login with email/passwd

What is the expected output? What do you see instead?

error message came out:

Traceback (most recent call last):
  File "contacts.py", line 6, in <module>
    util.pprint(voice.contacts())
  File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 187, in inner

  File "/var/lib/python-support/python2.5/simplejson/__init__.py", line
271, in load
    parse_constant=parse_constant, **kw)
  File "/var/lib/python-support/python2.5/simplejson/__init__.py", line
311, in loads
    return _default_decoder.decode(s)
  File "/var/lib/python-support/python2.5/simplejson/decoder.py", line 321,
in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/var/lib/python-support/python2.5/simplejson/decoder.py", line 338,
in raw_decode
    obj, end = self._scanner.iterscan(s, **kw).next()
  File "/var/lib/python-support/python2.5/simplejson/scanner.py", line 53,
in iterscan
    rval, next_pos = action(m, context)
  File "/var/lib/python-support/python2.5/simplejson/decoder.py", line 173,
in JSONObject
    raise ValueError(errmsg("Expecting property name", s, end))
ValueError: Expecting property name: line 1 column 1 (char 1)

What version of the product are you using? On what operating system?

pygooglevoice 0.2
Ubuntu + python 2.5 + python2.5-simplejson (installed from apt source)

Am I using a different version of simplejson?

Original issue reported on code.google.com by usa.c...@gmail.com on 30 Jul 2009 at 8:13

GoogleCodeExporter commented 9 years ago
BTW, call/sms work without problem, but folders.py and voicemail.py gave error
message from 

File "/var/lib/python-support/python2.5/simplejson/decoder.py", line 173, in 
JSONObject
raise ValueError(errmsg("Expecting property name", s, end))

Original comment by usa.c...@gmail.com on 30 Jul 2009 at 8:19

GoogleCodeExporter commented 9 years ago
Just read from Change log that these features haven't been implemented. Sorry 
for my
rash questions. What I want to say is, this is a GREAT project and best lucks 
to you
guys!

Original comment by usa.c...@gmail.com on 30 Jul 2009 at 8:22

GoogleCodeExporter commented 9 years ago
In terms of this project's scope, I do not think that supporting contacts makes
sense; contacts are actually controlled by a separate google service. If you 
wish to
find out any contact info, please refer to 
http://code.google.com/apis/contacts/ and
http://code.google.com/p/gdata-python-client/. All the requests in the official
Google Voice application for contacts go to another domain in the googleverse.

Original comment by justquick on 31 Jul 2009 at 12:03