Title: Robust Debug of Logging · Issue #4 · PisterLab/BotNet · GitHub
Open Graph Title: Robust Debug of Logging · Issue #4 · PisterLab/BotNet
X Title: Robust Debug of Logging · Issue #4 · PisterLab/BotNet
Description: After integrating the Rpyc server we got the following error: Traceback (most recent call last): File "/Users/felipecampos/Berkeley/research/swarm/sim/6-tisch-swarm-sim/6tisch-simulator/bin/../SimEngine/SimLog.py", line 199, in log json_...
Open Graph Description: After integrating the Rpyc server we got the following error: Traceback (most recent call last): File "/Users/felipecampos/Berkeley/research/swarm/sim/6-tisch-swarm-sim/6tisch-simulator/bin/../SimE...
X Description: After integrating the Rpyc server we got the following error: Traceback (most recent call last): File "/Users/felipecampos/Berkeley/research/swarm/sim/6-tisch-swarm-sim/6tisch-simulator/bin/.....
Opengraph URL: https://github.com/PisterLab/BotNet/issues/4
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Robust Debug of Logging","articleBody":"After integrating the Rpyc server we got the following error: \r\n\r\n\u003e Traceback (most recent call last):\r\n\u003e File \"/Users/felipecampos/Berkeley/research/swarm/sim/6-tisch-swarm-sim/6tisch-simulator/bin/../SimEngine/SimLog.py\", line 199, in log\r\n\u003e json_string = json.dumps(content, sort_keys=True)\r\n\u003e File \"/Users/felipecampos/anaconda3/envs/agent-sim/lib/python3.8/json/__init__.py\", line 234, in dumps\r\n\u003e return cls(\r\n\u003e File \"/Users/felipecampos/anaconda3/envs/agent-sim/lib/python3.8/json/encoder.py\", line 199, in encode\r\n\u003e chunks = self.iterencode(o, _one_shot=True)\r\n\u003e File \"/Users/felipecampos/anaconda3/envs/agent-sim/lib/python3.8/json/encoder.py\", line 257, in iterencode\r\n\u003e return _iterencode(o, 0)\r\n\u003e File \"/Users/felipecampos/anaconda3/envs/agent-sim/lib/python3.8/json/encoder.py\", line 179, in default\r\n\u003e raise TypeError(f'Object of type {o.__class__.__name__} '\r\n\u003e TypeError: Object of type float64 is not JSON serializable\r\n\u003e During handling of the above exception, another exception occurred:\r\n\u003e Traceback (most recent call last):\r\n\u003e File \"runSim.py\", line 387, in \u003cmodule\u003e\r\n\u003e main(sys.argv[1:])\r\n\u003e File \"runSim.py\", line 280, in main\r\n\u003e runSimCombinations({\r\n\u003e File \"runSim.py\", line 187, in runSimCombinations\r\n\u003e simengine.join()\r\n\u003e File \"/Users/felipecampos/Berkeley/research/swarm/sim/6-tisch-swarm-sim/6tisch-simulator/bin/../SimEngine/SimEngine.py\", line 228, in join\r\n\u003e raise self.exc\r\n\u003e File \"/Users/felipecampos/Berkeley/research/swarm/sim/6-tisch-swarm-sim/6tisch-simulator/bin/../SimEngine/SimEngine.py\", line 160, in run\r\n\u003e cb()\r\n\u003e File \"/Users/felipecampos/Berkeley/research/swarm/sim/6-tisch-swarm-sim/6tisch-simulator/bin/../SimEngine/Mote/app.py\", line 322, in _broadcast_location\r\n\u003e self._send_packet(\r\n\u003e File \"/Users/felipecampos/Berkeley/research/swarm/sim/6-tisch-swarm-sim/6tisch-simulator/bin/../SimEngine/Mote/app.py\", line 372, in _send_packet\r\n\u003e self.log(\r\n\u003e File \"/Users/felipecampos/Berkeley/research/swarm/sim/6-tisch-swarm-sim/6tisch-simulator/bin/../SimEngine/SimLog.py\", line 210, in log\r\n\u003e output += [traceback.format_exc(err)]\r\n\u003e File \"/Users/felipecampos/anaconda3/envs/agent-sim/lib/python3.8/traceback.py\", line 167, in format_exc\r\n\u003e return \"\".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))\r\n\u003e File \"/Users/felipecampos/anaconda3/envs/agent-sim/lib/python3.8/traceback.py\", line 120, in format_exception\r\n\u003e return list(TracebackException(\r\n\u003e File \"/Users/felipecampos/anaconda3/envs/agent-sim/lib/python3.8/traceback.py\", line 509, in __init__\r\n\u003e self.stack = StackSummary.extract(\r\n\u003e File \"/Users/felipecampos/anaconda3/envs/agent-sim/lib/python3.8/traceback.py\", line 340, in extract\r\n\u003e if limit \u003e= 0:\r\n\u003e TypeError: '\u003e=' not supported between instances of 'TypeError' and 'int'\r\n\u003e \r\nthis was patched by type casting the returned numbers from the Rpyc server to floats but warrants a more significant investigation.","author":{"url":"https://github.com/MarkSelden","@type":"Person","name":"MarkSelden"},"datePublished":"2021-04-14T03:06:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/4/BotNet/issues/4"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0f3e5444-6cef-d325-3581-6ef5def79b96 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A622:4ACCD:4AC4FC:624EB8:698EB2BE |
| html-safe-nonce | b09a978fdaf33eacd658a6420ed543fb8db8ba25d321c2cd2068087b92afd03f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjIyOjRBQ0NEOjRBQzRGQzo2MjRFQjg6Njk4RUIyQkUiLCJ2aXNpdG9yX2lkIjoiODMzODA3NTY1ODUzOTE1MjA2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 33cf68735ccca090f64c326ce832e0b62e8ba9e42d7ddb0effbf2aa4dd74bca0 |
| hovercard-subject-tag | issue:857478713 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PisterLab/BotNet/4/issue_layout |
| twitter:image | https://opengraph.githubassets.com/45debf7892246e0f1c93c63cad675a20d930b319421dc9ad715d363d9ad67ccc/PisterLab/BotNet/issues/4 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/45debf7892246e0f1c93c63cad675a20d930b319421dc9ad715d363d9ad67ccc/PisterLab/BotNet/issues/4 |
| og:image:alt | After integrating the Rpyc server we got the following error: Traceback (most recent call last): File "/Users/felipecampos/Berkeley/research/swarm/sim/6-tisch-swarm-sim/6tisch-simulator/bin/../SimE... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MarkSelden |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| go-import | github.com/PisterLab/BotNet git https://github.com/PisterLab/BotNet.git |
| octolytics-dimension-user_id | 39346591 |
| octolytics-dimension-user_login | PisterLab |
| octolytics-dimension-repository_id | 334280450 |
| octolytics-dimension-repository_nwo | PisterLab/BotNet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 334280450 |
| octolytics-dimension-repository_network_root_nwo | PisterLab/BotNet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6b91a7e6e46287d26887e3fb7a4161657bab8f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width