This repository has been archived by the owner on Apr 19, 2020. It is now read-only.
Syntax error in garden.mapview\mapview\__init__.py #51
Comments
I have the same problem!
|
keigezellig
added a commit
to keigezellig/garden.mapview
that referenced
this issue
Oct 20, 2018
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55. Everything is tested through Docker to deal with system dependencies.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55. Everything is tested through Docker to deal with system dependencies.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55. Everything is tested through Docker to deal with system dependencies.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55. Everything is tested through Docker to deal with system dependencies.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55. Everything is tested through Docker to deal with system dependencies.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55. Everything is tested through Docker to deal with system dependencies.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55. Everything is tested through Docker to deal with system dependencies.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55. Everything is tested through Docker to deal with system dependencies.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55. Everything is tested through Docker to deal with system dependencies.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55. Everything is tested through Docker to deal with system dependencies.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55. Everything is tested through Docker to deal with system dependencies.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55. Everything is tested through Docker to deal with system dependencies.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 9, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55. Everything is tested through Docker to deal with system dependencies.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 10, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55. Everything is tested through Docker to deal with system dependencies.
AndreMiras
added a commit
to AndreMiras/garden.mapview
that referenced
this issue
Jan 10, 2019
Makes sure `MapView` object initializes under Python2. Exports `DISPLAY` and `XDG_RUNTIME_DIR` so `tox` can initialize the UI. Prepares the ground for the Python3 SyntaxError, refs kivy-garden#51, kivy-garden#54 and kivy-garden#55. Everything is tested through Docker to deal with system dependencies. Also fixes PEP8 F841, `latest_bbox_size` got unused in d00bfa4.
Fixed in #66 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The following test code on Python 3.6.5 Anaconda:
from kivy.garden.mapview import MapView
from kivy.app import App
class MapViewApp(App):
def build(self):
mapview = MapView(zoom=11, lat=50.6394, lon=3.057)
return mapview
MapViewApp().run()
generates the following error:
Traceback (most recent call last):
File "test_mapview.py", line 2, in
from kivy.garden.mapview import MapView
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 656, in _load_unlocked
File "", line 626, in load_backward_compatible
File "C:\Anaconda3\lib\site-packages\kivy\garden_init.py", line 100, in load_module
return self.load_module(fullname, moddir)
File "C:\Anaconda3\lib\site-packages\kivy\garden_init.py", line 104, in load_module
('', '', imp.PKG_DIRECTORY))
File "C:\Anaconda3\lib\imp.py", line 245, in load_module
return load_package(name, filename)
File "C:\Anaconda3\lib\imp.py", line 217, in load_package
return load(spec)
File "C:\Users\jmangelschots.kivy\garden\garden.mapview_init.py", line 3, in
from .mapview import *
File "C:\Users\jmangelschots.kivy\garden\garden.mapview\mapview_init.py", line 31, in
from mapview.view import MapView, MapMarker, MapLayer, MarkerMapLayer,
File "C:\Users\jmangelschots.kivy\garden\garden.mapview\mapview\view.py", line 209
lambda (i, m): m.lat < marker.lat,
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered: