red010182 / pygooglevoice

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

not compatable with python 3. Port anyone? #82

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When I first ran it (0.5 pygooglevoice)(python 3.3.4), it complanined about not 
import voice, then ConfigParser (both easy fixes), but now it gets stuck at 
these lines (70):

# holy hackjob
galx = re.search(r"name=\"GALX\"\s+value=\"(.+)\"", content).group

I am not really good with regular expressions, so I can't do anything here. 
Anyone with a solution/python 3 port? I want to use the library in an 
application that uses python 3 only libraries.

Original issue reported on code.google.com by trilobit...@gmail.com on 6 Mar 2014 at 11:36

GoogleCodeExporter commented 9 years ago
I played around and made a 'semi' python 3 port. It correctly logs in, and will 
correctly send sms messages, but everything else I have not tested to see if it 
is python 3 compatable. I.E: only voice.send_sms() is ported and tested. I have 
my pygooglevoice file attached if anyone wants to finish the job, and upload it.

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

Attachments: