Cannot start m210d

Asked by Maurizio

Hi,
firstly great project!
I have an issue on trying to get it to work with my Ubuntu machine (13.something it is the latest)
unfortunately I have tried every forums I could to find the answer to this:
when I try to start the daemon, I get this:

mau@mau-ThinkPad-W530:~/Downloads$ sudo start m210d
m210d start/running
mau@mau-ThinkPad-W530:~/Downloads$ sudo status m210d
m210d start/running

as you can see, I do not get a pid, just that it started,

when I try manually, I get this:
mau@mau-ThinkPad-W530:~/Downloads$ sudo stop m210d
m210d stop/waiting
mau@mau-ThinkPad-W530:~/Downloads$ m210d
Traceback (most recent call last):
  File "/usr/local/bin/m210d", line 41, in <module>
    import m210.daemon
ImportError: No module named m210.daemon

and when I try using m210c-qt, just to see what is what, I get this error (which I think it is related)
mau@mau-ThinkPad-W530:~/Downloads$ m210c-qt
Traceback (most recent call last):
  File "/usr/local/bin/m210c-qt", line 45, in <module>
    from m210.qt.ui.mainwindow import Ui_MainWindow
ImportError: No module named m210.qt.ui.mainwindow

PS, I tried sudo and no sudo, the errors are the same

Thanks in advance

Mau

Question information

Language:
English Edit question
Status:
Solved
For:
m210 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
a (tuomasjjrasanen) said :
#1

It seems that you are using a really old version of m210. I suggest you to fetch the latest sources and compile and install from there. The current version of m210 does not have daemon-client -architecture, but just a simplified "client-only" -architecture.

wget https://launchpad.net/m210/trunk/0.8/+download/m210-0.8.tar.gz
tar zxf m210-0.8.tar.gz
cd m210-0.8
./configure
make
sudo make install

See README for usage help.

You probably should uninstall the old version first (I guess you installed it from .deb or via apt-get from the archive). Unfortunately, I do not provide pre-compiled binaries anymore, packagers can

I also welcome you to provide patches/contributions to make a decent graphical user interface, I dropped m210c-qt due to stability issues and lack of testing.

Revision history for this message
Maurizio (mgarzelli-c) said :
#2

Thank you,
That did the trick!
it is a really great product!
:)
Maurizio
On 25/02/14 19:46, Tuomas Räsänen wrote:
> Your question #244490 on m210 changed:
> https://answers.launchpad.net/m210/+question/244490
>
> Status: Open => Answered
>
> Tuomas Räsänen proposed the following answer:
> It seems that you are using a really old version of m210. I suggest you
> to fetch the latest sources and compile and install from there. The
> current version of m210 does not have daemon-client -architecture, but
> just a simplified "client-only" -architecture.
>
> wget https://launchpad.net/m210/trunk/0.8/+download/m210-0.8.tar.gz
> tar zxf m210-0.8.tar.gz
> cd m210-0.8
> ./configure
> make
> sudo make install
>
> See README for usage help.
>
> You probably should uninstall the old version first (I guess you
> installed it from .deb or via apt-get from the archive). Unfortunately,
> I do not provide pre-compiled binaries anymore, packagers can
>
> I also welcome you to provide patches/contributions to make a decent
> graphical user interface, I dropped m210c-qt due to stability issues and
> lack of testing.
>

Revision history for this message
a (tuomasjjrasanen) said :
#3

Far from product, but I'm glad that you find it useful. I'll mark this question solved.

Revision history for this message
a (tuomasjjrasanen) said :
#4

Marking this solved as the questioner stated that the proposed answer "did the trick".