Closed GoogleCodeExporter closed 9 years ago
Google ended up changing their service a bit and i just pushed the code into the
repository to adapt to their new auth scheme. please get a copy of the
following like so
hg clone https://pygooglevoice.googlecode.com/hg/ pygooglevoice
install it, and give it a try again. this should no longer be an issue
Original comment by justquick
on 28 Sep 2009 at 4:03
[deleted comment]
Whats the best way to do an update to fix this? I can't get the method above to
work.
I installed Mercureal, ran the command and immediately had problems because you
can't
clone to a non-empty directory... renamed pygooglevoice to something else, ran
the hg
clone command which then suceeded but then ran into other problems related to
the
from module "from googlevoice.voice import Voice" not being there... If this
utility
is going to have such frequent changes based on googlevoice changes we need a
smooth
way to update it!
HELP!
Original comment by kellyswa...@gmail.com
on 30 Sep 2009 at 11:47
There is a smooth way to update it: learn how to use mercurial. Make sure your
codebase it up to date:
$ hg pull
$ hg update
$ sudo python setup.py install
If this does not work, then remove any previous versions of pygooglevoice
(usually
found in /usr/lib/python/site-packages/pygooglevoice*) and then reinstall. If
you are
unhappy with the amount of changes that the nonexistent Google Voice API is
undergoing, please feel free to contact support@google.com
Original comment by justquick
on 30 Sep 2009 at 3:17
I'm trying!!
--------------------------------------------------
so if I do the following...
switch to /root directory then
hg clone https://pygooglevoice.googlecode.com/hg/ pygooglevoice
requesting all changes
adding changesets
adding manifests
adding file changes
added 25 changesets with 215 changes to 75 files
updating working directory
61 files updated, 0 files merged, 0 files removed, 0 files unresolved
hg pull
pulling from https://pygooglevoice.googlecode.com/hg/
searching for changes
no changes found
hg update
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
sudo python setup.py install
running install
running build
running build_py
running build_scripts
running install_lib
running install_scripts
changing mode of /usr/bin/gvoice to 755
If I then type gvoice I get the following:
root@pbx:~/pygooglevoice $ gvoice
Traceback (most recent call last):
File "/usr/bin/gvoice", line 5, in ?
from googlevoice.voice import Voice
ImportError: No module named voice
Original comment by kellyswa...@gmail.com
on 30 Sep 2009 at 4:16
since the install doesnt actually move any new files, python still thinks you
have
the same code installed and therefore will not update the new version. try to
follow
this example
$ cd
$ python
>>> import googlevoice as g
>>> g.__file__
'/usr/local/lib/python2.5/dist-packages/googlevoice/__init__.pyc' # or some dir
like it
$ sudo rm -rf /usr/local/lib/python2.5/dist-packages/googlevoice/
$ cd pygooglevoice # or wherever you put it
$ hg pull
$ hg update
$ sudo rm -rf build
$ sudo python setup.py install
Original comment by justquick
on 30 Sep 2009 at 4:29
Got it! I am very rusty at this stuff didn't help that I was running as root
superuser vs needing sudo. Since I WAS able to get Mercurial installed last
night
that should make this easier in the future. Thx for your help...
Brian
Original comment by kellyswa...@gmail.com
on 30 Sep 2009 at 8:30
woot
Original comment by justquick
on 30 Sep 2009 at 9:39
Original issue reported on code.google.com by
mphac...@gmail.com
on 27 Sep 2009 at 7:26