asifiqbal / pygooglevoice

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

Can't find "Voice" #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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 mark...@gmail.com on 17 Oct 2009 at 2:03

GoogleCodeExporter commented 8 years ago
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. Ideally, just get it from easy install (sudo 
easy_install pygooglevoice)

Original comment by justquick on 17 Oct 2009 at 4:40

GoogleCodeExporter commented 8 years ago
cd /root
rm -r pygooglevoice

doesn't this remove the build directory? If not, how do I remove it?

Original comment by mark...@gmail.com on 17 Oct 2009 at 8:17

GoogleCodeExporter commented 8 years ago
just use easy install

$ sudo easy_install -U pygooglevoice

Original comment by justquick on 19 Oct 2009 at 2:46

GoogleCodeExporter commented 8 years ago
Sorry for the basic question, but I am trying to understand what failed with 
the old 
instructions, so that I might learn, and others might understand as well.  In 
the 
old setup, is it the "rm -r pygooglevoice" that is failing, or the "python 
setup.py 
install" that is failing?  I assume that you are in the cd /root directory when 
you 
issue the easy_install -U pygooglevoice?  Thank you for your help and 
understanding.

Original comment by mark...@gmail.com on 19 Oct 2009 at 3:59

GoogleCodeExporter commented 8 years ago
Thank you, 0.4 is now working. Here are the steps:

yum install python-setuptools
easy_install simplejson (or use python 2.6)
easy_install pygooglevoice

Original comment by mark...@gmail.com on 27 Oct 2009 at 2:31