Giter Club home page Giter Club logo

Comments (6)

bluxmit avatar bluxmit commented on May 29, 2024

Hi @devitt94,
thank you for reporting!

May I ask you to exec into the docker image of the workspace and (or using the terminal http://localhost:8026/) and cat /var/log/mkdocs/mkdocs-stderr.log and cat /var/log/mkdocs/mkdocs-stdout.log?

May I also ask you to check if docker has enough space left on your machine? You could try to remove some stopped docker containers and docker images that you don't use anymore, and try again.

Is IDE running on http://localhost:8025? If not, Could you please exec into the docker image of the workspace and (or using the terminal http://localhost:8026/) and cat /var/log/theia/theia-stderr.log?

from alnoda-workspaces.

devitt94 avatar devitt94 commented on May 29, 2024

@bluxmit thanks for the fast response!

See mkdocs logs below.

10:56:24 with abc in ~p took 5s ➜ cat /var/log/mkdocs/mkdocs-stdout.log
[Errno 38] Function not implemented
[Errno 38] Function not implemented
[Errno 38] Function not implemented
[Errno 38] Function not implemented
[Errno 38] Function not implemented
[Errno 38] Function not implemented
[Errno 38] Function not implemented
[Errno 38] Function not implemented
[Errno 38] Function not implemented
[Errno 38] Function not implemented
[Errno 38] Function not implemented
[Errno 38] Function not implemented
[Errno 38] Function not implemented
[Errno 38] Function not implemented
[Errno 38] Function not implemented
[Errno 38] Function not implemented
[Errno 38] Function not implemented
10:56:26 with abc in ~p ➜ cat /var/log/mkdocs/mkdocs-stderr.log
INFO     -  Building documentation...
WARNING  -  Config value: 'dev_addr'. Warning: The use of the IP address '0.0.0.0' suggests a production environment or the use of a proxy to connect to the MkDocs server. However, the MkDocs' server is intended for local development purposes only. Please use a third party production-ready server instead.
INFO     -  [macros] - Macros arguments: {'module_name': 'macros/helpers', 'modules': [], 'include_dir': '', 'include_yaml': [], 'j2_block_start_string': '', 'j2_block_end_string': '', 'j2_variable_start_string': '', 'j2_variable_end_string': '', 'verbose': False}
INFO     -  [macros] - Found local Python module 'macros/helpers' in: /home/docs
INFO     -  [macros] - Found external Python module 'macros/helpers' in: /home/docs
INFO     -  [macros] - Extra variables (config file): ['homepage', 'host_url']
INFO     -  [macros] - Extra filters (module): ['pretty']
INFO     -  Cleaning site directory
WARNING  -  Documentation file 'docs.md' contains a link to 'img/workspace-demo.gif' which is not found in the documentation files.
INFO     -  Documentation built in 2.30 seconds
INFO     -  Building documentation...
WARNING  -  Config value: 'dev_addr'. Warning: The use of the IP address '0.0.0.0' suggests a production environment or the use of a proxy to connect to the MkDocs server. However, the MkDocs' server is intended for local development purposes only. Please use a third party production-ready server instead.
INFO     -  [macros] - Macros arguments: {'module_name': 'macros/helpers', 'modules': [], 'include_dir': '', 'include_yaml': [], 'j2_block_start_string': '', 'j2_block_end_string': '', 'j2_variable_start_string': '', 'j2_variable_end_string': '', 'verbose': False}
INFO     -  [macros] - Found local Python module 'macros/helpers' in: /home/docs
INFO     -  [macros] - Found external Python module 'macros/helpers' in: /home/docs
INFO     -  [macros] - Extra variables (config file): ['homepage', 'host_url']
INFO     -  [macros] - Extra filters (module): ['pretty']
INFO     -  Cleaning site directory
WARNING  -  Documentation file 'docs.md' contains a link to 'img/workspace-demo.gif' which is not found in the documentation files.
INFO     -  Documentation built in 1.34 seconds
INFO     -  Building documentation...
WARNING  -  Config value: 'dev_addr'. Warning: The use of the IP address '0.0.0.0' suggests a production environment or the use of a proxy to connect to the MkDocs server. However, the MkDocs' server is intended for local development purposes only. Please use a third party production-ready server instead.

All the other ports (including Theia IDE on 8025) seem to be working fine.

I have pruned all other docker containers/images on my machine so I don't think space is the issue - how much memory should I expect it to use?

from alnoda-workspaces.

bluxmit avatar bluxmit commented on May 29, 2024

thank you for the logs
I am looking into it

RE memory, looks like it is not the memory issue. It would be only if there is nearly nothing left for docker.
Best

from alnoda-workspaces.

bluxmit avatar bluxmit commented on May 29, 2024

@devitt94 , I can't reproduce your issue. can I ask you to commit the workspace to a new image, and send me a file or push it to the public docker registry?

from alnoda-workspaces.

MikeCantCode avatar MikeCantCode commented on May 29, 2024

I had this same issue running Docker on an M1 Mac. I was able to get mkdocs to serve the site by upgrading it to mkdocs-1.2.3.

@bluxmit , maybe update mkdocs-requirements.txt to the new version?

from alnoda-workspaces.

bluxmit avatar bluxmit commented on May 29, 2024

Done! hank you @MikeCantCode
This fix was applied to all the workspaces, not only to the python-workspace.
PS: unfortunately, I can't test on M1 chip

from alnoda-workspaces.

Related Issues (17)

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.