Open cagnulein opened 2 years ago
Wow, that is amazing, I was hoping to do something similar with an iOS phone app, but hadn't made it very far yet. Yes, the fit file is what my site needs to get the data. You have to add the following DeveloperFields for full compatibility with these first five fields are all "RECORD" messages meaning they are stored every second: radar_ranges (signed two byte int for all 8 vehicles), radar_speeds (unsigned 1 byte int for all 8 vehicles), radar_current (unsigned two byte int, total count up to that point), passing_speed (unsigned 1 byte int, the measured relative speed of just the closest vehicle), passing_speedabs (unsigned 1 byte int, the calculated absolute speed relative plus rider speed).
The next field radar_total is an unsigned 2 byte int for the total vehicle count stored as a session field.
The final field radar_lap is the total number of cars that passed on a given lap and is stored with each lap.
I've also attached a picture of the relevant part of the code from MyBikeTrafficFitContributions.mc
I'm about to leave to race the Tour Divide so I won't be able to work much on this until I get back in July. But feel free to ask me questions here or via direct email brtoone@samford.edu and I will try to get back to you if I'm able.
Thanks! What a nice trip the Tour Divide! I will follow you on Strava if you have it! About this project, do you have something to auto upload the fit file? It would be very nice since i'm collecting a lot of informations every day on my zones!
@kartoone i'm developing this in these days. Fit file is almost ready, i will attach here a sample just to validate it.
@kartoone done, i just need how to upload automatically the file to your server. Let me know!
I haven’t gotten the auto-upload working yet. That’s a process that only works through Garmin Connect, and I have to add a script that a user can run to authorize the auto-upload. Definitely on the “to do” list!
From: Roberto Viola @.> Date: Thursday, July 7, 2022 at 7:54 AM To: kartoone/mybiketraffic @.> Cc: Toone, Brian @.>, Mention @.> Subject: [EXTERNAL]Re: [kartoone/mybiketraffic] ARadar integration (Issue #6)
@kartoonehttps://secure-web.cisco.com/1vMWIzTmiTQO3YwxN_2WdNE4icseEsl86WsLYUo8a7w2KCjGcSqPers9JO7X0qxecVnNxLWE2pDEJYo1_6VJEFEHlMYYmOVvNokbvydyt2oqXFo6DkSte64Z01ASoQlVoKOO7liOY5L8UrJOs56v81SrllrfEpZofQqBFfHYtm0T4cmBLLL72_CY3IGrY00l4PVmNkKqaRh04Ttk5_VXNWI3B4TnFePIFpfHtJsn3QMqs6rnl8s0UzMxaqUBs_asZ45w5jT2EutCmoiHBxR2xLYUrzobNoRhfeMFAB7674LdwA95Ji5QKTaEhMsJa8YJt/https%3A%2F%2Fgithub.com%2Fkartoone done, i just need how to upload automatically the file to your server. Let me know!
— Reply to this email directly, view it on GitHubhttps://secure-web.cisco.com/1ldyZpXo2bAoeYxTuo-60OHQYkz7xsqA-3z1AlArmTFGvQe-IKOSUJQXEBZ3cHImys5VoCiDDe-hpjW5dy1M-PxLj7romhJhllZPTYe4X-ScediS4BCKC831QK8ptsXHqX1HJXGJ9kbeNVnmCN-Qg-zCzFNC-_c5Y1T43Zwog4MuzFzZ7l6vvFaHj-V_2JmOYO18_uUnL-MBmIxiSl4uIcdBzhSZ54QDE4gb46yT9nn2-1QwYSu3EFrDHCja8-_CF3Yh0Ykkrnq_68MzpEX1xkD0lp5wTYw3wokSbRc9qef4AqCfvLEcsGtvERntsah8Z/https%3A%2F%2Fgithub.com%2Fkartoone%2Fmybiketraffic%2Fissues%2F6%23issuecomment-1177567228, or unsubscribehttps://secure-web.cisco.com/1mF5zsZw7VBD_zn_6M66zdmYZwdtKKCVcFls8k6DPCtGlwyxJ0zIgwivDB-_cua695fkcnyUEaXzs0pVGkfThW2EJTRHNMQUyfaiZpnxBrLARZ85uhetP997yX-z3z1Zy0YNc92nDPPGKP5t4X0u1M8sNlh2WDJ5R2oxq9Uj8IxPIpR04y0-_bQTF1Q4be3Yf8cT8Q1-MrAvHbPPFhWB62dGJS53TVA06R_su_-2K8JavatX8Y1RXdpRmkCkdlg1FlWAmfxnKWih7B7QNKsawflrZ2RCLfE0iB-vMkg1qmpiRry8TXwtJek2vasyNGSd4/https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAVKXO5K2O2SKCXBOATBZQDVS3HPBANCNFSM5XDWQMDQ. You are receiving this because you were mentioned.Message ID: @.***>
hah ok, good to know! If you have a sample file I can check if my integration is 100% compatible I tried to upload a file on your website but i found a lot of php errors Let me know
hi @kartoone I hope your trip went ok! Can you upload a sample file from your app so I can match it to mine?
My app is working ok but i would like to add the compatibility to your portal
https://user-images.githubusercontent.com/48216/180928404-40cc2c9d-b8c5-4654-bbb5-1b152c9e5435.MOV
Sorry for the delay in getting back to you, the trip was amazing ... here is a sample FIT file ... let me know if you have any issues decoding it to see the individual records. I believe there are RECORD messages as well as LAP messages as well as SESSION messages to look for. I went ahead and uploaded that FIT file to my account and here is the corresponding ride: https://www.mybiketraffic.com/rides/view/25403 2022-07-08-17-32-18.fit.zip
Great! Thanks for the file While i'm comparing them, this is a file from aradar
These are the errors that I got from your site when I try to import it
A PHP Error was encountered Severity: Warning
Message: unlink(/var/www/mybiketraffic/uploads/3544/): Is a directory
Filename: models/Rides_model.php
Line Number: 385
Backtrace:
File: /var/www/mybiketraffic/application/models/Rides_model.php Line: 385 Function: unlink
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 301 Function: import
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
A PHP Error was encountered Severity: Notice
Message: Trying to access array offset on value of type bool
Filename: controllers/Rides.php
Line Number: 302
Backtrace:
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 302 Function: _error_handler
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
Thanks the most common reason for that specific error is trying to upload a ZIP file instead of a .FIT file. Try unzipping/extract the file first and uploading it directly.
@kartoone nope, it was the fit file directly
@kartoone did you try this one https://github.com/kartoone/mybiketraffic/files/9190701/1658835969.079585.zip (unzipping it of course ;) ) ?
Thanks for the update, my apologies, I’ve seen that error before and assumed this was the reason but upon further investigation, I am getting the same error you were. I’m going to investigate more today and will get back to you ASAP.
Brian Toone, PhD Mathematics and Computer Science 205-726-2960<tel:+1205-726-2960> | office @.**@.> http://cs.briantoone.com 800 Lakeshore Drive Birmingham, AL 35229https://maps.google.com/maps?q=800+Lakeshore+Drive,+Birmingham,+AL+35229,+US
From: Roberto Viola @.> Date: Friday, September 2, 2022 at 8:21 AM To: kartoone/mybiketraffic @.> Cc: Toone, Brian @.>, Mention @.> Subject: [EXTERNAL]Re: [kartoone/mybiketraffic] ARadar integration (Issue #6) This email originated from outside of Samford University. Please consider carefully whether you should click on any links, open any attachments, or provide any information.
@kartoonehttps://secure-web.cisco.com/18fxk_X3S6h3aEV78fOC2JjuWaJ2tOEwvBEOSa8txqfcFRUnCvK7xYDyGJReGx7W0AgYM6KcJtxOhBOGOgApEoupNdI8Pw0_d6tn5Tq15NdWBULco_OEuUKZKpktP5VLDYDB-JGuSDFDQOSBr1GzMAM2KC9RYIebm39SU39gmNZT1w5bA-gA-lk13zXNSipj0QTu-rmTBGxnJM9-Arb5nBycnPuXzdXHWI9iCUzNqN5k7Hb60TlR07zXj6okfyutlm6U8oLR1DthR7RkQ_3nSypu7HsZ2JvozI_0twS7DaSisAGr_8TJMKjEGEuEyhmRY/https%3A%2F%2Fgithub.com%2Fkartoone did you try this one https://github.com/kartoone/mybiketraffic/files/9190701/1658835969.079585.ziphttps://secure-web.cisco.com/1xwxM3iceRLlJLZDOsx-O6zC-HhYa8-JdN5tPeygiAIG9OhPyrNpboSkOACb735EFSEfb4Oj7uvQ4bl3vp1eA1qcXf4PSvPfrnCl__7nqwGldkumlZo8qrClXP2jwchk5TnlB9PUs_OCnGjbrMcJXekYQUaBvOcpF-aqEEiget_uwoRxUpvM4QtmEwrY5RjLql3FHYK-wykb7wHTlh8pX5j_NOwXD_O2IOse-paMmw_U_s1W3FmAwxRXjcrsHCnXbWpldBx90VCYVDCHLos07aIvbXlAaL5ss_7aVXjecvQIz_Qh411JKcDLfVDgjrUp6/https%3A%2F%2Fgithub.com%2Fkartoone%2Fmybiketraffic%2Ffiles%2F9190701%2F1658835969.079585.zip (unzipping it of course ;) ) ?
— Reply to this email directly, view it on GitHubhttps://secure-web.cisco.com/1G6xtbl4v3Rn9VQP6o3EDv8bpcM7_R2PTQ3d7WLdsm9Y3CIcHYlisWM8gxn0jAP1lJJysu7sVWURAX34TJ-gPuD0kDrGXb2CB6BKM3z5JXyVS0kXUfpQaalCNPGRg_5IWWk5iTlZS6cQX6G3dtLLTKPAsrbLIZegHoH9RIpihBk0Q7ahCi1A28xqHR7N7DSCdHnLrIyFr_l_e41LnVdNs-iJMK1zfHhAmf4Z6GnFRzqD99ZZ2wDasywia3pLzEIjnwBGfAcZRNsWeVUP8QjCuX4clfavRDP9lmugGNEPAQY3sRuIUJx6Hs1LNRpYUIvbI/https%3A%2F%2Fgithub.com%2Fkartoone%2Fmybiketraffic%2Fissues%2F6%23issuecomment-1235499117, or unsubscribehttps://secure-web.cisco.com/1HiJYg-iLbW_CPstysWZycHgvchWQi2IEI31maJV9LrJXG6zobrNaEmNp_UfyH0TbAfChPpXnfi98aOC5aNDiAx5fmSK3fx04qXdXjus40quhoydiqapt7nEAbnqtI17KwVlAZQ39BAKu6BmDMwCTIVkfnvlEbG6fX5LtQ7d9rDh3RKLHfJElobWhDvngm2tB4rY6OY3En95Q7SefWFq7oIp6tT_FuUqUAEN70BK8ueBGrJE2uAbU7emOwXgeFYsxxR7d_T9F1HqfsAIr22UBBV6nDdlhzYQDMzhlV9f2mqi6dX3XnWkMyvuSWYI2Z1LR/https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAVKXO7FEHFLADFMNRMYEV3V4H5LTANCNFSM5XDWQMDQ. You are receiving this because you were mentioned.Message ID: @.***>
Should be all fixed now. Try uploading that FIT file again.
From: Toone, Brian @.> Date: Friday, September 2, 2022 at 8:28 AM To: kartoone/mybiketraffic @.> Subject: Re: [EXTERNAL]Re: [kartoone/mybiketraffic] ARadar integration (Issue #6) Thanks for the update, my apologies, I’ve seen that error before and assumed this was the reason but upon further investigation, I am getting the same error you were. I’m going to investigate more today and will get back to you ASAP.
Brian Toone, PhD Mathematics and Computer Science 205-726-2960<tel:+1205-726-2960> | office @.**@.> http://cs.briantoone.com 800 Lakeshore Drive Birmingham, AL 35229https://maps.google.com/maps?q=800+Lakeshore+Drive,+Birmingham,+AL+35229,+US
From: Roberto Viola @.> Date: Friday, September 2, 2022 at 8:21 AM To: kartoone/mybiketraffic @.> Cc: Toone, Brian @.>, Mention @.> Subject: [EXTERNAL]Re: [kartoone/mybiketraffic] ARadar integration (Issue #6) This email originated from outside of Samford University. Please consider carefully whether you should click on any links, open any attachments, or provide any information.
@kartoonehttps://secure-web.cisco.com/18fxk_X3S6h3aEV78fOC2JjuWaJ2tOEwvBEOSa8txqfcFRUnCvK7xYDyGJReGx7W0AgYM6KcJtxOhBOGOgApEoupNdI8Pw0_d6tn5Tq15NdWBULco_OEuUKZKpktP5VLDYDB-JGuSDFDQOSBr1GzMAM2KC9RYIebm39SU39gmNZT1w5bA-gA-lk13zXNSipj0QTu-rmTBGxnJM9-Arb5nBycnPuXzdXHWI9iCUzNqN5k7Hb60TlR07zXj6okfyutlm6U8oLR1DthR7RkQ_3nSypu7HsZ2JvozI_0twS7DaSisAGr_8TJMKjEGEuEyhmRY/https%3A%2F%2Fgithub.com%2Fkartoone did you try this one https://github.com/kartoone/mybiketraffic/files/9190701/1658835969.079585.ziphttps://secure-web.cisco.com/1xwxM3iceRLlJLZDOsx-O6zC-HhYa8-JdN5tPeygiAIG9OhPyrNpboSkOACb735EFSEfb4Oj7uvQ4bl3vp1eA1qcXf4PSvPfrnCl__7nqwGldkumlZo8qrClXP2jwchk5TnlB9PUs_OCnGjbrMcJXekYQUaBvOcpF-aqEEiget_uwoRxUpvM4QtmEwrY5RjLql3FHYK-wykb7wHTlh8pX5j_NOwXD_O2IOse-paMmw_U_s1W3FmAwxRXjcrsHCnXbWpldBx90VCYVDCHLos07aIvbXlAaL5ss_7aVXjecvQIz_Qh411JKcDLfVDgjrUp6/https%3A%2F%2Fgithub.com%2Fkartoone%2Fmybiketraffic%2Ffiles%2F9190701%2F1658835969.079585.zip (unzipping it of course ;) ) ?
— Reply to this email directly, view it on GitHubhttps://secure-web.cisco.com/1G6xtbl4v3Rn9VQP6o3EDv8bpcM7_R2PTQ3d7WLdsm9Y3CIcHYlisWM8gxn0jAP1lJJysu7sVWURAX34TJ-gPuD0kDrGXb2CB6BKM3z5JXyVS0kXUfpQaalCNPGRg_5IWWk5iTlZS6cQX6G3dtLLTKPAsrbLIZegHoH9RIpihBk0Q7ahCi1A28xqHR7N7DSCdHnLrIyFr_l_e41LnVdNs-iJMK1zfHhAmf4Z6GnFRzqD99ZZ2wDasywia3pLzEIjnwBGfAcZRNsWeVUP8QjCuX4clfavRDP9lmugGNEPAQY3sRuIUJx6Hs1LNRpYUIvbI/https%3A%2F%2Fgithub.com%2Fkartoone%2Fmybiketraffic%2Fissues%2F6%23issuecomment-1235499117, or unsubscribehttps://secure-web.cisco.com/1HiJYg-iLbW_CPstysWZycHgvchWQi2IEI31maJV9LrJXG6zobrNaEmNp_UfyH0TbAfChPpXnfi98aOC5aNDiAx5fmSK3fx04qXdXjus40quhoydiqapt7nEAbnqtI17KwVlAZQ39BAKu6BmDMwCTIVkfnvlEbG6fX5LtQ7d9rDh3RKLHfJElobWhDvngm2tB4rY6OY3En95Q7SefWFq7oIp6tT_FuUqUAEN70BK8ueBGrJE2uAbU7emOwXgeFYsxxR7d_T9F1HqfsAIr22UBBV6nDdlhzYQDMzhlV9f2mqi6dX3XnWkMyvuSWYI2Z1LR/https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAVKXO7FEHFLADFMNRMYEV3V4H5LTANCNFSM5XDWQMDQ. You are receiving this because you were mentioned.Message ID: @.***>
@kartoone The upload process now starts but I'm still seeing this errors
A PHP Error was encountered Severity: Warning
Message: unlink(/var/www/mybiketraffic/uploads/3544/): Is a directory
Filename: models/Rides_model.php
Line Number: 402
Backtrace:
File: /var/www/mybiketraffic/application/models/Rides_model.php Line: 402 Function: unlink
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 328 Function: import
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
A PHP Error was encountered Severity: Notice
Message: Trying to access array offset on value of type bool
Filename: controllers/Rides.php
Line Number: 329
Backtrace:
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 329 Function: _error_handler
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
I had to delete the previous file in order to upload it again (same file used)
Ah, yes, I had manually renamed your FIT file to take out the extra “.” in the filename before uploading it. I’ve fixed the site now so that it can handle filenames with an extra “.” somewhere in the filename. Try one more time and let me know if you are still getting that error. Also, many thanks for helping me track down this problem.
Thanks, Brian
From: Roberto Viola @.> Date: Saturday, September 3, 2022 at 12:23 AM To: kartoone/mybiketraffic @.> Cc: Toone, Brian @.>, Mention @.> Subject: [EXTERNAL]Re: [kartoone/mybiketraffic] ARadar integration (Issue #6) This email originated from outside of Samford University. Please consider carefully whether you should click on any links, open any attachments, or provide any information.
@kartoonehttps://secure-web.cisco.com/1WXS3Is6uWP4Uhl52qEFg-VGy97LGwVpceltKy_hsPz3y8qiHW4JYApMKFs_4MeJLdRt-ZtSfGPZkX-zoK7J6kdGHusjxoKN3_mtuo8vmzfFmhggVaJLBxTNi0l2uGWn7iIgA167MSzdCGbn3D-eJ_Oiy1PSSdS5CbQqiWfTNPWi4lBPv_TqJNJ6v3e66-2hNEIX4vX1PU1J5i7qn539Cv5dD6l5CpZKaBsW-CblAA0XSq9AbUvOHQNw25DU4UxXp3kwJjZCbMHq0sk_L_HgwjYdhVKvkTgzjiI1WH9QEqT2NF6BowceMqzvU3woY4FuA/https%3A%2F%2Fgithub.com%2Fkartoone The upload process now starts but I'm still seeing this errors
A PHP Error was encountered Severity: Warning
Message: unlink(/var/www/mybiketraffic/uploads/3544/): Is a directory
Filename: models/Rides_model.php
Line Number: 402
Backtrace:
File: /var/www/mybiketraffic/application/models/Rides_model.php Line: 402 Function: unlink
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 328 Function: import
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
A PHP Error was encountered Severity: Notice
Message: Trying to access array offset on value of type bool
Filename: controllers/Rides.php
Line Number: 329
Backtrace:
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 329 Function: _error_handler
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
I had to delete the previous file in order to upload it again (same file used)
— Reply to this email directly, view it on GitHubhttps://secure-web.cisco.com/1bY4tM-sRx_tYp4SRuCsKIzrBk3ln9pfLvOUfdgdR3yhYi6jj5mp--OkDDDYGoz_y1ebp3nttMbWfvhet5JveK-5TKE-tS0mYRSsy23GDexi2KmrTyxuTu34itfRH7dGrQYInByxsLrUa7u4y2UhfdysVbMDfG45NLf3UFOHByEZ2uwyfz48YhBpJLzaWpSWoSoiTXQIYkAtIJRkXwchDvQwVoNUCL_bvqnm-b1emx8Uju7ppScfHe_aHjAFHD8fxZdRMArXfeZwz4SCipbk8TNPTnTwW_c_wak0yVJ_Cq4olKXDPnbmPbeZOobBxDbOG/https%3A%2F%2Fgithub.com%2Fkartoone%2Fmybiketraffic%2Fissues%2F6%23issuecomment-1236052031, or unsubscribehttps://secure-web.cisco.com/1lRJCCC6aSJy6O6W9BEQEOXbiel-1JxO_gEF5b2aHag8MoURvMs7XJo82oJBGd3vnXQRLNmFEbOu53XfjXpM4lxQDtDG7dlMJjtjCt7GyNqOmHqOyOvuWtOgaaiHKz8_invywy2sBBdBZxaBOLv87hJm1PVGHUNIJh1uCGYjXIO6MGfsGyzAEMkFexcRFaAXQjNzpwc62WzOBV6JvKjjPZTCoPQiPrepfbnZnguOH1pAWFkw-Vk4upy86TkRA0ARF1TO2SCKc3Z-T8tYMJ9p0u0IQyLlHCOQhk3p5QZQJu82h0_JqL9d1eAvZX4h5n1QV/https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAVKXOZJBWDT5PZF3PHC443V4LOETANCNFSM5XDWQMDQ. You are receiving this because you were mentioned.Message ID: @.***>
hi @kartoone sorry to be a pain, but I had the same error
A PHP Error was encountered Severity: Notice
Message: Undefined variable: user_id
Filename: controllers/Rides.php
Line Number: 329
Backtrace:
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 329 Function: _error_handler
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
A PHP Error was encountered Severity: Notice
Message: Undefined index: extension
Filename: models/Rides_model.php
Line Number: 386
Backtrace:
File: /var/www/mybiketraffic/application/models/Rides_model.php Line: 386 Function: _error_handler
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 329 Function: import
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
A PHP Error was encountered Severity: Notice
Message: Trying to access array offset on value of type bool
Filename: controllers/Rides.php
Line Number: 330
Backtrace:
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 330 Function: _error_handler
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
Try logging in again, if you still had the screen open it may have logged you out without giving any indication, which is another problem I’d like to fix. It doesn’t keep you logged in for more than about 30 minutes to an hour. I was able to upload this file you emailed me without any errors or renaming it: 1658835969.079585.fit
From: Roberto Viola @.> Date: Saturday, September 3, 2022 at 11:31 AM To: kartoone/mybiketraffic @.> Cc: Toone, Brian @.>, Mention @.> Subject: [EXTERNAL]Re: [kartoone/mybiketraffic] ARadar integration (Issue #6) This email originated from outside of Samford University. Please consider carefully whether you should click on any links, open any attachments, or provide any information.
hi @kartoonehttps://secure-web.cisco.com/1P-eiRHklRs78qVvV8tJ_fvPcR5kW-CdrroFFzPZCb57fkNsXAvVKTpk3AI-KtBTyAnG7LZKQzJyOFyK07uKsFTUonkXRg3layTJO64wvf3kmUAkPqkYpjlZfxJ7A_r9w_doLNiAT7koooghd4WEBNb3qlPS0q_5yAccWM7mWON0SJoCkCulNJCysPdHIxv-5kLRp2A_xLjdZtbkbfGxvYqNs19hrZcR2ZO6ZF8GsU4XSsQFxnyCQBwHpbMiQ-cZwYDuGuotLBSeVZvjSa8_icgZUbj7yILTpR4CSad5Ant9FaFkjErsLEbuoFoUHLwGU/https%3A%2F%2Fgithub.com%2Fkartoone sorry to be a pain, but I had the same error
A PHP Error was encountered Severity: Notice
Message: Undefined variable: user_id
Filename: controllers/Rides.php
Line Number: 329
Backtrace:
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 329 Function: _error_handler
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
A PHP Error was encountered Severity: Notice
Message: Undefined index: extension
Filename: models/Rides_model.php
Line Number: 386
Backtrace:
File: /var/www/mybiketraffic/application/models/Rides_model.php Line: 386 Function: _error_handler
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 329 Function: import
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
A PHP Error was encountered Severity: Notice
Message: Trying to access array offset on value of type bool
Filename: controllers/Rides.php
Line Number: 330
Backtrace:
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 330 Function: _error_handler
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
— Reply to this email directly, view it on GitHubhttps://secure-web.cisco.com/1-DH8ljRkAAONurJ0T7Fqc4rX3ERkbjpozZImGccjunExHitoBbdgv-3UPrlSztpmIlzuehPG1Lb_BK8dAhKxNUKYDRZ66EBqAGAKC-eCHf01ug5EakR9oRoymRTD6XRM_GkcspyzABmYVqZKSJkbf1Fm0GYSE1ROEVidDtz6q1VSwvjhgaRHtXed-bFc_7YorjiVboABPuaukjV9P7SKTz64cu0J_X1c46VkVbzNdzaTllM_nEbkmjxUfH8sgIK7U3k4tkuP4UG4bQ7vuOk-5rCieT5UKTJY9ZsRWBI6QLJBC0FJ_Dxgv6gu-gxtKyuE/https%3A%2F%2Fgithub.com%2Fkartoone%2Fmybiketraffic%2Fissues%2F6%23issuecomment-1236159770, or unsubscribehttps://secure-web.cisco.com/1yyh1UBZrXmKjZzwCHhCSBtsA6pOpLXE8Cs_fKn2yi7I72x2gQcdjdcfHxdOSMia0oK5pYaKETbtafrD3L-fsuO3OYR5UAS6mXWsywkBRWo3o10iMZgpr56iGE0weP1RPP8Dgudpz2KwEvUWxevACcPDD54j5xVUYtkEL5DHZWB0tcxC2zfcxSJSo7h6kYsLLAu1oJXejJgCj_rVAti6VWkCTHMQRqNJPep_rc_n7P-CnY_8Ji-MAaIUpsmMYtxNtuUnOZFGD282Wa6GtgW1lHW75jmhOkjCTGoTt7MWyBAhxSI_Rg0fwI96KhYlDlD9e/https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAVKXO4CXUCCVPADGFXDMLDV4N4OXANCNFSM5XDWQMDQ. You are receiving this because you were mentioned.Message ID: @.***>
Also, do you have JavaScript disabled for the site? Even if you are able to get the import to work, you won’t be able to view the ride without javascript enabled. The reason why I ask is it looks like you manually clicked the “upload” button which you should only have to do if you have javascript disabled. Otherwise, it should upload automatically once you select one or more files. Much of the website depends on JavaScript being enabled. Brian
From: Toone, Brian @.> Date: Saturday, September 3, 2022 at 3:59 PM To: kartoone/mybiketraffic @.> Subject: Re: [EXTERNAL]Re: [kartoone/mybiketraffic] ARadar integration (Issue #6) Try logging in again, if you still had the screen open it may have logged you out without giving any indication, which is another problem I’d like to fix. It doesn’t keep you logged in for more than about 30 minutes to an hour. I was able to upload this file you emailed me without any errors or renaming it: 1658835969.079585.fit
From: Roberto Viola @.> Date: Saturday, September 3, 2022 at 11:31 AM To: kartoone/mybiketraffic @.> Cc: Toone, Brian @.>, Mention @.> Subject: [EXTERNAL]Re: [kartoone/mybiketraffic] ARadar integration (Issue #6) This email originated from outside of Samford University. Please consider carefully whether you should click on any links, open any attachments, or provide any information.
hi @kartoonehttps://secure-web.cisco.com/1P-eiRHklRs78qVvV8tJ_fvPcR5kW-CdrroFFzPZCb57fkNsXAvVKTpk3AI-KtBTyAnG7LZKQzJyOFyK07uKsFTUonkXRg3layTJO64wvf3kmUAkPqkYpjlZfxJ7A_r9w_doLNiAT7koooghd4WEBNb3qlPS0q_5yAccWM7mWON0SJoCkCulNJCysPdHIxv-5kLRp2A_xLjdZtbkbfGxvYqNs19hrZcR2ZO6ZF8GsU4XSsQFxnyCQBwHpbMiQ-cZwYDuGuotLBSeVZvjSa8_icgZUbj7yILTpR4CSad5Ant9FaFkjErsLEbuoFoUHLwGU/https%3A%2F%2Fgithub.com%2Fkartoone sorry to be a pain, but I had the same error
A PHP Error was encountered Severity: Notice
Message: Undefined variable: user_id
Filename: controllers/Rides.php
Line Number: 329
Backtrace:
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 329 Function: _error_handler
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
A PHP Error was encountered Severity: Notice
Message: Undefined index: extension
Filename: models/Rides_model.php
Line Number: 386
Backtrace:
File: /var/www/mybiketraffic/application/models/Rides_model.php Line: 386 Function: _error_handler
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 329 Function: import
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
A PHP Error was encountered Severity: Notice
Message: Trying to access array offset on value of type bool
Filename: controllers/Rides.php
Line Number: 330
Backtrace:
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 330 Function: _error_handler
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
— Reply to this email directly, view it on GitHubhttps://secure-web.cisco.com/1-DH8ljRkAAONurJ0T7Fqc4rX3ERkbjpozZImGccjunExHitoBbdgv-3UPrlSztpmIlzuehPG1Lb_BK8dAhKxNUKYDRZ66EBqAGAKC-eCHf01ug5EakR9oRoymRTD6XRM_GkcspyzABmYVqZKSJkbf1Fm0GYSE1ROEVidDtz6q1VSwvjhgaRHtXed-bFc_7YorjiVboABPuaukjV9P7SKTz64cu0J_X1c46VkVbzNdzaTllM_nEbkmjxUfH8sgIK7U3k4tkuP4UG4bQ7vuOk-5rCieT5UKTJY9ZsRWBI6QLJBC0FJ_Dxgv6gu-gxtKyuE/https%3A%2F%2Fgithub.com%2Fkartoone%2Fmybiketraffic%2Fissues%2F6%23issuecomment-1236159770, or unsubscribehttps://secure-web.cisco.com/1yyh1UBZrXmKjZzwCHhCSBtsA6pOpLXE8Cs_fKn2yi7I72x2gQcdjdcfHxdOSMia0oK5pYaKETbtafrD3L-fsuO3OYR5UAS6mXWsywkBRWo3o10iMZgpr56iGE0weP1RPP8Dgudpz2KwEvUWxevACcPDD54j5xVUYtkEL5DHZWB0tcxC2zfcxSJSo7h6kYsLLAu1oJXejJgCj_rVAti6VWkCTHMQRqNJPep_rc_n7P-CnY_8Ji-MAaIUpsmMYtxNtuUnOZFGD282Wa6GtgW1lHW75jmhOkjCTGoTt7MWyBAhxSI_Rg0fwI96KhYlDlD9e/https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAVKXO4CXUCCVPADGFXDMLDV4N4OXANCNFSM5XDWQMDQ. You are receiving this because you were mentioned.Message ID: @.***>
@kartoone i'm using Chrome on MacOS on M1. Javascript enabled. I logged out and log in it back. Same result. It parses the file, I saw the stats, but when i press the upload button it's always print that errors. I'm selecting metric unit if it matters.
It's not a big deal for me, I'm using Aradar for browsing my ride, so no hurry from me :)
Ah, now I understand. Once you see the stats, the ride is already uploaded. There is no need to click the upload button. You can see the uploaded rides by clicking “Your Rides” in the menu at the top and the ride should be there. I have just updated the UI on that page to make it clearer and add a direct link to the ride from the upload page.
From: Roberto Viola @.> Date: Monday, September 5, 2022 at 1:32 AM To: kartoone/mybiketraffic @.> Cc: Toone, Brian @.>, Mention @.> Subject: [EXTERNAL]Re: [kartoone/mybiketraffic] ARadar integration (Issue #6) This email originated from outside of Samford University. Please consider carefully whether you should click on any links, open any attachments, or provide any information.
@kartoonehttps://secure-web.cisco.com/1NmVhsvCBSxw5ILrlnefhCYncMx9xkF2os82MFxioSCgnfhlnhnVYsDN9BUMmG_OiGX60U424KzjvgKmay_MWIy68BimB8KSl2taseQA8ucgbCHucn3JmBRYN8s6USLXib5EyztMRbS_6KKu5W2-h_vIFB4Ll4xTrDKxdlOBjy7tGTfX3JK9nZ3eMQsGKuXRttp2KeJjXLI1yBCSMFOggoxlZca4GMPXkVf3YiLU9qIo7mR42WoALhdEO2tCTWPHlUNPwpP4_QIvCTGhLU2ae1YStZ3OCDQ9ASSJ5V37fx47KEs0bmFkAw0soFK95ppe1/https%3A%2F%2Fgithub.com%2Fkartoone i'm using Chrome on MacOS on M1. Javascript enabled. I logged out and log in it back. Same result. It parses the file, I saw the stats, but when i press the upload button it's always print that errors. I'm selecting metric unit if it matters.
It's not a big deal for me, I'm using Aradar for browsing my ride, so no hurry from me :)
— Reply to this email directly, view it on GitHubhttps://secure-web.cisco.com/1TekX6tWIMn2mgiNI7Ra2ozrTti_fE67V3RdeA034_2FsHxim31LvIyU7QcQ-di9UMYIbJFmXbg8uaFqvY-zcuQkRLIp2wy8hhKxovtUCxBWsAJBMyMeB_Y4P8LjOoqAMHBS4YKJUTbNXrWWP3SjUVSA0dWaRNmcemZNu8HZdf95S7TSeFjY2NBvxGjevivglTRdlR2y7EI9DmrhahbouSkRCEL1w8DHhHofVQHhimUVVcSRQCXsZ9lztfuf8PiW025zeR4kt-EVB869OuwpLMdNaq87Xz009t4d0gFuaOvJpIUhXZH9i_dwAVl5EkzWS/https%3A%2F%2Fgithub.com%2Fkartoone%2Fmybiketraffic%2Fissues%2F6%23issuecomment-1236588320, or unsubscribehttps://secure-web.cisco.com/1WrIefjMTcPIevF-Z_zQB-noV6GXNihlh3eQuWM_nx9oXT2dS9FyAxENpq-jLe8wnMA0CXbGITpPv0Hd8bs_op5fwNnlrAJtPXjP5OeN9U3Ce3mSAruCQ2z8aedvxQX0lM0zlb0pUQOmVo05RMJXvH70mkVeNFVjxEtYWhplz6doAUJ8aEUzVJAz1e4O4VYRCvgnam8yfzGjxO8iSaI0DmJSRHrMlYKmgBo7HCC7JJkYztGcUN4G2YAq7Ab8eN-RU4uCv39NAmkgXZzvsOq03dxHRHY_JBMX_SnY-aoGje4B_aBngpebdZxiQnZjH7fPL/https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAVKXO7YRZZF4EYVVCIO7T3V4WHXTANCNFSM5XDWQMDQ. You are receiving this because you were mentioned.Message ID: @.***>
hah ok! So it was a stupid user error :D I guess we can close this unless you want to keep this open for the upload API
Nah, no such thing as a stupid user error, that just means the UI wasn’t clear enough. I could see how you might interpret it as a pre-processing step before the actual upload/import into your account. That upload button was how it worked before I added the drag/drop area. I kept it around because it enables compatibility with javascript disabled browsers, but you need javascript enabled for pretty much most of the site so I’ve just deleted the button. Also, yes, let’s keep the issue open as it will hopefully motivate me to get the auto-upload / sync to mybiketraffic finally implemented.
From: Roberto Viola @.> Date: Monday, September 5, 2022 at 7:52 AM To: kartoone/mybiketraffic @.> Cc: Toone, Brian @.>, Mention @.> Subject: [EXTERNAL]Re: [kartoone/mybiketraffic] ARadar integration (Issue #6) This email originated from outside of Samford University. Please consider carefully whether you should click on any links, open any attachments, or provide any information.
hah ok! So it was a stupid user error :D I guess we can close this unless you want to keep this open for the upload API
— Reply to this email directly, view it on GitHubhttps://secure-web.cisco.com/1uCPTGGFRm88gH3b1aN9_MXEFKAp1WSCDDubsmBr0njJxNkoMuSjF_sElwzFztjqX7an2GtxMI2OQA6n0bcsJ7raCqnmXJD-UIQWIpNGHzOJiBkICC5NeMEGZjORrNqowydSxN4MkxxN6s8S7aOKOUleujen79JSzPOk0a7wHasziXRdAk2bzJGU6j7b0EPYjnMdJJd0ENAnABXEhvhXtUZHfFc7GUdNHsbnssC6DU3_pYvqhsVUR2WQU6QRfcL6UKOk4A7A498bR-B4-AxDCGhA4g6xUdNXS6mV7tj9b3F2BWXk--MgMfnxRVA3JqAhx/https%3A%2F%2Fgithub.com%2Fkartoone%2Fmybiketraffic%2Fissues%2F6%23issuecomment-1236976969, or unsubscribehttps://secure-web.cisco.com/1DiE8Jqs209MTnhoKZ6jheokLFUVdZkdfQ5GPo09vuuv9na5SDNZIYz7jPvCzCF2ZT1jdBHNaHdHLzXPZLqPSAUkik4B3V8PB9Vq3Ao56muzW9tlF24e_Maokf4du58jbOKqt-Gma3RZh32BzuA5b92b83stitf9nCPBqw_NxjLeoloAs0hgkF20_zY7AjN5agYehPV9_f4RrSXWiQEs5aBB1jVjMIuKWrWCSUvUWb4tT8xVECWPYmfsiejycZPIiZecb3Fk9-ScoX9IzudOVTVTBWBv2zJNXmXvtKKh_ywBP8yvWC74JnSr_nPCXRKvj/https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAVKXO3S2QPX5OVJR2RFECTV4XUJBANCNFSM5XDWQMDQ. You are receiving this because you were mentioned.Message ID: @.***>
Make sure you unzip it first?
From: Roberto Viola @.> Date: Tuesday, July 26, 2022 at 9:44 AM To: kartoone/mybiketraffic @.> Cc: Toone, Brian @.>, Mention @.> Subject: [EXTERNAL]Re: [kartoone/mybiketraffic] ARadar integration (Issue #6)
These are the errors that I got from your site when I try to import it
A PHP Error was encountered Severity: Warning
Message: unlink(/var/www/mybiketraffic/uploads/3544/): Is a directory
Filename: models/Rides_model.php
Line Number: 385
Backtrace:
File: /var/www/mybiketraffic/application/models/Rides_model.php Line: 385 Function: unlink
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 301 Function: import
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
A PHP Error was encountered Severity: Notice
Message: Trying to access array offset on value of type bool
Filename: controllers/Rides.php
Line Number: 302
Backtrace:
File: /var/www/mybiketraffic/application/controllers/Rides.php Line: 302 Function: _error_handler
File: /var/www/mybiketraffic/index.php Line: 315 Function: require_once
— Reply to this email directly, view it on GitHubhttps://secure-web.cisco.com/1kLw5K4BxR0eX_7hQDFM9w93fIMBvQcVolAKC2W-7JMVJ_QIKy-EesMZWF8ceexKhYs96Bgu-1FS95DrStsyJOlyai4F-W7eKheTGEuFyqsEs03GsWVZVFCgfgj8w5u8wJ6gUfm_bexEuQVzvQdnT6rDHRn1lrQqmKUFp8vuffqnbIKY-c1rnpV8loimqAJ6larmlNk7MHd6mEK1qkPqsiXtYY-534LVQqAoBSyvxhtQhfEowat5-0NarQ69gHERhVtqgtQDC8H77ZRZbmP4J5vLV8tTfJTt0o1Wio7XQf3QxKY13a94ptjuCP1c6sa09/https%3A%2F%2Fgithub.com%2Fkartoone%2Fmybiketraffic%2Fissues%2F6%23issuecomment-1195577276, or unsubscribehttps://secure-web.cisco.com/1YT4YwIifoxNjtWpIUiZjDTG-C2jV8lwpAsXMBy8PlHor8W3GqAgIODxeUDbkcyX5kHLw4DKyrr7sZGQAuWkLn1InuxK1TMdB0NBVLlVfEB0kQnQ4tz17U6YfByfbyRXh8trTdrFE65kWVreynn-NNxHlsCzApxkRgzc-bWVHq-jmFpf53ooCsQSNUExZFzUOWPRzr4apZexmZvNGERS1Mc13eVK3CygxPPhSq93LRerpSz66zru1yEvu-RTHVKnADc-wpCqnWDfvpdIeLZqZbb9NU69oVd9gpcU_uEiPsgFGFlnNe8RxLtEkB4_-Hbpf/https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAVKXO3M4Z3RMDRFRE6ZQETVV72VHANCNFSM5XDWQMDQ. You are receiving this because you were mentioned.Message ID: @.***>
@kartoone i guess Github is going crazy today. I'm receiving a lot of notifications from the past!
Hi @kartoone I just discovered your project and I found it awesome (I was thinking to build something similar too before discovering it!) So in the past days I created ARadar, a standalone app for Apple Watch and Garmin Varia https://robertoviola.cloud/2022/05/27/garmin-varia-on-apple-watch-finally/
It will be nice to integrate it together with your project. If I saw it correctly, I just need to export a fit file with the developer items from the radar, isn't it?
What do you think?