03-14-2018 12:04
03-14-2018 12:04
I have a Mac running High Sierra.
I've been using Fitbit Studio and would like to test the new simulator, however, it's giving me a hard time.
Whenever I try to open the simulator app it automatically closes. I've tried uninstalling and reinstalling to no avail.
Any ideas?
Best Answer03-15-2018 08:57 - edited 03-15-2018 09:07
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
03-15-2018 08:57 - edited 03-15-2018 09:07
Can you see if this log file contains any interesting information?
~/Library/Logs/Fitbit\ OS\ Simulator/log.log
Please don't paste the log here, it may contain authorisation tokens.
Best Answer03-15-2018 09:07 - edited 03-15-2018 09:12
03-15-2018 09:07 - edited 03-15-2018 09:12
Hey Jon,
Thanks for responding. I'm not sure what qualifies as interesting haha.
Just sent logs via PM.
Cheers,
Best Answer03-15-2018 09:08
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
03-15-2018 09:08
Can you send me the log via private message? Thanks
Best Answer05-10-2018 14:20
05-10-2018 14:20
I'm also trying to run the simulator (v0.5.6, as downloaded through Fitbit Studio) on Mac High Sierra (v10.13.4), and am getting the following dialog:
Simulator failed to start: getaddrinfo ENOTFOUND localhost
localhost:63981, getaddrinfo ENOTFOUND localhost
localhost:63982
The following is showing up in the log file:
[2018-05-10 17:15:51.886] [error] appsim stderr: 2018-05-10 17:15:51.738 app[47281:20185698] ASSERT_Log: Type: 26 func_addr: 0x000bf6f0 lr: 0x00000000, file: ../../fb_private/fb_system/fbsys_notification.c, line: 211, func: _removeNotification, expr: false
[2018-05-10 17:15:51.985] [info] appsim stdout: [D][17:15:51.738][] Scheduler starting dispatch time: 1525986951738
Fb_AlarmMgr_Clean is running[A][17:15:51.970][] [I][17:15:51.970][] Houston, this is Ionic!!Simulator control server starting on 127.0.0.1:63981
[A][17:15:51.970][] Press ? anytime for help
[A][17:15:51.970][] Version: 32.4.19 (Apr 18 2018 15:44:42): Fake for tests
[A][17:15:51.970][] GNU_BUILD_ID:
mfgtst $
[2018-05-10 17:15:51.986] [error] appsim stderr: [2018/05/10 17:15:51:9708] NOTICE: libuv support not compiled in
[2018/05/10 17:15:51:9743] NOTICE: Creating Vhost 'default' port -1, 1 protocols, IPv6 off
[2018/05/10 17:15:51:9758] NOTICE: created client ssl context for default
[2018/05/10 17:15:51:9758] NOTICE: Creating Vhost 'default' port 63981, 1 protocols, IPv6 off
[2018-05-10 17:15:52.001] [error] appsim stderr: 2018-05-10 17:15 app[47281] (FSEvents.framework) FSEventStreamCreate: _FSEventStreamCreate: ERROR: could not allocate 0 bytes for array of path strings
[2018-05-10 17:15:52.002] [error] appsim stderr: 2018-05-10 17:15 app[47281] (FSEvents.framework) FSEventStreamScheduleWithRunLoop(): failed assertion 'streamRef != NULL'
2018-05-10 17:15 app[47281] (FSEvents.framework) FSEventStreamStart(): failed assertion 'streamRef != NULL'
[2018-05-10 17:15:52.609] [warn] 10 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63981
[2018-05-10 17:15:52.609] [warn] 10 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63982
[2018-05-10 17:15:53.614] [warn] 9 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63981
[2018-05-10 17:15:53.614] [warn] 9 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63982
[2018-05-10 17:15:55.620] [warn] 8 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63981
[2018-05-10 17:15:55.621] [warn] 8 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63982
[2018-05-10 17:15:58.625] [warn] 7 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63981
[2018-05-10 17:15:58.625] [warn] 7 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63982
[2018-05-10 17:16:02.630] [warn] 6 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63981
[2018-05-10 17:16:02.631] [warn] 6 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63982
[2018-05-10 17:16:07.641] [warn] 5 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63981
[2018-05-10 17:16:07.642] [warn] 5 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63982
[2018-05-10 17:16:13.649] [warn] 4 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63981
[2018-05-10 17:16:13.650] [warn] 4 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63982
[2018-05-10 17:16:20.661] [warn] 3 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63981
[2018-05-10 17:16:20.661] [warn] 3 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63982
[2018-05-10 17:16:28.673] [warn] 2 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63981
[2018-05-10 17:16:28.674] [warn] 2 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63982
[2018-05-10 17:16:37.681] [warn] 1 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63981
[2018-05-10 17:16:37.682] [warn] 1 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63982
Any thoughts or suggestions? (Initially, it was also complaining about a non-existent "root/Library/Application Support/Fitbit OS Simulator/user-settings" directory - I created "root/Library/Application Support/Fitbit OS Simulator/", and then it seemed to manage to create "user-settings" on the next invocation - but I'm still getting the above error(s).
Best Answer05-10-2018 14:23
05-10-2018 14:23
BTW, if I try to execute the app via sudo at the command line, I get the following in response (ie, in the terminal shell):
[2018-05-10 17:21:31.845] [error] appsim stderr: 2018-05-10 17:21:31.679 app[47416:20203958] Calling FB_Assert_Fatal:
2018-05-10 17:21:31.680 app[47416:20203958] file: ../../fb_private/fb_system/fbsys_pkg_mgr.c
2018-05-10 17:21:31.680 app[47416:20203958] line: 289
2018-05-10 17:21:31.680 app[47416:20203958] func: (null)
2018-05-10 17:21:31.680 app[47416:20203958] msg : (null)
2018-05-10 17:21:31.680 app[47416:20203958] LR : 0x00000000
[2018-05-10 17:21:31.884] [info] appsim exit code: null (signal SIGABRT)
[2018-05-10 17:21:32.543] [warn] 10 retries left: Error: getaddrinfo ENOTFOUND localhost localhost:63981
... (ie, a bunch more retries before it finally quits retrying)
Best Answer07-03-2019 05:30
07-03-2019 05:30
thread bump
Best Answer