Error: Failed to find anything that looks like a service in module XXXXX

I'm trying to run nameko on a windows 10 server, using RabbitMQ (and
Erlang) for the messaging but any getting stuck at "HelloWorld" with the
following error msgs:

c:\Users\Matthew\workspaces\optum\microservices\nameko>*nameko run
helloworld*
*Error: Failed to find anything that looks like a service in module
'helloworld'*

c:\Users\Matthew\workspaces\optum\microservices\nameko>nameko shell
*Nameko Python 2.7.11 |Anaconda 2.3.0 (64-bit)| (default, Jun 15 2016,
15:21:11) [MSC v.1500 64 bit (AMD64)] shell on win32*
*Broker: amqp://guest:guest@localhost*
*In [1]:*

In this case I didn't get the expected "*>>>*" prompt.

I have the RabbitMQ admin UI up, can log in and peruse the connections,
channels, exchanges and queues.

I've been interrogating the web for clues for hours now, any idea of what
is going wrong would be greatly appreciated.

Hi Matthew,

I'm afraid none of the core devs use windows, and nameko is only tested on
linux (+developed on os x). windows support isn't an explicit non-goal, but
it's very possible that we are using apis or libraries that don't support
windows.

It would be great if we could get to a better windows story, but i'm not
sure how feasible that is in the sort term, unless someone with more
windows experience is able to help. Would you consider trying a linux
virtual machine or docker image?

Best,
David

···

On Friday, 21 October 2016 03:42:54 UTC+1, Matthew Versaggi wrote:

I'm trying to run nameko on a windows 10 server, using RabbitMQ (and
Erlang) for the messaging but any getting stuck at "HelloWorld" with the
following error msgs:

c:\Users\Matthew\workspaces\optum\microservices\nameko>*nameko run
helloworld*
*Error: Failed to find anything that looks like a service in module
'helloworld'*

c:\Users\Matthew\workspaces\optum\microservices\nameko>nameko shell
*Nameko Python 2.7.11 |Anaconda 2.3.0 (64-bit)| (default, Jun 15 2016,
15:21:11) [MSC v.1500 64 bit (AMD64)] shell on win32*
*Broker: amqp://guest:guest@localhost*
*In [1]:*

In this case I didn't get the expected "*>>>*" prompt.

I have the RabbitMQ admin UI up, can log in and peruse the connections,
channels, exchanges and queues.

I've been interrogating the web for clues for hours now, any idea of what
is going wrong would be greatly appreciated.

My suggestion is to use a docker as light VM to Linux. If you need a
dockerfile for this, let me know...

···

On Thursday, October 20, 2016 at 7:42:54 PM UTC-7, Matthew Versaggi wrote:

I'm trying to run nameko on a windows 10 server, using RabbitMQ (and
Erlang) for the messaging but any getting stuck at "HelloWorld" with the
following error msgs:

c:\Users\Matthew\workspaces\optum\microservices\nameko>*nameko run
helloworld*
*Error: Failed to find anything that looks like a service in module
'helloworld'*

c:\Users\Matthew\workspaces\optum\microservices\nameko>nameko shell
*Nameko Python 2.7.11 |Anaconda 2.3.0 (64-bit)| (default, Jun 15 2016,
15:21:11) [MSC v.1500 64 bit (AMD64)] shell on win32*
*Broker: amqp://guest:guest@localhost*
*In [1]:*

In this case I didn't get the expected "*>>>*" prompt.

I have the RabbitMQ admin UI up, can log in and peruse the connections,
channels, exchanges and queues.

I've been interrogating the web for clues for hours now, any idea of what
is going wrong would be greatly appreciated.

Hi,

I'm using nameko successfully on Windows 7 and Server 2016R2. It didn't
require any special treatment to get working, either.

There's not much to go on here to help debug, but thought I'd drop in to
say it should work fine!

Try developing inside a virtualenv. That'll keep everything local to your
application. Something like:

pip install virtualenv
mkdir myproject
cd myproject
virtualenv env
env\Scripts\activate.bat

pip install nameko
<write your service.py>

nameko run service

Cheers,

Chris