From: Stas Z <sta...@gm...> - 2005-09-19 06:52:34
|
On 9/18/05, Waseem S. Daher <wd...@mi...> wrote: > Stas- >=20 > Thanks for all your hard work! > Right now when I run the latest CVS version, I get the following error: >=20 > wdaher@zygorthian-space-raiders:~/Projects/libgmail$ python libgmail.py > File "libgmail.py", line 93 > data =3D '\n'.join(x for x in lines if x and x[0] in ['D', ')', ',', > ']']) > ^ > SyntaxError: invalid syntax I suspect that your copy of libgmail.py is corrupted. I assume that you cut and paste the above traceback. The correct line is: data =3D '\n'.join([x for x in lines if x and x[0] in ['D', ')', ',', ']']]= ) . ^^^ When I test it with Python2.3: stas@mobi:~/CVS-WORK/libgmail$ python2.3 libgmail.py Gmail account name: gatester1 Password:=20 Please wait, logging in... Login successful. 23 MB of 2608 MB used. (1%) Select folder or label to list: (Ctrl-C to exit) 0. inbox 1. starred 2. all 3. drafts 4. sent 5. spam Choice: 0 105ede6be44ce5b9 2 test mail 1045b58fffb35c40 1 test mail 105ede6be44ce5b9 2 Re: test mail ...... ...... Can you check your copy of libgmail.py? > Also, I uncommented a 'deal with multiline notes fields in contacts', > and that test does not yet pass for some reason. I'll try to investigate > further. I /have/ checked in this version of testlibgmail.py though. OK, but I suggest that we release libgmail as it is now *after* you check that you can run it on your Python2.3 system. Stas --=20 A nation that continues year after year to spend more money on military def= ense than on programs of social uplift is approaching spiritual doom. Martin Luther King, Jr. |