jianlinwei / pygooglevoice Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/pygooglevoice
License: BSD 3-Clause "New" or "Revised" License
Automatically exported from code.google.com/p/pygooglevoice
License: BSD 3-Clause "New" or "Revised" License
What steps will reproduce the problem?
1. Install ddwrt v24 preSP2 on router asus 500gp v2
2. Install optware packages with asterisk
3. In dialplan system call to gvoice with all the correct parameters runs with
no erros, but the call() functions is never called.
What is the expected output? What do you see instead?
calling via a dialplan
exten => _1XXXX.,n,System(/opt/local/bin/gvoice -e ${ACCTNAME} -p ${ACCTPASS}
call ${EXTEN:1} ${RINGBACK} &)
The call is never made from google, in fact from tracing the pygooglevoice
code, the call function is never called. Running gvoice from command line
works fine, but running it as part of dialplan does not make a call.
execution stops on line in voice.py phonetype=config.phoneType
To fix this, I changed line in conf.py from phoneType = property(phoneType) to
phoneType = 2
What version of the product are you using? On what operating system?
lastest version 0.5 running on ddwrt linux on asus router 500gp v2
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 21 Oct 2010 at 6:27
pygooglevoice 0.5, under PBX in a Flash.
From the command line, I can make a gvoice call with the line:
gvoice -b -e [email protected] -p ******** call 8471234567 8472345678
Notice there is no phone type.
However, in asterisk, the following line fails:
exten => _X.,n,System(gvoice -b -e ${ACCTNAME} -p ${ACCTPASS} call
${EXTEN} ${RINGBACK})
but if I change the above line to include(PHONETYPED=1):
exten => _Z.,n,System(gvoice -b -e ${ACCTNAME} -p ${ACCTPASS} call
${EXTEN} ${RINGBACK} ${PHONETYPED})
I would expect them to work the same, and they don't. Why? When I was
reading through the documentation, I saw the default's as "none".
However, if you read the fine print, "If you pass in your
forwardingNumber, please also pass the correct phoneType". Why does it
work from the command line, but not passing the parameters to the System?
Last question, What if you don't know the PhoheType?
Thanks for the great work!
Original issue reported on code.google.com by [email protected]
on 9 Mar 2010 at 1:18
What steps will reproduce the problem?
1. Create a logged-in Voice() instance
2. folder = voice.recieved()
3. print folder.messages
What is the expected output? What do you see instead?
Expected a list of messages from the received folder.
Instead, the list is zero-length.
What version of the product are you using? On what operating system?
pygooglevoice 0.4
Please provide any additional information below.
The "recieved" method/folder is incorrectly named. Should be "received". If
this was originally to work around a typo in Google Voice itself, they've
apparently fixed it now.
Changing every instance of "recieved" to "received" in settings.py fixed
this for me.
Attached is a (trivial) patch to fix this.
Original issue reported on code.google.com by [email protected]
on 26 Nov 2009 at 3:32
Attachments:
What steps will reproduce the problem?
1.run gvoice from command line
2.
3.
What is the expected output? What do you see instead?
Traceback (most recent call last):
File "/usr/bin/gvoice", line 125, in <module>
getattr(voice,action)(*args)
File "/usr/lib/python2.6/site-packages/googlevoice/voice.py", line 92, in
call
'remember': '1'
File "/usr/lib/python2.6/site-packages/googlevoice/voice.py", line 198,
in __validate_special_page
load_and_validate(self.__do_special_page(page, data))
File "/usr/lib/python2.6/site-packages/googlevoice/voice.py", line 211,
in __do_special_page
return self.__do_page(page, data, headers)
File "/usr/lib/python2.6/site-packages/googlevoice/voice.py", line 191,
in __do_page
return urlopen(Request(getattr(settings, page), data, headers))
File "/usr/lib64/python2.6/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.6/urllib2.py", line 389, in open
response = meth(req, response)
File "/usr/lib64/python2.6/urllib2.py", line 502, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.6/urllib2.py", line 427, in error
return self._call_chain(*args)
File "/usr/lib64/python2.6/urllib2.py", line 361, in _call_chain
result = func(*args)
File "/usr/lib64/python2.6/urllib2.py", line 510, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 500: Internal Server Error
What version of the product are you using? On what operating system?
0.4 on Fedora 12
Please provide any additional information below.
I usually run gvoice from asterisk. And it has worked great until this
afternoon.
Has gv changed the API?
I can login and place the call from the gv web interface.
Original issue reported on code.google.com by [email protected]
on 17 Nov 2009 at 11:39
What steps will reproduce the problem?
$gvoice -e [email protected] -p mypass call 1987XXXXXXX 1987XXXXXXX
Traceback (most recent call last):
File "/usr/local/bin/gvoice", line 129, in <module>
getattr(voice,action)(*args)
File "build/bdist.freebsd-7.2-STABLE-amd64/egg/googlevoice/voice.py", line 86, in call
File "build/bdist.freebsd-7.2-STABLE-amd64/egg/googlevoice/voice.py", line 192, in
__validate_special_page
File "build/bdist.freebsd-7.2-STABLE-amd64/egg/googlevoice/voice.py", line 205, in
__do_special_page
File "build/bdist.freebsd-7.2-STABLE-amd64/egg/googlevoice/voice.py", line 185, in
__do_page
File "/usr/local/lib/python2.6/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/usr/local/lib/python2.6/urllib2.py", line 395, in open
response = meth(req, response)
File "/usr/local/lib/python2.6/urllib2.py", line 508, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/lib/python2.6/urllib2.py", line 433, in error
return self._call_chain(*args)
File "/usr/local/lib/python2.6/urllib2.py", line 367, in _call_chain
result = func(*args)
File "/usr/local/lib/python2.6/urllib2.py", line 516, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 500: Internal Server Error
Logging out of voice...
$
What is the expected output? What do you see instead?
Place a call
What version of the product are you using? On what operating system?
version: pygooglevoice 0.5
OS: FreeBSD 7.2
Please provide any additional information below.
$python -V
Python 2.6.4
Original issue reported on code.google.com by [email protected]
on 8 Dec 2009 at 10:35
What steps will reproduce the problem?
1. Install under Python 2.6
2. Run the "gvoice" script
3. Watch the fireworks (traceback)
The following is the traceback produced:
regex = bytes("('_rnr_se':) '(.+)'", 'utf8')
TypeError: str() takes at most 1 argument (2 given)
This works fine on Python 2.5 however.
Original issue reported on code.google.com by jacob.feisley
on 29 Jul 2009 at 10:26
What steps will reproduce the problem?
1. Run gvoice at command prompt
2. Enter in google voice username
3. Enter in google voice password
What is the expected output? What do you see instead?
Expected the login to be successful. Login failed message received.
gvoice was working fine up until about 2 or 3 days ago.
What version of the product are you using? On what operating system?
used with current PBX in a flash Linux OS distribution.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 27 Sep 2009 at 7:26
I have two Asterisk PBxIAF systems under Centos 5.3 running, one system
has easy_install, and one does not. Here is how I applied the update:
cd /root
rm -r pygooglevoice
hg clone https://pygooglevoice.googlecode.com/hg/ pygooglevoice
cd pygooglevoice
rm /usr/bin/gvoice
python setup.py install
this causes error:
Traceback (most recent call last):
File "/usr/bin/gvoice", line 5, in ?
from googlevoice.voice import Voice
ImportError: No module named voice
Your response was: "This has been fixed and should not be a problem. If
you are using the hg clone, you must delete the build directory before
reinstalling (which I did, still same error). Ideally, just get it from
easy install (sudo easy_install pygooglevoice). Three questions that will
help me understand, and probably others:
First, should this get version 0.3 or 0.4? It always seems to get 0.3
when I run it.
Second, "easy_install" is on one of my sytems, but not the other. How do
I install just "easy_install"?
Third, if I am logged in as root, and I am in the /root directory, where
do I run "easy_install -U pygooglevoice" from? Will it install version
0.4? Thanks for your help.
Original issue reported on code.google.com by [email protected]
on 26 Oct 2009 at 5:39
What steps will reproduce the problem?
1. Create a folder instance from Voice.all()
2. Check folder.totalsize > 0
3. Check len(folder.messages)
What is the expected output? What do you see instead?
len(folder.messages) should equal folder.totalsize, instead it's 0.
What version of the product are you using? On what operating system?
0.4
Please provide any additional information below.
I found another typo ;-)
settings.py, line 23: XML_ALL = XML_RECENT + 'add/' should be 'all/'
Fixing this goes a long way towards getting my application to work how I
want, but the folder will still never contain more than 10 messages, due to
another issue I'll file separately.
Original issue reported on code.google.com by [email protected]
on 29 Nov 2009 at 5:07
After install, interactive python works fine, from command line:
gvoice -e [email protected]
gives the following output:
Traceback (most recent call last):
File "/usr/bin/gvoice", line 5, in <module>
pkg_resources.run_script('pygooglevoice==0.3', 'gvoice')
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 448, in
run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1172, in
run_script
script_code = compile(script_text,script_filename,'exec')
File
"/usr/lib/python2.6/site-packages/pygooglevoice-0.3-py2.6.egg/EGG-INFO/scripts/g
voice",
line 113
SyntaxError: invalid syntax
This is whatever was installed via easy_install and I'm running on Gentoo.
Original issue reported on code.google.com by [email protected]
on 22 Aug 2009 at 9:40
gvoice -e [email protected] -p xxxxxx call 18xxxxxx 17xxxxxxxx
DEBUG:PyGoogleVoice:/accounts/ServiceLoginAuth?service=grandcentral? -
{'User-Agent': 'PyGoogleVoice/0.5'}
DEBUG:PyGoogleVoice:/accounts/ServiceLoginAuth?service=grandcentral?Passwd=xxxxx
xx&GALX=zGV2pEqu6gE&Email=xxxxxxxxgmail.com
- {'User-Agent': 'PyGoogleVoice/0.5'}
DEBUG:PyGoogleVoice:/voice/call/connect/?remember=1&forwardingNumber=xxxxxxx&out
goingNumber=1xxxxxxxx&subscriberNumber=undefined&_rnr_se=I9vynB%2B3AZeAAPeToeHGu
HtslfY%3D&phoneType=2
- {'User-Agent': 'PyGoogleVoice/0.5'}
Logging out of voice...
DEBUG:PyGoogleVoice:/voice/account/signout? - {'Content-type':
'application/x-www-form-urlencoded;charset=utf-8', 'User-Agent':
'PyGoogleVoice/0.5'}
I run from command line
gvoice -e [email protected] -p xxxxx call 18xxxxxx 17xxxxx
my phone don't ring.
OS :Centos 5.2
Python 2.6.4
Original issue reported on code.google.com by [email protected]
on 10 Dec 2009 at 10:40
File "/usr/bin/gvoice", line 5, in ?
pkg_resources.run_script('pygooglevoice==0.5', 'gvoice')
File
"/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py",
line 489, in run_script
self.require(requires)[0].run_script(script_name, ns)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py",
line 1214, in run_script
exec script_code in namespace, namespace
File "/usr/bin/gvoice", line 97, in ?
File "build/bdist.linux-x86_64/egg/googlevoice/voice.py", line 101, in call
File "build/bdist.linux-x86_64/egg/googlevoice/voice.py", line 210, in
__validate_special_page
File "build/bdist.linux-x86_64/egg/googlevoice/util.py", line 65, in
load_and_validate
File "build/bdist.linux-x86_64/egg/googlevoice/util.py", line 59, in
validate_response
googlevoice.util.ValidationError: There was a problem with GV: {'data':
{'code': 20}, 'ok': False}
Logging out of voice...
Original issue reported on code.google.com by [email protected]
on 10 Dec 2009 at 9:58
What steps will reproduce the problem?
1. locate the id to a downloadable item (voicemail or recorded call)
2. call download on an instantiated Google Voice object, passing it the id
What is the expected output? What do you see instead?
I expect a file to be downloaded. Instead I get a DownloadError
What version of the product are you using? On what operating system?
hg tip, Windows 7
Please provide any additional information below.
I'm not sure if something has been changed on google's side or what, but as of
approximately three days ago download consistently raises an http 500 error,
well, specifically a DownloadError which I have determined is being caused by
an http 500.
Original issue reported on code.google.com by [email protected]
on 4 Sep 2010 at 9:47
What steps will reproduce the problem?
1.
2.gvoice -e [email protected] -p ???? call ?????? ??????
3.
What is the expected output? What do you see instead?
Traceback (most recent call last):
File "/usr/bin/gvoice", line 125, in ?
getattr(voice,action)(*args)
File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 82, in
call
self.__validate_special_page('call', {
File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 192,
in __validate_special_page
load_and_validate(self.__do_special_page(page, data))
File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 205,
in __do_special_page
return self.__do_page(page, data, headers)
File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 185,
in __do_page
return urlopen(Request(getattr(settings, page), data, headers))
File "/usr/lib/python2.4/urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "/usr/lib/python2.4/urllib2.py", line 364, in open
response = meth(req, response)
File "/usr/lib/python2.4/urllib2.py", line 471, in http_response
response = self.parent.error(
File "/usr/lib/python2.4/urllib2.py", line 402, in error
return self._call_chain(*args)
File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/usr/lib/python2.4/urllib2.py", line 480, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 500: Internal Server Error
Logging out of voice...
[tnk.dnsalias.com ~]# /usr/bin/gvoice -e [email protected] -p 3apa3a23
call 6086160309 4156390501
Traceback (most recent call last):
File "/usr/bin/gvoice", line 125, in ?
getattr(voice,action)(*args)
File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 82, in
call
self.__validate_special_page('call', {
File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 192,
in __validate_special_page
load_and_validate(self.__do_special_page(page, data))
File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 205,
in __do_special_page
return self.__do_page(page, data, headers)
File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 185,
in __do_page
return urlopen(Request(getattr(settings, page), data, headers))
File "/usr/lib/python2.4/urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "/usr/lib/python2.4/urllib2.py", line 364, in open
response = meth(req, response)
File "/usr/lib/python2.4/urllib2.py", line 471, in http_response
response = self.parent.error(
File "/usr/lib/python2.4/urllib2.py", line 402, in error
return self._call_chain(*args)
File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/usr/lib/python2.4/urllib2.py", line 480, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 500: Internal Server Error
Logging out of voice...
What version of the product are you using? On what operating system?
pygooglevoice from mercurial current as of 09/30/09 on Trixbox v. 2.8.0.1
Please provide any additional information below.
seems to be the same issue as reported by seandarcy2 earlier today
New issue with Google API?
Original issue reported on code.google.com by [email protected]
on 18 Nov 2009 at 12:21
What steps will reproduce the problem?
1. install v0.4
2. run idle
3. type: import googlevoice
What is the expected output? What do you see instead?
I expected a successful import of googlevoice. but i get this instead:
IDLE 2.6.2
>>> import googlevoice
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import googlevoice
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-
packages/googlevoice/__init__.py", line 23, in <module>
from voice import Voice, Phone, Message, Folder
ImportError: No module named voice
What version of the product are you using? On what operating system?
i'm using v0.4 on python 2.6 on osx 10.6
Please provide any additional information below.
I have this problem if I install over v0.3 without removing its files and I
also have the problem if I
remove what I think are all the v0.3 files. If I remove v0.4 and reinstall
v0.3, I can import
googlevoice (but of course, it's v0.3).
Those files are:
/Library/Frameworks/Python.framework/Versions/2.6/bin/gvoice
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-
packages/pygooglevoice-0.4-py2.6.egg-info
and the folder:
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/go
oglevoice
Also, I notice that __init__.py is quite different in v0.4 vs v0.3
Also, thinking this could be related to issue 9
(http://code.google.com/p/pygooglevoice/issues/detail?id=9&can=1) I tried
following comment
1, but got the same error since comment 1 also tries to import googlevoice.
Original issue reported on code.google.com by [email protected]
on 11 Oct 2009 at 9:48
What steps will reproduce the problem?
1. Get an instance of a folder containing more than 10 messages
2. Compare folder.totalsize with len(folder.messages)
What is the expected output? What do you see instead?
len(folder.messages) should equal folder.totalsize.
Instead len(folder.messages) will never be more than 10.
What version of the product are you using? On what operating system?
0.4
Please provide any additional information below.
Google Voice only seems to return 10 messages on each of the XML pages,
with a pagination variable used to return the next 10, etc.
This is mentioned briefly at
http://posttopic.com/topic/google-voice-add-on-development
For the 'all' folder, for example, it looks like you would need to grab &
parse each page something like this:
https://www.google.com/voice/inbox/recent/all/
https://www.google.com/voice/inbox/recent/all/?page=p2
https://www.google.com/voice/inbox/recent/all/?page=p3
etc, etc.
This is one that I'm not entirely certain how to fix myself, so I'm just
reporting it here. I will perhaps poke at it a bit and submit a patch if I
come up with anything.
Original issue reported on code.google.com by [email protected]
on 29 Nov 2009 at 5:15
What steps will reproduce the problem?
1. add or remove a forwarding phone on a working google voice account
2.
3.
What is the expected output? What do you see instead?
pygooglevoice should continue working. It stopped working after making
changes to one of my google voice accounts. It still works for another
voice accounts that I have not change.
What version of the product are you using? On what operating system?
pygooglevoice 0.5 on Ubuntu 9.10, FreePBX 2.5, and Asterisk 1.6.
Please provide any additional information below.
I moved a phone from one account to another and immediately pygooglevoice
could no longer call out from either account. I can log in on all my
accounts, but can only call out on the ones I have not changed. This
started on Dec 13 2009.
Original issue reported on code.google.com by [email protected]
on 30 Dec 2009 at 8:03
I installed the newest version of pygooglevoice on my PBX in a Flash
system, and ran the asterisk-gvoice-setup script.
I made sure that there was nothing in the extensions_custom.conf file.
However, now when I call out, after the "Please wait while I connect your
call" announcement, the system announces the Parking Lot Magic Number (in
my case, 75).
Is there any way to get rid of it?
The section of my extensions_custom.conf file looks like this (with the
values replaced):
[custom-gv]
exten => _X.,1,Wait(1)
exten => _X.,n,Set([email protected])
exten => _X.,n,Set(ACCTPASS=mypass)
exten => _X.,n,Set(RINGBACK=xxxxxxxxxxx)
exten => _X.,n,Set(CALLPARK=75)
exten => _X.,n,Playback(pls-wait-connect-call)
exten => _X.,n,System(gvoice -b -e \${ACCTNAME} -p \${ACCTPASS} call
\${EXTEN} \${RINGBACK})
exten => _X.,n,Set(PARKINGEXTEN=\${CALLPARK})
exten => _X.,n,Park()
[custom-park]
exten => s,1,Wait(4)
exten => s,2,Set(GVNUM=xxxxxxxxxx)
exten => s,3,Set(CALLPARK=75)
exten => s,4,NoOp(**CALLERID: \${CALLERID(number)})
exten => s,5,GotoIf($["${CALLERID(number)}"="${GVNUM}"]?6:7)
exten => s,6,ParkedCall(\${CALLPARK})
exten => s,7,Goto(from-trunk,gv-incoming,1)
Thanks a lot!
Original issue reported on code.google.com by [email protected]
on 13 Dec 2009 at 5:30
What steps will reproduce the problem?
1. install pygooglevoice .5
2. add this line to /etc/asterisk/extension_custom.conf after the line that
calls gvoice
exten => _X.,n,Verbose(0,$[SYSTEMSTATUS_is_${SYSTEMSTATUS}])
3.kill asterisk and run in verbose mode to screen
/usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c
What is the expected output? What do you see instead?
gvoice should take a few seconds and then perform the call setup steps,
however gvoice ends instantly and I see the below error:
Traceback (most recent call last):
File "/usr/bin/gvoice", line 5, in <module>
pkg_resources.run_script('pygooglevoice==0.5', 'gvoice')
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 448, in
run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1173, in
run_script
exec script_code in namespace, namespace
File
"/usr/lib/python2.6/site-packages/pygooglevoice-0.5-py2.6.egg/EGG-INFO/scripts/g
voice",
line 5, in <module>
pkg_resources.run_script('pygooglevoice==0.5', 'gvoice')
File "build/bdist.linux-x86_64/egg/googlevoice/__init__.py", line 17, in
<module>
File "build/bdist.linux-x86_64/egg/googlevoice/voice.py", line 1, in <module>
File "build/bdist.linux-x86_64/egg/googlevoice/conf.py", line 49, in <module>
File "build/bdist.linux-x86_64/egg/googlevoice/conf.py", line 15, in __init__
IOError: [Errno 13] Permission denied: '/root/.gvoice'
-- Executing [6517467302@gv-outbound:8]
Verbose("Local/6517467302@gv-outbound-9a94;2",
"0,SYSTEMSTATUS_is_APPERROR") in new stack
SYSTEMSTATUS_is_APPERROR
What version of the product are you using? On what operating system?
asterisk 1.6.1.10
freepbx 2.6
fedora 11
Please provide any additional information below.
I have verified there is a .gvoice file with the needed items in
/var/lib/asterisk However, it wants to run gvoice as root apparently, even
though asterisk is running as the user asterisk.
asterisk 8681 4.0 1.1 1005212 16948 pts/1 Sl 15:36 0:00
/usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c
asterisk 8731 0.0 0.0 91832 540 ? S 15:36 0:00 bash -c cd
/var/www/html/panel && /var/www/html/panel/safe_opserver &
asterisk 8732 0.0 0.0 91828 1180 ? S 15:36 0:00 sh
/var/www/html/panel/safe_opserver
asterisk 8734 6.8 0.9 128748 14736 ? S 15:36 0:00
/usr/bin/perl /var/www/html/panel/op_server.pl
Original issue reported on code.google.com by [email protected]
on 7 Dec 2009 at 9:36
What steps will reproduce the problem?
1. Asterisk
2. command line
What is the expected output? What do you see instead?
completed call
What version of the product are you using? On what operating system?
PyGoogleVoice: Copyright 2009, Justin Quick and Joe McCall Version: 0.4
Centos 5.2
Asterisk 1.4.21
Python 2.4.3 (#1, Jul 27 2009, 17:57:39)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
Please provide any additional information below.
I don't know if Googlevoice changed login interfaces again, but I can make
a call from my webpage, so I know that my account information is ok.
However when I call from asterisk or the command line I get an error on
line 5. Here is the setup from that fails, with the error:
gvoice -e login -p password call 8471234567 6301234567
Traceback (most recent call last):
File "/usr/bin/gvoice", line 5, in ?
from googlevoice.voice import Voice
ImportError: No module named voice
Here is how I applied the update:
cd /root
rm -r pygooglevoice
hg clone https://pygooglevoice.googlecode.com/hg/ pygooglevoice
cd pygooglevoice
rm /usr/bin/gvoice
python setup.py install
I check the permissions of every file in pygooglevoice, and they all s
Original issue reported on code.google.com by [email protected]
on 17 Oct 2009 at 2:03
simple question for a noob:
Will pygooglevoice allow scheduling of SMS text messages?
Original issue reported on code.google.com by [email protected]
on 14 Oct 2010 at 9:03
What steps will reproduce the problem?
1. /opt/local/bin/gvoice
2. Email address:
3. Password:
What is the expected output? What do you see instead?
Login failed. Retry?[Y/n]
What version of the product are you using? On what operating system?
pygooglevoice-0.5.tar.gz
Please provide any additional information below.
Is there a new gvoice patch?
Original issue reported on code.google.com by [email protected]
on 31 Jan 2010 at 10:56
I get an error when trying to call. Seems related to some existing issues. Logs
in fine but gives an error on call. I think it has to do with a forwarding
number bug?
Here is the error from py:
"Traceback (most recent call last):
File "C:\Users\User\Downloads\pygooglevoice-0.5-extras\examples\call.py", line 10, in <module>
voice.call(outgoingNumber, forwardingNumber)
File "C:\Python26\lib\site-packages\googlevoice\voice.py", line 106, in call
'remember': '1'
File "C:\Python26\lib\site-packages\googlevoice\voice.py", line 210, in __validate_special_page
load_and_validate(self.__do_special_page(page, data))
File "C:\Python26\lib\site-packages\googlevoice\util.py", line 65, in load_and_validate
validate_response(loads(response.read()))
File "C:\Python26\lib\site-packages\googlevoice\util.py", line 59, in validate_response
raise ValidationError('There was a problem with GV: %s' % response)
ValidationError: There was a problem with GV: {u'data': {u'code': 20}, u'ok':
False}"
Thanks for any help!
Original issue reported on code.google.com by [email protected]
on 14 Nov 2010 at 8:18
What steps will reproduce the problem?
1. use the helloworld.py script example from google app engine
2. include the pygooglevoice in the app directory
3. add the following to helloworld.py
from googlevoice import Voice
voice = Voice()
What is the expected output? What do you see instead?
I expect this to not return an error. Instead I see: (see attached file)
What version of the product are you using? On what operating system?
version 0.5, google app engine sdk 1.3.2, osx 10.6
Please provide any additional information below.
Not sure if you're interested in the use pygooglevoice with the app engine.
I'd love to get it
going, and would appreciate any insight you've got!
Original issue reported on code.google.com by [email protected]
on 29 Mar 2010 at 9:26
Attachments:
Is there a plan to port this library to python 3.X ?
What version of the product are you using? On what operating system?
python 3.2 on W7
Original issue reported on code.google.com by [email protected]
on 18 Dec 2010 at 5:08
What steps will reproduce the problem?
1. gvoice
2. type username password
3. i.e. call NUBER MYGOOGLEV CODE=7
Traceback (most recent call last):
File "/usr/bin/gvoice", line 5, in ?
pkg_resources.run_script('pygooglevoice==0.5', 'gvoice')
File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 489, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 1214, in run_script
exec script_code in namespace, namespace
File "/usr/bin/gvoice", line 129, in ?
File "build/bdist.linux-i686/egg/googlevoice/voice.py", line 140, in send_sms
File "build/bdist.linux-i686/egg/googlevoice/voice.py", line 210, in __validate_special_page
File "build/bdist.linux-i686/egg/googlevoice/util.py", line 65, in load_and_validate
File "build/bdist.linux-i686/egg/googlevoice/util.py", line 59, in validate_response
googlevoice.util.ValidationError: There was a problem with GV: {u'data':
{u'code': 67}, u'ok': False}
Original issue reported on code.google.com by chitopunk
on 13 Sep 2010 at 8:18
What steps will reproduce the problem?
1. probably the email username has a DOT (.). e.g. [email protected]
2. command the system launched is"gvoice -b -e \[email protected] -p
\mypassword call \phonenumber \callbacknumber"
3.
What is the expected output? What do you see instead?
Mar 6 18:08:50] ERROR[3317]: app.c:1901 ast_get_encoded_char: Illegal
character 'i' in hexadecimal string
Usage: gvoice [options] commands
Where commands are
login (li) - log into the voice service
logout (lo) - log out of the service and make sure session is deleted
help
Voice Commands
call (c) - call an outgoing number from a forwarding number
cancel (cc) - cancel a particular call
download (d) - download mp3 message given id hash
send_sms (s) - send sms messages
Folder Views
search (se)
inbox (i)
voicemail (v)
starred (st)
all (a)
spam (sp)
trash (t)
voicemail (v)
sms (sm)
recorded (r)
placed (p)
recieved (re)
missed (m)
gvoice: error: -p option requires an argument
What version of the product are you using? On what operating system?
2.5 - the latest one on DD WRT K26
Please provide any additional information below.
I tried another email account without a DOT in the user name, it works
fine. But I really don't know whether this is the main cause or not.
Original issue reported on code.google.com by [email protected]
on 6 Mar 2010 at 11:15
What steps will reproduce the problem?
1. Google voice service URL is down, or unreachable
2. run gvoice
3. it sits there forever
What is the expected output? What do you see instead?
Nothing, it hangs
What version of the product are you using? On what operating system?
0.5 on Linux with asterisk
Please provide any additional information below.
So Google Voice for some reason wasn't working today, and gvoice just hung and
set there at the voice.login() function forever. I think I found the solution,
it's because by default the urllib2 doesn't have the socket timeout set so it's
indefinite. To fix this, I think the simple solution is to set the timeout for
the socket connections. Saw this solution on this site
http://www.voidspace.org.uk/python/articles/urllib2.shtml. I basically added
the following to the top of gvoice, but in voice.py it may also be added to
make it insid
---
import socket
timeout = 10
socket.setdefaulttimeout(timeout)
---
Thanks,
Chris
Original issue reported on code.google.com by [email protected]
on 7 Aug 2010 at 9:43
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 [email protected]
on 30 Jul 2009 at 8:13
What steps will reproduce the problem?
1. Download pygooglevoice via mercurial
2. Install "sudo python setup.ph install"
3. Run "gvoice"
What is the expected output? What do you see instead?
Prompt for userid and password.
Seen:
us1:~/downloads/sources/pygooglevoice >gvoice
Traceback (most recent call last):
File "/usr/local/bin/gvoice", line 5, in <module>
from googlevoice.voice import Voice
ImportError: No module named voice
What version of the product are you using? On what operating system?
Latest as on Oct05-2009
With the earlier version (0.3), I have to following issue
us1:~/downloads/sources/pygooglevoice-0.3 >gvoice
Email address: [email protected]
Password:
Login failed. Retry?[Y/n] n
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 6 Oct 2009 at 5:59
When I make a call using GV using my PBX in a Flash system, if I hang up on
my end, and I especially see it when I hang up before the call goes through,
it continues the call anyway.
Is there any way to get it to hang GV up when I hang up a phone?
Thanks.
Original issue reported on code.google.com by [email protected]
on 14 Dec 2009 at 2:04
What steps will reproduce the problem?
1.get from mercurial
2.build and install
3.
What is the expected output? What do you see instead?
running install_scripts
copying build/scripts-2.5/gvoice -> /usr/bin
copying build/scripts-2.5/asterisk -> /usr/bin
changing mode of /usr/bin/gvoice to 755
changing mode of /usr/bin/asterisk to 755
What version of the product are you using? On what operating system?
Please provide any additional information below.
the asterisk binary is usually installed in /usr/sbin but not always. In
any event path may be set up to use /usr/bin first:
whereis asterisk
asterisk: /usr/bin/asterisk /usr/sbin/asterisk
Why not just rename script to asterisk-gv-convert?
Original issue reported on code.google.com by [email protected]
on 28 Nov 2009 at 11:05
"gvsms.com", which put an API on top of Google SMS, is no longer active.
Did Google shut them down?
We need to understand the allowed limits of Google Voice usage to use
pygooglevoice.
Original issue reported on code.google.com by [email protected]
on 29 Nov 2009 at 7:12
Sorry to create a new issue, but I don't know how to open a closed issue.
I installed the python tools, and then issued:
easy_install -U pygooglevoice
Searching for pygooglevoice
Reading http://cheeseshop.python.org/pypi/pygooglevoice/
Reading http://code.google.com/p/pygooglevoice
Reading http://cheeseshop.python.org/pypi/pygooglevoice/0.4
Best match: pygooglevoice 0.4
Downloading http://pygooglevoice.googlecode.com/files/pygooglevoice-
0.4.tar.gz
Processing pygooglevoice-0.4.tar.gz
Running pygooglevoice-0.4/setup.py -q bdist_egg --dist-
dir /tmp/easy_install-
pGSXw6/pygooglevoice-0.4/egg-dist-tmp-koQ8x1
zip_safe flag not set; analyzing archive contents...
Adding pygooglevoice 0.4 to easy-install.pth file
Installing gvoice script to /usr/bin
Installed /usr/lib/python2.4/site-packages/pygooglevoice-0.4-py2.4.egg
Processing dependencies for pygooglevoice
gvoice
Traceback (most recent call last):
File "/usr/bin/gvoice", line 5, in ?
pkg_resources.run_script('pygooglevoice==0.4', 'gvoice')
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 407, in
run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1091, in
run_script
exec script_code in namespace, namespace
File "/usr/bin/gvoice", line 5, in ?
pkg_resources.run_script('pygooglevoice==0.4', 'gvoice')
File "build/bdist.linux-i686/egg/googlevoice/__init__.py", line 23, in ?
File "build/bdist.linux-i686/egg/googlevoice/voice.py", line 10, in ?
File "build/bdist.linux-i686/egg/googlevoice/util.py", line 20, in ?
ImportError: No module named simplejson
The /usr/bin/gvoice contained the following:
#!/usr/bin/python
# EASY-INSTALL-SCRIPT: 'pygooglevoice==0.4','gvoice'
__requires__ = 'pygooglevoice==0.4'
import pkg_resources
pkg_resources.run_script('pygooglevoice==0.4', 'gvoice')
I also noticed that the files in /tmp are deleted. Is this the way it is
suppose to
work.
Original issue reported on code.google.com by [email protected]
on 26 Oct 2009 at 7:55
Using the latest version of PyGoogleVoice,
It works fine forwarding to a regular number but not to a Gizmo number. If
i call directly to the GV number then set GV to forward to Gizmo it works
fine but not thru pygooglevoice.
Is it suppose to work ?
Original issue reported on code.google.com by [email protected]
on 5 Jan 2010 at 10:39
When using pygooglevoice to call, I get the following error while trying to
make a call WITHOUT a forwarding number.
I don't actually want to connect two phones anyway, I'm just trying to make the
outgoing number ring -- it's a notification for an error in a program that at
least needs to call a phone to get that person's attention. It then uses the
send_sms to alert that person of what the actual problem was.
gvoice> call
Outgoing number: 8178441234
Forwarding number [optional]:
Phone type [1-Home, 2-Mobile, 3-Work, 7-Gizmo]:
Traceback (most recent call last):
File "k:\errcall\scripts\gvoice", line 97, in <module>
int(input('Phone type [1-Home, 2-Mobile, 3-Work, 7-Gizmo]:') or 2)
File "k:\errcall\lib\site-packages\googlevoice\voice.py", line 106, in call
'remember': '1'
File "k:\errcall\lib\site-packages\googlevoice\voice.py", line 210, in __valid
ate_special_page
load_and_validate(self.__do_special_page(page, data))
File "k:\errcall\lib\site-packages\googlevoice\util.py", line 65, in load_and_
validate
validate_response(loads(response.read()))
File "k:\errcall\lib\site-packages\googlevoice\util.py", line 59, in validate_
response
raise ValidationError('There was a problem with GV: %s' % response)
googlevoice.util.ValidationError: There was a problem with GV: {u'data': {u'code
': 20}, u'ok': False}
Logging out of voice...
Original issue reported on code.google.com by [email protected]
on 20 Dec 2010 at 11:41
In the repository there are .pyc files that should be removed. Since these
files are generated by the Python runtime and are specific to the version
of Python on the user's system they have no use in the repository.
See example:
http://code.google.com/p/pygooglevoice/source/browse/#hg/googlevoice
Original issue reported on code.google.com by jacob.feisley
on 29 Jul 2009 at 10:30
pygooglevoice isn't working for calls, and I was told that Google added a
new parameter.
Any way to get it updated?
Original issue reported on code.google.com by [email protected]
on 18 Nov 2009 at 7:53
If I run gvoice as root it can make calls fine.. but if I run it as any
user I get the error:
Traceback (most recent call last):
File "/usr/bin/gvoice", line 5, in <module>
pkg_resources.run_script('pygooglevoice==0.5', 'gvoice')
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 448, in
run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1173, in
run_script
exec script_code in namespace, namespace
File
"/usr/lib/python2.6/site-packages/pygooglevoice-0.5-py2.6.egg/EGG-INFO/scripts/g
voice",
line 79, in <module>
File
"/usr/lib/python2.6/site-packages/pygooglevoice-0.5-py2.6.egg/EGG-INFO/scripts/g
voice",
line 49, in login
File "build/bdist.linux-x86_64/egg/googlevoice/voice.py", line 68, in login
File "build/bdist.linux-x86_64/egg/googlevoice/voice.py", line 203, in
__do_page
File "/usr/lib64/python2.6/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.6/urllib2.py", line 383, in open
response = self._open(req, data)
File "/usr/lib64/python2.6/urllib2.py", line 401, in _open
'_open', req)
File "/usr/lib64/python2.6/urllib2.py", line 361, in _call_chain
result = func(*args)
File "/usr/lib64/python2.6/urllib2.py", line 1138, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib64/python2.6/urllib2.py", line 1105, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 0] Error>
any assistance would be greatly appreciate.. tried both stable, and
bleeding edge code according to
http://sphinxdoc.github.com/pygooglevoice/install.html
Original issue reported on code.google.com by [email protected]
on 10 Jan 2010 at 5:21
What steps will reproduce the problem?
1.Confirm Google Chat is showing as a forwarding option on GV settings
2.Try calling any number thru GV
3.The call time-out with no error either from Softphone or the CLI
What is the expected output? What do you see instead?
Expecting outgoing number to ring thru forwarding number but instead nothing
happens. Even though on Google's website it works fine using the same outgoing
and forwarding numbers.
I did test it using a different google account credentials on same Asterisk box
and was getting the same result
What version of the product are you using? On what operating system?
I was using pygooglevoice version 0.3, upgraded to version 0.5 with asterisk
1.4.23.1 on Centos 5.5 but still experiencing the same.
Please provide any additional information below.
It has been working fine version 0.3 until 2 days ago. At this point I am even
not sute, that, Google Chat addition is the culprit. But its the only change
that coincided with this trouble.
I would appreciate other users input to either validate or unvalidate this
potential issue.
Thank you for your help!
Original issue reported on code.google.com by [email protected]
on 29 Aug 2010 at 6:55
What steps will reproduce the problem?
1.run /usr/bin/gvoice or run pygooglevoice manually in python CLI
2.enter email address and password
3.script takes ~30 seconds to "login"
What is the expected output? What do you see instead?
Is it supposed to take this long to login?
What version of the product are you using? On what operating system?
Latest version 0.3 on Fedora 11 with latest updates as of 25 September 2009.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 25 Sep 2009 at 6:25
# Number to place calls from (eg, your google voice number)
forwardingNumber=
/snip
The forwarding number is *NOT* your google voice number. It is the number you
want GV to connect the call to. This confuses people trying to setup gvoice to
make call by running 'gvoice call 8005551212'
Original issue reported on code.google.com by [email protected]
on 22 Sep 2010 at 9:35
What steps will reproduce the problem?
1. hg clone https://pygooglevoice.googlecode.com/hg/ pygooglevoice
2. sudo python setup.py install
3. gvoice
What is the expected output? What do you see instead?
prompt for email address
What version of the product are you using? On what operating system?
latest revision to fix login failed issue on centos (PBX in a Flash)
Please provide any additional information below.
trying to update to the latest revision by doing the command above and I
receive the following instead.
Traceback (most recent call last):
File "/usr/bin/gvoice", line 5, in ?
from googlevoice.voice import Voice
ImportError: No module named voice
Original issue reported on code.google.com by [email protected]
on 29 Sep 2009 at 3:58
pygooglevoice is currently not providing an API for receiving SMS messages. I
looked to see why,
and quickly figured it out: Google is not providing any easy ways to access
them.
However, they can be accessed, and I have been for the last few months
successfully.
What I needed was something that would actually pop a notification and sound an
alarm when
someone texted me, like in an instant messenger. I can't check google.com/voice
every 30
seconds. It disrupts whatever I'm doing.
This is my first Python project, so bear with me if the code is a little odd or
misshapen. :)
First, I've extended the original Voice object from pygooglevoice to create two
new functions,
called "get_sms_data (self, smsID)" and "set_read_status (self, smsID,
readStatus)". smsID refers
to a particular conversation "bubble" in google.com/voice.
get_sms_data calls Google's "inbox/recent/sms/" Javascript API, and passes the
resulting raw
HTML data to a new class I wrote titled GVoiceSMSProcessor. This class is
called up as follows:
smsProcessor = GVoiceSMSProcessor(smsData, smsID)
Internally, GVoiceSMSProcessor organizes all the available data into a
dictionary called
conversations. Here is a sample dump of smsProcessor.conversations, with
personal data
removed, so you get an idea of how awesome this is:
[
{'contact': 'PersonA',
'messages':
[
{'text': 'Hey', 'sender': 'PersonA', 'time': '5:09 PM'},
{'text': "Yea, what's up?", 'sender': 'Me', 'time': '5:09 PM'},
{'text': "I'm at <place> if u want to come over here and hang out.", 'sender':
'PersonA', 'time':
'5:15 PM'},
]
}]
I could've easily had it process more data, but I included here only the data
that was not
retrieved in pygooglevoice's API.
The GVoiceSMSProcessor object is somewhat confusing to read through, but the
idea is quite
simple: process the raw data with BeautifulSoup, and then loop through the
entire document,
element by element. The code in "__searchHTML" looks for specific class
patterns in the HTML.
When it finds a tag that contains a specific piece of information, it logs what
that data is we are
so that farther down it can be processed into the dictionary. The
'contact-next' state occurs
when the contact name is "Me", because the tag that marks when the contact name
is coming up
is empty, and it's the next (classless) tag that has the good stuff. Thus, this
search method also
tracks a little on state.
If you look at the contents of https://www.google.com/voice/inbox/recent/sms/
and find each
class, you'll see why the searching does what it does (hopefully).
I'm attaching the entire client I wrote for myself, so other users can try it.
Linux users, "growl"
ought to be changed to some other notification daemon. Also, mplayer is used to
play a
notification sound, which is specific to OSX.
In summary, the pygooglevoice developers should look to the gvoice.py to see
what additions
can be made to their code code.
Original issue reported on code.google.com by [email protected]
on 14 Sep 2009 at 10:46
When i try to place a call...
Traceback (most recent call last):
File "/usr/local/bin/gvoice", line 5, in <module>
pkg_resources.run_script('pygooglevoice==0.5', 'gvoice')
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 461, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1194, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.6/dist-packages/pygooglevoice-0.5-py2.6.egg/EGG-INFO/scripts/gvoice", line 129, in <module>
getattr(voice,action)(*args)
File "/usr/local/lib/python2.6/dist-packages/pygooglevoice-0.5-py2.6.egg/googlevoice/voice.py", line 106, in call
'remember': '1'
File "/usr/local/lib/python2.6/dist-packages/pygooglevoice-0.5-py2.6.egg/googlevoice/voice.py", line 210, in __validate_special_page
load_and_validate(self.__do_special_page(page, data))
File "/usr/local/lib/python2.6/dist-packages/pygooglevoice-0.5-py2.6.egg/googlevoice/util.py", line 65, in load_and_validate
validate_response(loads(response.read()))
File "/usr/local/lib/python2.6/dist-packages/pygooglevoice-0.5-py2.6.egg/googlevoice/util.py", line 59, in validate_response
raise ValidationError('There was a problem with GV: %s' % response)
googlevoice.util.ValidationError: There was a problem with GV: {u'data':
{u'code': 20}, u'ok': False}
Original issue reported on code.google.com by zdevel
on 20 Jun 2010 at 3:18
What steps will reproduce the problem?
1. get messages (i.e.: for message in voice.voicemail().messages )
2. within the loop, try and access any of the published data or methods
within a 'message' (i.e.: message.isRead, message.displayNumber,
message.mark(), etc.)
3. none of these work because the message is just a unicode string with the
id of the message, no actual functionality...
What version of the product are you using? On what operating system?
pygooglevoice-0.5
Original issue reported on code.google.com by [email protected]
on 22 Mar 2010 at 8:13
What steps will reproduce the problem?
1.run setup.py
2.try importing googlevoice (problem 1)
3.once you fix problem 1 try running test (problem 2)
What is the expected output? What do you see instead?
problem 1: it doesn't seem to see the voice module. This is because they have changed the ConfigParser module to be called configparser. thus, in your config.py you should change from ConfigParser import ConfigParser to from configparser import ConfigParser. After this, things seemed to get better.
problem 2: ln 70 in voice.py breaks it
# holy hackjob
galx = re.search(r"name=\"GALX\"\s+value=\"(.+)\"", content).group(1)
it returns a type error
What version of the product are you using? On what operating system?
python 3.1.2 on w7
pygooglevoice .5
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 8 Jun 2010 at 2:01
[deleted issue]
What steps will reproduce the problem?
1. Run examples/call.py in python3,
2. login and call a number as normal
3. Traceback endswith
urllib.error.HTTPError: HTTP Error 500: Internal Server Error
What is the expected output? What do you see instead?
Under python2, the google service completes the call as expected.
Cannot peek at packets since its over SSL, maybe an issue for google voice?
Original issue reported on code.google.com by justquick
on 29 Jul 2009 at 2:37
What steps will reproduce the problem?
1. run delete.py in idle (python 2.6)
2. enter email and pswd in terminal
What is the expected output? What do you see instead?
I expected to have the program delete my read messages.
Instead I get this error:
Traceback (most recent call last):
File "/Users/brianferguson/Desktop/pygooglevoice-0/examples/delete.py", line 8, in
<module>
message.delete()
TypeError: 'NoneType' object is not callable
What version of the product are you using? On what operating system?
pygooglevoice 0.3 on python 2.6 on OSX 10.6
Original issue reported on code.google.com by [email protected]
on 10 Oct 2009 at 11:00
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.