eulersantana / pygooglevoice

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

Python 3.1.2 breaks it #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 Jonathan...@gmail.com on 8 Jun 2010 at 2:01

GoogleCodeExporter commented 9 years ago
there are a lot of str vs. byte issues when trying to run under py3, do you 
need help fixing any more of them yourself?

Original comment by firefigh...@gmail.com on 15 Sep 2011 at 5:23

GoogleCodeExporter commented 9 years ago
I have the same issue with python 3.2.2. Specifically with with #2, that is 
importing google voice. I get 
"
>>> from googlevoice import Voice
Traceback (most recent call last):
  File "<pyshell#63>", line 1, in <module>
    from googlevoice import Voice
  File "C:\Python32\lib\site-packages\googlevoice\__init__.py", line 17, in <module>
    from voice import Voice
ImportError: No module named voice
"

Have you solved this problem?

Original comment by jesmitt...@gmail.com on 13 Mar 2012 at 5:39

GoogleCodeExporter commented 9 years ago
I have made a semi port, I have tested login() and send_sms(), and they will 
work with python 3, other methods may work in the attached partial port, but I 
have not tested them.

Original comment by trilobit...@gmail.com on 8 Mar 2014 at 4:22

Attachments: