Code Monkey home page Code Monkey logo

Comments (21)

mutability avatar mutability commented on June 20, 2024

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

from mlat-server.

GregoryGHarding avatar GregoryGHarding commented on June 20, 2024

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'

from mlat-server.

mutability avatar mutability commented on June 20, 2024

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

from mlat-server.

GregoryGHarding avatar GregoryGHarding commented on June 20, 2024

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

if its any help, the client software runs fine

from mlat-server.

mutability avatar mutability commented on June 20, 2024

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.

from mlat-server.

GregoryGHarding avatar GregoryGHarding commented on June 20, 2024

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

untitled

from mlat-server.

mutability avatar mutability commented on June 20, 2024

Isn't the error message selfexplanatory?

from mlat-server.

GregoryGHarding avatar GregoryGHarding commented on June 20, 2024

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

from mlat-server.

GregoryGHarding avatar GregoryGHarding commented on June 20, 2024

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

from mlat-server.

mutability avatar mutability commented on June 20, 2024

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

from mlat-server.

GregoryGHarding avatar GregoryGHarding commented on June 20, 2024

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

from mlat-server.

mutability avatar mutability commented on June 20, 2024

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

from mlat-server.

GregoryGHarding avatar GregoryGHarding commented on June 20, 2024

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

from mlat-server.

mutability avatar mutability commented on June 20, 2024
#!/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

from mlat-server.

GregoryGHarding avatar GregoryGHarding commented on June 20, 2024

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

from mlat-server.

mutability avatar mutability commented on June 20, 2024

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.

from mlat-server.

jairforce1 avatar jairforce1 commented on June 20, 2024

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

from mlat-server.

Eiwind avatar Eiwind commented on June 20, 2024

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

from mlat-server.

jairforce1 avatar jairforce1 commented on June 20, 2024

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.

from mlat-server.

jairforce1 avatar jairforce1 commented on June 20, 2024

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

default

from mlat-server.

GKVELT avatar GKVELT commented on June 20, 2024

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!

from mlat-server.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.