Title: Exception from Threading on multiple stop_node_guarding() · Issue #224 · canopen-python/canopen · GitHub
Open Graph Title: Exception from Threading on multiple stop_node_guarding() · Issue #224 · canopen-python/canopen
X Title: Exception from Threading on multiple stop_node_guarding() · Issue #224 · canopen-python/canopen
Description: If you stop twice the Node Guarding on one Node, you will receive some Exception from the python Threading https://github.com/christiansandberg/canopen/blob/bb6b528e49aa888ee22354f2264bc7d0ada2be34/canopen/nmt.py#L186 setting the self._n...
Open Graph Description: If you stop twice the Node Guarding on one Node, you will receive some Exception from the python Threading https://github.com/christiansandberg/canopen/blob/bb6b528e49aa888ee22354f2264bc7d0ada2be34...
X Description: If you stop twice the Node Guarding on one Node, you will receive some Exception from the python Threading https://github.com/christiansandberg/canopen/blob/bb6b528e49aa888ee22354f2264bc7d0ada2be34...
Opengraph URL: https://github.com/canopen-python/canopen/issues/224
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Exception from Threading on multiple stop_node_guarding()","articleBody":"If you stop twice the Node Guarding on one Node, you will receive some Exception from the python Threading\r\nhttps://github.com/christiansandberg/canopen/blob/bb6b528e49aa888ee22354f2264bc7d0ada2be34/canopen/nmt.py#L186\r\n\r\nsetting the self._node_guarding_producer to None after stopping helps\r\n`self._node_guarding_producer = None`\r\n\r\nhttps://github.com/christiansandberg/canopen/blob/bb6b528e49aa888ee22354f2264bc7d0ada2be34/canopen/nmt.py#L181\r\n\r\nAlso a check for None before starting, would be a good condig style\r\n\r\n`if self._node_guarding_producer:\r\n self.stop_node_guarding()`","author":{"url":"https://github.com/Bundesber","@type":"Person","name":"Bundesber"},"datePublished":"2021-02-18T16:03:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/224/canopen/issues/224"}
| 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:65a3bfe4-f9ca-8cba-8281-e26800f84c82 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E914:3F705B:4031C6E:57AE404:6A5DFB1F |
| html-safe-nonce | 5c250da3610568dbcac130e8188083b51634ef3cbd448cd9aeed4e11420f6f4f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTE0OjNGNzA1Qjo0MDMxQzZFOjU3QUU0MDQ6NkE1REZCMUYiLCJ2aXNpdG9yX2lkIjoiMjk4Njg4NDAwNTA1MTEwNDAzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b0424ebe31b97dd4907956b725fb38675e0dd0ef3b85ac7f7a41a48cd01c1094 |
| hovercard-subject-tag | issue:811236521 |
| 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/canopen-python/canopen/224/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a689940afac10be93be4a5d7ed560626efe7209ab4a8bd453264ab38539bf9aa/canopen-python/canopen/issues/224 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a689940afac10be93be4a5d7ed560626efe7209ab4a8bd453264ab38539bf9aa/canopen-python/canopen/issues/224 |
| og:image:alt | If you stop twice the Node Guarding on one Node, you will receive some Exception from the python Threading https://github.com/christiansandberg/canopen/blob/bb6b528e49aa888ee22354f2264bc7d0ada2be34... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Bundesber |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7c1de870f4c0eff05971cd22970403a1239a98dc1a35e52a43594f23fc4d546f |
| turbo-cache-control | no-preview |
| go-import | github.com/canopen-python/canopen git https://github.com/canopen-python/canopen.git |
| octolytics-dimension-user_id | 200581454 |
| octolytics-dimension-user_login | canopen-python |
| octolytics-dimension-repository_id | 68737600 |
| octolytics-dimension-repository_nwo | canopen-python/canopen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 68737600 |
| octolytics-dimension-repository_network_root_nwo | canopen-python/canopen |
| 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 | e90635d4b07e4a20ff548df2e2bfea2179c6a3f3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width