Closed ahane closed 6 years ago
I'm unable to reproduce this issue building off of master (34e88074) and following the instructions mentioned here: https://github.com/OpenGeoscience/geonotebook/tree/master/devops/docker.
One thing you can try is using the pre-built Docker image from Dockerhub which is known to be working:
docker run -p 8888:8888 -it -v /path/to/your/notebooks:/notebooks --rm geonotebook/geonotebook
replacing the /path/to/your/notebooks with the "notebooks" directory in a clean GeoNotebook checkout just to be safe.
On Fri, Oct 6, 2017 at 10:35 AM, Alec Hanefeld notifications@github.com wrote:
I have built the container from the Dockerfile in the repository. I am successfully running the notebook server and have the
'M <geonotebook.kernel.Geonotebook>
object in my namespace.Any call on this object leads to an exception though: ` In []: M.set_center(-120, 47, 8) AttributeError Traceback (most recent call last)
in () ----> 1 M.set_center(-120, 47, 8) /usr/local/lib/python2.7/dist-packages/geonotebook/kernel.pyc in set_center(self, x, y, z) 358 self.x, self.y, self.z = result 359 --> 360 return self._remote.set_center(x, y, z)\ 361 .then(_set_center, self.rpc_error).catch(self.callback_error) 362 AttributeError: 'NoneType' object has no attribute 'set_center' ` The map screen that is visible in the gif in the README is also never displayed. Any pointers? Thanks :) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/OpenGeoscience/geonotebook/issues/149
The pre-built image worked indeed. Thank you.
I have built the container from the Dockerfile in the repository. I am successfully running the notebook server and have the
'M <geonotebook.kernel.Geonotebook>
object in my namespace. ButM._remote
property isNone
, therefore all methods fail with exceptions:The map screen that is visible in the gif in the README is also never displayed.
Any pointers? Thanks :)