GithubHelp home page GithubHelp logo

Comments (7)

athallas avatar athallas commented on August 23, 2024

Additionally, when the ip address is replaced with a random, system just deadlocks and connection failure is not returned.

from rapp-api.

etsardou avatar etsardou commented on August 23, 2024

@klpanagi is this done? Where is the configuration file stored?

from rapp-api.

etsardou avatar etsardou commented on August 23, 2024

Found it. Change rapp_platform_python_api folder to rapp_platform which already exists. Furthermore do we have to create the folder by hand or you have changed the setup scripts? Finally, a configuration file sample / template must exist somewhere.

from rapp-api.

klpanagi avatar klpanagi commented on August 23, 2024

@athallas

Additionally, when the ip address is replaced with a random, system just deadlocks and connection failure is not returned.

You investigate this behavior because of the network configuration of the machine executing the calls. This is not an issue of the API implementation. TCP packets do not arrive at destination address (RAPP-Platform) thus no responses are ever received. You can explicitly tell to stop waiting for a response after a given number of seconds with the timeout parameter in RappPlatformService constructor (look here).

@etsardou

Found it. Change rapp_platform_python_api folder to rapp_platform which already exists. Furthermore do we have to create the folder by hand or you have changed the setup scripts? Finally, a configuration file sample / template must exist somewhere.

It has not been documented yet.
The rapp_platform_python_api directory was selected because rapp-platform-python-api is a client tool/library for accessing rapp-platform resources and those can be installed on different machines (also for package distribution purposes). Though i can prepare a patch for the configuration file to be placed under ~/.config/rapp_platform/.
Regarding the creation of the respective path and default configuration file, i will prepare a patch.

from rapp-api.

klpanagi avatar klpanagi commented on August 23, 2024

Directory change + default config file creation: 7115cdd

Copy default config file in proper directory: 7d890ba

Changes in rapp-platform-scripts repository, to install the module in normal mode. Required for the above to work properly: rapp-project/rapp-platform-scripts@b548ee6

from rapp-api.

etsardou avatar etsardou commented on August 23, 2024

Is this ready to be closed?

from rapp-api.

klpanagi avatar klpanagi commented on August 23, 2024

Merged pull-request in rapp-platform-scripts repo.

Merged in python-platform-api devel

TravisCI builds passed

Marking this issue as resolved.

from rapp-api.

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.