Giter Site home page Giter Site logo

Comments (6)

leouieda avatar leouieda commented on June 1, 2024 2

Related to openjournals/joss-reviews#1425 (so I can keep track of progress in the review issue)

from netwulf.

vc1492a avatar vc1492a commented on June 1, 2024 2

@benmaier Thanks for the update! I installed version 0.0.16 via PyPi and the Post to Python functionality is working as now. A unit test could be written in the future test to ensure the proper behavior. Let me know if there's any remaining items to test related to this issue - if there are none, please feel free to ahead and close this issue. Thanks for the quick turn-around! 👍

from netwulf.

benmaier avatar benmaier commented on June 1, 2024

Thank you for opening the issue! Would you mind running the function again with keyword verbose=True?

visualize(G,verbose=True)

then click "Post to Python" and copy-paste the console output here. Thanks!

from netwulf.

vc1492a avatar vc1492a commented on June 1, 2024

Sure, see below:

changing directory to /Users/valentinoconstantinou/.netwulf
starting server here ... /Users/valentinoconstantinou/.netwulf
127.0.0.1 12/May/2019 10:31:14 GET /?data=tmp_16aad193d82.json&config=config_tmp_16aad193d82.json HTTP/1.1 200 -
127.0.0.1 12/May/2019 10:31:14 GET /style.css HTTP/1.1 200 -
127.0.0.1 12/May/2019 10:31:14 GET /libs/d3.v4.min.js HTTP/1.1 200 -
127.0.0.1 12/May/2019 10:31:14 GET /libs/dat.gui.js HTTP/1.1 200 -
127.0.0.1 12/May/2019 10:31:14 GET /libs/sweetalert.min.js HTTP/1.1 200 -
127.0.0.1 12/May/2019 10:31:14 GET /libs/lodash.js HTTP/1.1 200 -
127.0.0.1 12/May/2019 10:31:14 GET /vis.js HTTP/1.1 200 -
127.0.0.1 12/May/2019 10:31:14 GET /parse_options.js HTTP/1.1 200 -
127.0.0.1 12/May/2019 10:31:14 GET /post_json.js HTTP/1.1 200 -
127.0.0.1 12/May/2019 10:31:14 GET /config_tmp_16aad193d82.json HTTP/1.1 200 -
127.0.0.1 12/May/2019 10:31:14 GET /tmp_16aad193d82.json HTTP/1.1 200 -
127.0.0.1 12/May/2019 10:31:14 HTTPStatus.NOT_FOUND File not found
127.0.0.1 12/May/2019 10:31:14 GET /favicon.ico HTTP/1.1 404 -
127.0.0.1 12/May/2019 10:31:29 POST /?data=tmp_16aad193d82.json&config=config_tmp_16aad193d82.json HTTP/1.1 200 -
Successfully posted network data to Python!
127.0.0.1 12/May/2019 10:31:32 POST /?data=tmp_16aad193d82.json&config=config_tmp_16aad193d82.json HTTP/1.1 200 -
stopping server ...
was asked to stop the server
deleted all files

This is the output I see after not killing the process for about 10 minutes or so. Digging a little further, running: lsof -t -i :9853 in terminal returns a running process as expected when the interface is open, and does not when the interface has closed (which I am assuming is correct behavior). Hope this helps.

from netwulf.

benmaier avatar benmaier commented on June 1, 2024

I think I managed to replicate the behavior, which seems to appear with Python 3.5 if netwulf is installed using the 0.0.14 version on PyPI, and not from the repository. I've now updated the version on PyPI to 0.0.16 which seems to have fixed the issue of the Post to Python-button. Could you try again (without the verbose=True flag, which suppresses the replicated matplotlib-figure)?

from netwulf.

benmaier avatar benmaier commented on June 1, 2024

Cool! Closing this now :) @ulfaslak and I will discuss the testing issues separately and get back to you on that!

from netwulf.

Related Issues (20)

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.