RobbertPatrison

Well-Known Member
Joined
Mar 24, 2022
Threads
12
Messages
179
Reaction score
452
Location
Silicon Valley, California
Vehicles
Ice White Mustang Mach-E
Country flag
Hi @tonesto7 . Great work on this app! After the update I get an error:

this.FPW.valueChk(lvlValue, 0, 100) is not a function.

That problem seems to come from this line:
https://github.com/tonesto7/fordpas...431a6950e845ec2a2ab8b/Modules/FPW_App.js#L671

Indeed, that function does not seem to be defined as a member of FPW. Do you see the same problem? The fix should be easy (remove the check), but I was not able to figure out how to hack the code in the loaded modules.
Sponsored

 
OP
OP
tonesto7

tonesto7

Well-Known Member
First Name
Anthony
Joined
Sep 20, 2021
Threads
2
Messages
243
Reaction score
609
Location
Ann Arbor, Michigan
Vehicles
2021 F150
Occupation
Software Developer/System Admin
Country flag
Hi @tonesto7 . Great work on this app! After the update I get an error:

this.FPW.valueChk(lvlValue, 0, 100) is not a function.

That problem seems to come from this line:
https://github.com/tonesto7/fordpas...431a6950e845ec2a2ab8b/Modules/FPW_App.js#L671

Indeed, that function does not seem to be defined as a member of FPW. Do you see the same problem? The fix should be easy (remove the check), but I was not able to figure out how to hack the code in the loaded modules.
interesting as the function very much exists in the main class script Fordpass Widget.js...
I haven't seen this in my instance. I will see if I can find anything though
 
OP
OP
tonesto7

tonesto7

Well-Known Member
First Name
Anthony
Joined
Sep 20, 2021
Threads
2
Messages
243
Reaction score
609
Location
Ann Arbor, Michigan
Vehicles
2021 F150
Occupation
Software Developer/System Admin
Country flag
Nothing has worked since yesterday. After creating the widget again, you will always get this error message.
Ford Mustang Mach-E FordPass - Scriptable Widget V2022.XX (iOS, iPad, MacOS) 40342BDF-2508-4027-882B-EB3128A1D14D
looks like your stored vehicle data was corrupted in the widget state...
You will likely need to use the widget tool to reset the data and force a refresh.
 

notaek

Well-Known Member
Joined
Apr 20, 2022
Threads
16
Messages
287
Reaction score
350
Location
USA
Vehicles
2022 Mach-E Premium ER AWD
Country flag
Please follow this video and open look for any errors in the console after you try to get the data.
FYI... There will be a lot of HTML text because I forgot to comment out a line.
I will make sure that's handled for the next release.
Code:
2022-05-10 12:27:14: All (9) Required Modules Found!
2022-05-10 12:27:14: ---------------------------
2022-05-10 12:27:14: Widget RUN()
2022-05-10 12:27:14: (prepWidget) Fetching Vehicle Data | Local: (true)
2022-05-10 12:27:14: Script Version: 2022.05.06.0
2022-05-10 12:27:14: Update Available: false
2022-05-10 12:27:14: Latest Version: 2022.05.06.0
2022-05-10 12:27:15: (mainTableRefresh) Refresh Timer Fired
2022-05-10 12:27:15: Fetching Vehicle Data from Ford Servers...
2022-05-10 12:27:15: (Main Menu) Advanced Info Page was pressed
2022-05-10 12:27:16: makeFordRequest(getVehicleCapabilities) Error: SyntaxError: JSON Parse error: Unable to parse JSON string
2022-05-10 12:27:16: (Advanced Info) AsBuilt was pressed
2022-05-10 12:27:16: AsBuilt File Modified: undefined
2022-05-10 12:27:19: (Dashboard) Get Module Data Button was pressed
 


samlaw13

Member
First Name
Sam
Joined
Oct 13, 2021
Threads
1
Messages
23
Reaction score
10
Location
Florida
Vehicles
RWD MME Selext
Country flag
looks like your stored vehicle data was corrupted in the widget state...
You will likely need to use the widget tool to reset the data and force a refresh.
I am getting the same error and have reset it, removed and re-installed
Nothing has worked since yesterday. After creating the widget again, you will always get this error message.
Ford Mustang Mach-E FordPass - Scriptable Widget V2022.XX (iOS, iPad, MacOS) 40342BDF-2508-4027-882B-EB3128A1D14D
im getting this same error. Have tried resetting and reinstalling the widget and it still pops up
 

smartino

Well-Known Member
First Name
Steve
Joined
Feb 11, 2021
Threads
3
Messages
229
Reaction score
282
Location
Indiana
Vehicles
2021 RR Mach E First Edition, 2017 Honda Ridgeline
Occupation
Retired
Country flag
I am noticing that the widget or the main widget is not refreshing. I’ve requested a refresh and nothing is updating. Widget shows the last update was 8 hours ago. On the main widget page it doesn’t appear to update every 30 seconds. Maybe there is an issue on Fords end?
 
OP
OP
tonesto7

tonesto7

Well-Known Member
First Name
Anthony
Joined
Sep 20, 2021
Threads
2
Messages
243
Reaction score
609
Location
Ann Arbor, Michigan
Vehicles
2021 F150
Occupation
Software Developer/System Admin
Country flag
I am noticing that the widget or the main widget is not refreshing. I’ve requested a refresh and nothing is updating. Widget shows the last update was 8 hours ago. On the main widget page it doesn’t appear to update every 30 seconds. Maybe there is an issue on Fords end?
This seems to coincide with the newest fordpass app release yesterday. I will need to investigate
 
OP
OP
tonesto7

tonesto7

Well-Known Member
First Name
Anthony
Joined
Sep 20, 2021
Threads
2
Messages
243
Reaction score
609
Location
Ann Arbor, Michigan
Vehicles
2021 F150
Occupation
Software Developer/System Admin
Country flag
Looks like mine is doing it as well. Hopefully ford is experiencing service issues and did not figure out a way to block the widget
 

Logal727

Well-Known Member
First Name
C
Joined
Aug 23, 2021
Threads
101
Messages
7,326
Reaction score
11,273
Location
Florida
Vehicles
‘21 Carbonized Gray Mustang Mach-E Premium AWD Ext
Country flag
Experiencing same issue as well. FordPass app is showing latest info but widget it’s not :(

I’m still able to lock and unlock vehicle from Shortcut though.
 

Djynn81

Well-Known Member
First Name
Jeremy
Joined
Sep 11, 2021
Threads
8
Messages
132
Reaction score
66
Location
California
Vehicles
Mach-E premium
Occupation
Medical
Country flag
Same here app not refresh since 4pm yesterday I cannot force it to update
 

Holy Driver

Well-Known Member
First Name
Lars
Joined
Jan 3, 2021
Threads
2
Messages
146
Reaction score
137
Location
Germany
Vehicles
Mustang Mach-E RWD SR
Occupation
IT
Country flag
I am getting the same error and have reset it, removed and re-installed

im getting this same error. Have tried resetting and reinstalling the widget and it still pops up
Dito, same error.
Also the data weren't updated since yesterday.
That's the reason why I tried to reinstall the widget.
Sponsored

 
 




Top