thurasw / airwave

Share Files between iOS and Windows without hassle.
MIT License
184 stars 12 forks source link

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

Open Quintin9801 opened 4 years ago

Quintin9801 commented 4 years ago

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

thurasw commented 4 years ago

'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.

Quintin9801 commented 4 years ago

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.

thurasw commented 4 years ago

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

Quintin9801 commented 4 years ago

image This is the result of running Airwave 1

thurasw commented 4 years ago

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.

Quintin9801 commented 4 years ago

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.

thurasw commented 4 years ago

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.