Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant run mlat-server --help #6

Open
GregoryGHarding opened this issue Nov 22, 2015 · 21 comments
Open

cant run mlat-server --help #6

GregoryGHarding opened this issue Nov 22, 2015 · 21 comments

Comments

@GregoryGHarding
Copy link

i have installed all the pre-reqs, but when i attempt to run mlat-server --help
i get: "mlat-server: command not found"

any guidance would be greatly appreciated

@mutability
Copy link
Owner

Probably "." isn't in your PATH, try ./mlat-server

@GregoryGHarding
Copy link
Author

Tried ./mlat-server --help

Results in..

Traceback (most recent call last):
File "./mlat-server", line 21, in
import mlat.server.main
ImportError: No module named 'mlat.server'

@mutability
Copy link
Owner

It works for me, so there's something about your python install that you'll have to work out.

@GregoryGHarding
Copy link
Author

ok, i knew there wasnt much support for the server, so thanks for trying anyway

if its any help, the client software runs fine

@mutability
Copy link
Owner

Ah, if you have the client software installed systemwide, that interferes with the server packages. Try uninstalling the client, or run the server under virtualenv.

@GregoryGHarding
Copy link
Author

im running a VM now with only server and prerequisites installed. does this give any hints as to whats going on?

untitled

@mutability
Copy link
Owner

Isn't the error message selfexplanatory?

@GregoryGHarding
Copy link
Author

yes, i got that, i posted wrong screen, the error im getting says numpy module not found. but it is installed, ive checked import numpy

@GregoryGHarding
Copy link
Author

is it possible its defaulting installs to python 2.7 and not 3?

@mutability
Copy link
Owner

The shebang line explictly invokes python3.4, so nope, it's not that. When you check that numpy is importable, are you running python3?

@GregoryGHarding
Copy link
Author

thats the thing, i run python and import numpy, it goes fine, then run python3 import numpy fails

@mutability
Copy link
Owner

Show me exactly what you're running and what you get back.

@GregoryGHarding
Copy link
Author

ive gone back and installed each prerequisite using python3 instead of just python command and i can use mlat-server now. sorry to be a pain i now you dont like providing alot of support. is it possible you can throw up an assembled simple example mlat-server arguments

@mutability
Copy link
Owner

#!/bin/sh
D=`dirname $0`
MLAT_CPU_PROFILE=1 $D/mlat-server \
  --client-listen 40147:40147 \
  --basestation-connect localhost:31003 \
  --filtered-basestation-connect localhost:31004 \
  --write-csv $D/positions.csv \
  --work-dir $D \
  --check-leaks \
  >>$D/server.log 2>&1 &
echo "$!" >$D/server.pid

@GregoryGHarding
Copy link
Author

trying to activate the tools/sync and coverage pages

i have apache installed and have synlinked tools to www root. am i missing anything because the page is discriptive text and dosnt refresh to show sync status, same for coverage

sorry for asking alot of questions, im trying to learn/understand this software the best i can

@mutability
Copy link
Owner

Coverage maps requires that you generate the tiles separately e.g. from cronjob.
The sync page requires that you make sync.json (generated by the server) available in the same dir - e.g. symlink it.

@jairforce1
Copy link

Hello.
I can not start the server with the same error.
”RuntimeError: Please update AGPL_SERVER_CODE_URL in mlat/server/config.py”
How is this update done?
default

@Eiwind
Copy link

Eiwind commented Jun 10, 2017

Do as the RuntimeError says.

Go into
mlat/server/
use editor to open config.py
nano config.py
Find the line

"#AGPL_SERVER_CODE_URL = "https://github.com/mutability/mlat-server"

update the link / remove hashtag

@jairforce1
Copy link

Thank you.
The update issue has been resolved.
However, other errors can not be resolved yet.
I installed the prerequisite module but it does not work.
The import of modules seems to go wrong.

@jairforce1
Copy link

Installation of pykalman is completed
However, Pearlman's Ehler comes out.

default

@GKVELT
Copy link

GKVELT commented Jul 3, 2019

Hello I also have a problem with mlat.server.main. I can't import this module and I don't know where to find it!
Can anyone help me? I tried a lot of version of python in Windows and macOS.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants