Title: wait_for_tstate_lock: ENGINE Waiting for thread Thread-4 · Issue #161 · orcasgit/python-fitbit · GitHub
Open Graph Title: wait_for_tstate_lock: ENGINE Waiting for thread Thread-4 · Issue #161 · orcasgit/python-fitbit
X Title: wait_for_tstate_lock: ENGINE Waiting for thread Thread-4 · Issue #161 · orcasgit/python-fitbit
Description: Hi, On mac, my console is getting stuck at "ENGINE Waiting for thread Thread-4," and traceback shows it's stuck on tstate_lock which I'm not very familiar with. Running on my windows machine (python 3.8 installed) gives the same console ...
Open Graph Description: Hi, On mac, my console is getting stuck at "ENGINE Waiting for thread Thread-4," and traceback shows it's stuck on tstate_lock which I'm not very familiar with. Running on my windows machine (pytho...
X Description: Hi, On mac, my console is getting stuck at "ENGINE Waiting for thread Thread-4," and traceback shows it's stuck on tstate_lock which I'm not very familiar with. Running on my wind...
Opengraph URL: https://github.com/orcasgit/python-fitbit/issues/161
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"wait_for_tstate_lock: ENGINE Waiting for thread Thread-4","articleBody":"Hi,\r\n\r\nOn mac, my console is getting stuck at \"ENGINE Waiting for thread Thread-4,\" and traceback shows it's stuck on tstate_lock which I'm not very familiar with. Running on my windows machine (python 3.8 installed) gives the same console output, but it will get stuck on \"ENGINE Waiting for thread Thread-5,\" there's no traceback, and I'm unable to stop the program with keyboard interrupt.\r\n\r\nI followed this tutorial: https://www.kdnuggets.com/2020/02/using-fitbit-web-api-python.html, and saw that someone commented having the same issue, but there's no resolution there yet. Any help would be appreciated.\r\n\r\n\r\n\r\n[29/Nov/2020:11:07:57] ENGINE Listening for SIGTERM.\r\n[29/Nov/2020:11:07:57] ENGINE Listening for SIGHUP.\r\n[29/Nov/2020:11:07:57] ENGINE Listening for SIGUSR1.\r\n[29/Nov/2020:11:07:57] ENGINE Bus STARTING\r\nCherryPy Checker:\r\nThe Application mounted at '' has an empty config.\r\n\r\n[29/Nov/2020:11:07:57] ENGINE Started monitor thread 'Autoreloader'.\r\n[29/Nov/2020:11:07:57] ENGINE Serving on http://127.0.0.1:8080\r\n[29/Nov/2020:11:07:57] ENGINE Bus STARTED\r\n127.0.0.1 - - [29/Nov/2020:11:07:59] \"GET /?code=66415ea7c5ae807821110a4a7a06b468ad20a958\u0026state=t6NRK0zg1N6bsD1nQbbtV7ZOMEPfyd HTTP/1.1\" 200 122 \"\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36\"\r\n[29/Nov/2020:11:08:00] ENGINE Bus STOPPING\r\n[29/Nov/2020:11:08:00] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 8080)) shut down\r\n[29/Nov/2020:11:08:00] ENGINE Stopped thread 'Autoreloader'.\r\n[29/Nov/2020:11:08:00] ENGINE Bus STOPPED\r\n[29/Nov/2020:11:08:00] ENGINE Bus EXITING\r\n[29/Nov/2020:11:08:00] ENGINE Bus EXITED\r\n[29/Nov/2020:11:08:00] ENGINE Waiting for child threads to terminate...\r\n[29/Nov/2020:11:08:00] ENGINE Waiting for thread Thread-4.\r\nTraceback (most recent call last):\r\n\r\n File \"/Users/calvintrueman/Documents/fitbit_sleep_proj/FitbitSleepScraper.py\", line 23, in \u003cmodule\u003e\r\n server.browser_authorize()\r\n\r\n File \"/Users/calvintrueman/Documents/fitbit_sleep_proj/gather_keys_oauth2.py\", line 56, in browser_authorize\r\n cherrypy.quickstart(self)\r\n\r\n File \"/Users/calvintrueman/opt/anaconda3/lib/python3.8/site-packages/cherrypy/__init__.py\", line 178, in quickstart\r\n engine.block()\r\n\r\n File \"/Users/calvintrueman/opt/anaconda3/lib/python3.8/site-packages/cherrypy/process/wspbus.py\", line 366, in block\r\n t.join()\r\n\r\n File \"/Users/calvintrueman/opt/anaconda3/lib/python3.8/threading.py\", line 1011, in join\r\n self._wait_for_tstate_lock()\r\n\r\n File \"/Users/calvintrueman/opt/anaconda3/lib/python3.8/threading.py\", line 1027, in _wait_for_tstate_lock\r\n elif lock.acquire(block, timeout):\r\n\r\nKeyboardInterrupt\r\n\r\n","author":{"url":"https://github.com/calambchops","@type":"Person","name":"calambchops"},"datePublished":"2020-11-29T21:22:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/161/python-fitbit/issues/161"}
| 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:5423560f-f91c-8729-3662-1dccfa430f3d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE38:63CEC:35BFBB4:482FC47:69730DD5 |
| html-safe-nonce | 9c46f13404f2ba9ba548d8c115f00d56897b6ff0deeb15c35387a2670c3909f3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTM4OjYzQ0VDOjM1QkZCQjQ6NDgyRkM0Nzo2OTczMERENSIsInZpc2l0b3JfaWQiOiI2ODY3Nzk4OTczMTg0NDEzMTQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f390bca062ec3a3fd90e6fcd4b52675cea056f64ce2ba97b8d8baec40d2b6da4 |
| hovercard-subject-tag | issue:753016245 |
| 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/orcasgit/python-fitbit/161/issue_layout |
| twitter:image | https://opengraph.githubassets.com/066d5fbf303ad6e95bcdf36c72d75a18efbb1a2e361d5876054c7445ecf40889/orcasgit/python-fitbit/issues/161 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/066d5fbf303ad6e95bcdf36c72d75a18efbb1a2e361d5876054c7445ecf40889/orcasgit/python-fitbit/issues/161 |
| og:image:alt | Hi, On mac, my console is getting stuck at "ENGINE Waiting for thread Thread-4," and traceback shows it's stuck on tstate_lock which I'm not very familiar with. Running on my windows machine (pytho... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | calambchops |
| hostname | github.com |
| expected-hostname | github.com |
| None | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| turbo-cache-control | no-preview |
| go-import | github.com/orcasgit/python-fitbit git https://github.com/orcasgit/python-fitbit.git |
| octolytics-dimension-user_id | 9833 |
| octolytics-dimension-user_login | orcasgit |
| octolytics-dimension-repository_id | 3472837 |
| octolytics-dimension-repository_nwo | orcasgit/python-fitbit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3472837 |
| octolytics-dimension-repository_network_root_nwo | orcasgit/python-fitbit |
| 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 | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width