Closed dharanidharan12 closed 6 years ago
What does running the following in a python shell show you?
import gnome
dir(gnome.movers)
['CatsMover', 'ComponentMover', 'CurrentCycleMover', 'CyMover', 'GridCurrentMover', 'GridWindMover', 'IceAwareRandomMover', 'IceMover', 'IceWindMover', 'Mover', 'Process', 'ProcessSchema', 'PyCurrentMover', 'PyWindMover', 'RandomMover', 'RandomVerticalMover', 'RiseVelocityMover', 'ShipDriftMover', 'SimpleMover', 'TamocRiseVelocityMover', 'WindMover', 'builtins', 'doc', 'file', 'name', 'package', 'path', 'constant_wind_mover', 'current_movers', 'movers', 'py_current_movers', 'py_wind_movers', 'random_movers', 'ship_drift_mover', 'simple_mover', 'vertical_movers', 'wind_mover_from_file', 'wind_movers']
while running in shell, it shows
Well that definitely doesn't include a PyMover. What version of pygnome do you have installed?
gnome-terminal --version GNOME Terminal 3.6.2
apt-cache show gnome-shell | grep Version Version: 3.10.4-0ubuntu5.2 Version: 3.10.4-0ubuntu5
which version of pygnome is required for PyMover. Please Mention the version.
@jay-hennen @JamesMakela-NOAA any idea when we added PyMover?
It look like it's not released yet (should be updated soon). You can get this working in the mean time by adding PyMover
to the end of line 5 in py_gnome/gnome/movers/__init__.py
.
Configured using this link https://github.com/NOAA-ORR-ERD/WebGnomeClient/blob/master/API_SETUP.md
cd webgnomeapi
I configured both PyGnome and WebGnomeAPI While Running this line: pserve --reload config-example.ini
Getting error like from gnome.movers import PyMover ImportError: cannot import name PyMover
I also tried in file as **from gnome.movers import * It runs and throws the url link, while running it , Showing Internal Server Error**
Why This error occurs, What I did wrong ?..
Please Help. Thanks in Advance!