question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Finish updating the implementation of simple_api_server

See original GitHub issue

As mentioned in this review there appear to be some updates still needed for the simple_api_server.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cnboonhancommented, Feb 15, 2022

just tried with command line as well, it has the same working behavior as in the video 👍 perhaps you could try a clean build first, and if it doesn’t automatically resolve, then it would seem to narrow to a dependency issue, probably from the networking libraries that we may be using different versions of.

The most immediate issue i can find online is this: https://stackoverflow.com/questions/22412873/attributeerror-response-object-has-no-attribute-json

My current version is:

>>> requests.__version__
'2.27.1'
>>>

0reactions
cnboonhancommented, Feb 15, 2022

that’s very odd. although i don’t think we control the version of requests in our installation of rmf_demos, it is probably installed as a dependencies of the other libraries we use, or from a prior installation that already existed on the host.

The pipenv environment that is used in rmf-web can help with such issues, i think the web components of rmf_demos rely on a system installation of dependencies which can get a bit hairy

Read more comments on GitHub >

github_iconTop Results From Across the Web

Simple framework to implement REST APIs in C++ - GitHub
Simple framework to implement REST APIs in C++. Contribute to massenz/SimpleApiServer development by creating an account on GitHub. ... Updated, 2020-03-07 ...
Read more >
First Steps - FastAPI
INFO: Application startup complete. ... You could easily add any of those alternatives to your application built with FastAPI. ... PUT : to...
Read more >
How long does it take a create/update/delete to complete with ...
FIND leverages the search index. This can take several seconds up to several minutes to index the data. Instead, consider running a query ......
Read more >
Creating a RESTful API With Golang - TutorialEdge.net
By the end of this tutorial, you will know how to create your own ... The final endpoint you will need to implement...
Read more >
Best practice for partial updates in a RESTful service
In a nutshell, you submit an HTTP PATCH to a target resource with the application/merge-patch+json MIME media type and a body representing only...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found