airwave icon indicating copy to clipboard operation
airwave copied to clipboard

"Error on line 10:21: TypeError: undefines is not an object (evaluating 'fav.replace')"

Open Quintin9801 opened this issue 4 years ago • 7 comments

image

When clicking on the shortcut I get this error, "Error on line 10:21: TypeError: undefines is not an object (evaluating 'fav.replace')" Happens in the shortcuts app and trying to share a file with sharesheet.

Device info: iPhone 8 iOS 14 dev beta 2 Shortcut version 2.1 Airwave version 1.3.0 Scriptable app: 1.4.13

Quintin9801 avatar Jul 10 '20 15:07 Quintin9801

'fav' is the empty dictionary that's supposed to be the second action in the shortcut. Did you delete it by any chance? Try redownloading the shortcut.

thurasw avatar Jul 10 '20 16:07 thurasw

image This may be an error in the new iOS 14 beta version of shortcuts, this empty dictionary value shows up when re-downloading the shortcut.

Quintin9801 avatar Jul 10 '20 16:07 Quintin9801

Can you try using this shortcut? https://www.icloud.com/shortcuts/61b8e902b955465e98c0c3c3c2826ad3

thurasw avatar Jul 10 '20 16:07 thurasw

image This is the result of running Airwave 1

Quintin9801 avatar Jul 10 '20 16:07 Quintin9801

This one should work. https://www.icloud.com/shortcuts/d406e4b2e7844be1bf284463796d6359

But if this doesn't, I'm just gonna wait for the iOS 14 release so I can work on it. I currently only have one device so I can't hop on the beta.

thurasw avatar Jul 10 '20 16:07 thurasw

image image

This version does work and gets past the previous TypeError, However, now I am getting an unknown error after entering the ip address on the computer into the shortcut. If you're interested I'd love to work with you on getting the shortcut updated before the public release of iOS 14.

Quintin9801 avatar Jul 10 '20 16:07 Quintin9801

Thanks a lot for the help but I don't think it's worth it. It seems like I might have to redo the entire shortcut as there's multiple errors. It would just be extremely grinding for you to debug an entire new shortcut like this. Besides, there might be more changes in the public release so I'm just gonna wait it out. Making the shortcut doesn't take very long so there won't be much delay.

thurasw avatar Jul 12 '20 12:07 thurasw