abidinamdar / gmapcatcher

Automatically exported from code.google.com/p/gmapcatcher
1 stars 0 forks source link

Warning: 'with' will become a reserved keyword in Python 2.6 #149

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
 1. Unpack the tarball on the following OS: Linux kolmogorov
2.6.24-27-generic #1 SMP Fri Mar 12 01:10:31 UTC 2010 i686 GNU/Linux
Ubuntu Linux 8.04 Hardy Heron
 2. Try running ./maps.py
 3. Process terminates with the warning message: "Warning: 'with' will
become a reserved keyword in Python 2.6"

What is the expected output? What do you see instead?

Expected is the GmapCatcher GUI, instead I see the following:
================================================================
swaprava@kolmogorov:~/Downloads/GMapCatcher-0.6.3.0$ ./maps.py
/home/swaprava/Downloads/GMapCatcher-0.6.3.0/src/xmlUtils.py:14: Warning:
'with' will become a reserved keyword in Python 2.6
Traceback (most recent call last):
  File "./maps.py", line 21, in <module>
    from src.xmlUtils import kml_to_markers
  File "/home/swaprava/Downloads/GMapCatcher-0.6.3.0/src/xmlUtils.py", line 14
    with open(strFileName) as f:
            ^
SyntaxError: invalid syntax
================================================================

What version of the product are you using? On what operating system?

GMapCatcher-0.6.3.0, OS: Ubuntu 8.04

Please provide any additional information below.

I ran the same in Ubuntu 9.10 Karmic, where it runs perfectly. Attached is
the Changelog file

Original issue reported on code.google.com by swapr...@gmail.com on 4 Apr 2010 at 6:04

Attachments:

GoogleCodeExporter commented 8 years ago
python 2.6 is needed for gmapcatcher

Original comment by Mark111...@gmail.com on 14 Jul 2010 at 12:09

GoogleCodeExporter commented 8 years ago
I just tested in Kubuntu 8.04.1 with Python 2.5 and I do not get this error

Original comment by heldersepu on 16 Jul 2010 at 3:22