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.

rpclib : server couldn't find function simGetObjectScaleInternal

See original GitHub issue

Hey first of all huge thanks for docker setups you provided and bash scripts they are hugely useful. The error is I have set up docker image and it’s working on cloud PC. Waiting for any client code connection (like logging stuff etc no error or anything like that)

Then I connect my client code which I use on local PC. client objects connect and it prints Connected etc (odom,image) . Then it tries to run baseline_racer.start_race(1) ( I use baseline_racer.py as import , on my code) This is current version of baseline_racer (with a little log for debug)

Traceback (most recent call last):
  File "metest.py", line 449, in <module>
    baseline_racer.start_race(1)
  File "/home/ugurkanates97/theCode/NeurIRS2019DroneChallengeRL/src/source/baseline_racer.py", line 56, in start_ra
ce
    self.airsim_client.simStartRace(tier)
  File "/home/ugurkanates97/.local/lib/python3.7/site-packages/airsimneurips/client.py", line 145, in simStartRace
    competitor.gate_poses_ground_truth = [self.__internalRandomGoalZone(gate) for gate in sorted(self.simListSceneO
bjects(".*[Gg]ate.*"))]
  File "/home/ugurkanates97/.local/lib/python3.7/site-packages/airsimneurips/client.py", line 145, in <listcomp>
    competitor.gate_poses_ground_truth = [self.__internalRandomGoalZone(gate) for gate in sorted(self.simListSceneO
bjects(".*[Gg]ate.*"))]
  File "/home/ugurkanates97/.local/lib/python3.7/site-packages/airsimneurips/client.py", line 172, in __internalRan
domGoalZone
    gate_scale = self.simGetObjectScaleInternal(gate_name)
  File "/home/ugurkanates97/.local/lib/python3.7/site-packages/airsimneurips/client.py", line 343, in simGetObjectS
caleInternal
    scale = self.client.call('simGetObjectScaleInternal', object_name)
  File "/home/ugurkanates97/.local/lib/python3.7/site-packages/msgpackrpc/session.py", line 41, in call
    return self.send_request(method, args).get()
  File "/home/ugurkanates97/.local/lib/python3.7/site-packages/msgpackrpc/future.py", line 45, in get
    raise error.RPCError(self._error)
msgpackrpc.error.RPCError: rpclib: server could not find function 'simGetObjectScaleInternal' with argument count 1
.

This is the crash output on my code. Docker supposedly (looking from files) pulls all new content and training files etc. I have no problem with that.

Name: airsimneurips
Version: 1.1.0
Summary: Python package for Game of Drones - A NeurIPS 2019 Competition, built on Microsoft AirSim - an open source
 simulator based on Unreal Engine for autonomous vehicles from Microsoft AI & Research
Home-page: https://github.com/microsoft/AirSim-NeurIPS2019-Drone-Racing
Author: Ratnesh Madaan, Matthew Brown, Nicholas Gyde, Sai Vemprala, Shital Shah
Author-email: ratnesh.madaan@microsoft.com, v-mattbr@microsoft.com, v-nigyde@microsoft.com, sai.vemprala@microsoft.
com, shitals@microsoft.com
License: MIT
Location: /home/ugurkanates97/.local/lib/python3.7/site-packages
Requires: numpy, msgpack-rpc-python
Required-by: 

This is pip show of installed airsimneurips in cloud PC. It looks alright?

I’m not sure what seems to be the problem.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
madratmancommented, Oct 31, 2019

@Sohojoe sorry, didn’t update the windows binaries (it started to look like we had zero windows users). @ironclownfish is on it now. He’ll ping when he’s done.

1reaction
ironclownfishcommented, Nov 1, 2019

@Sohojoe @MicroYY Go ahead and download the new binaries (AirSim.zip) and try again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reference - rpclib
Implements a client that connects to a msgpack-rpc server and is able to call functions synchronously or asynchronously. This is the main interfacing...
Read more >
Could not find function "addSearchMarker" - Stack Overflow
I think I found the problem. I installed package("leaflet.extras") , library(leaflet.extras) , and then called addSeachMarker() , and the ...
Read more >
Error: could not find function "shinyApp" - Google Groups
library(shiny) ui <- fluidPage() server <- function(input,output){} shinyApp(ui=ui,server=server). Error: could not find function "shinyApp".
Read more >
Could not find function "%OR%" in Shiny App
Warning: Error in %OR%: could not find function "%OR%" 1: runApp ... (https/Shiny Server) with the same library() calls in the code.
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