docker build fails

21 views
Skip to first unread message

Chetan Kumar

unread,
Aug 10, 2018, 1:05:23 PM8/10/18
to OpenWISP
Hi,

I was trying to build the openwisp docker, it fails with following error (pasting last stage)

Step 5/10 : RUN pip3 install -U .
 ---> Running in 1943a8ef202d
Processing /usr/src/app
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-req-build-ljuc33ce/setup.py", line 5, in <module>
        from openwisp_controller import get_version
    ModuleNotFoundError: No module named 'openwisp_controller'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-ljuc33ce/
The command '/bin/sh -c pip3 install -U .' returned a non-zero code: 1



Did someone else faced same problem ? Any pointer for next steps ?

Thanks
C

Chetan Kumar

unread,
Aug 11, 2018, 1:23:31 AM8/11/18
to OpenWISP
Sorry, my bad. Some issues with path, got it resolved..

Thanks
C

Federico Capoano

unread,
Aug 14, 2018, 6:11:55 AM8/14/18
to open...@googlegroups.com
Hi Chetan and welcome,

sorry for my delayed response. It may be a bug.
It was working when I tried but I'm no 100% sure because I'm not using that docker file a lot.
If you think it's a bug, could you open an issue in the respective repository?

As an alternative to test openwisp-controller you can follow the instructions in:
https://github.com/openwisp/openwisp-controller#installing-for-development

Federico

--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages