Your input can't be opened:
VLC is unable to open the MRL 'file://?/E%3A/Testing/Testing/Selenium/Selenium%20WebDriver/Selenium%20-%203%20WebDriver%20Tutorials%20-%20By%20Naveen%20AutomationLabs/Selenium%20by%20Navin%20AutomationLab/TestNG%20Framework%20With%20Selenium%20Tutorials%20-%20By%20Naveen%20AutomationLabs/%40Parameters%20in%20TestNg-%20How%20to%20pass%20parameter%20from%20testing.xml.mp4'. Check the log for details.
this is the its being showing.
Related
This my code
When i run this code it's download the image success but doesn't open
In macOS you can obtain (explained here how) the URL to a specific email. So that if you click to the that URL, or you paste it into a browser search bar, that specific email will open in Mail.app.
Such a URL looks like this message://<CALoR5A+vANPG9eCcHRHnO#mail.gmail.com>
In Catalina I could use the command open to reach such a URL from the command line, by typing
open -a "Mail.app" "message://<CALoR5A+vANPG9eCcHRHnO#mail.gmail.com>"
But with BigSur if I try that I get the following error
The file /Users/macbook/message:/<CALoR5A+vANPG9eCcHRHnO#mail.gmail.com> does not exist.
This behavior seems to be related to a bug in BigSur.
Two question
Do you know if the open command can still be used for that task somehow?
Alternatively, I am looking for a workaround. It must be possible to achieve the behavior I am expecting because if you past a message:// URL in Chrome, Safari or in a rich text editor which supports hyperlinks, it is correctly handled.
I have tried, unsuccessfully many approaches.
Swift script
import AppKit
NSWorkspace.shared.open(URL(string: "message://<CALoR5A+vANPG9eCcHRHnO#mail.gmail.com>")!)
The URL is nil.
Apple Script
tell application "Mail"
activate
open location "message://<CALoR5A+vANPG9eCcHRHnO#mail.gmail.com>"
end tell
I am not sure if the above code would have worked in Catalina, I just know that in my case it just opens the Mail app without doing anything else.
Using Chrome
If you paste a message:// URL in Chrome it asks you to confirm that you want to open it in the Mail app. This can be overridden with the following command:
defaults write com.google.Chrome URLWhitelist -array 'message://*'
Asking Chrome to open a URL for you looks like a easier task, but still the command
open -a "Google Chrome" "message://<CALoR5A+vANPG9eCcHRHnO#mail.gmail.com>"
fails with an error similar to the one shown before:
LoR5A+vANPG9eCcHRHnO#mail.gmail.com>"
The file /Users/macbook/message:/<CALoR5A+vANPG9eCcHRHnO#mail.gmail.com> does not exist.
Any ideas?
I found the reason why the open command does not work anymore: the angular brackets need to be escaped.
The following command does not work
open -a "Google Chrome.app" "message:<CALoR5A+vANPG9eCcHRHnO_fNTrzgbMpX666oBGxHWsRaXb5#mail.gmail.com>"
The following one opens the Mail app, which will complain that the URL is broken
open -a "Google Chrome.app" "message:CALoR5A+vANPG9eCcHRHnO_fNTrzgbMpX666oBGxHWsRaXb5#mail.gmail.com>"
Finally, by escaping the URL, it works:
open -a "Google Chrome.app" "message:%3CCALoR5A%2BvANPG9eCcHRHnO_fNTrzgbMpX666oBGxHWsRaXb5%40mail.gmail.com%3E"
Note, you can make the URL start with message: or message://, it does not matter.
My old app is having a problem with QLPreviewController on iOS11 that it suddenly can not preview any file while it worked just fine on iOS10, when I try to skip step to check if can preview the file I got below message:
Unsupported preview item type in
-previewItemViewControllerClassWithStyle:; for preview item - [FileName] #PreviewItem.
I tried to create a test app to preview a same file and it worked, quite strange. I have spent a day on this and still not find out the root cause yet. Does anyone know the answer? Thanks.
I have created my own DocumentPickerExtensionViewController and want to be able to open it up in the Excel app on iOS.
In the office app I press Open -> ... More -> Locations and choose my extensions name.
But after about two seconds of loading a dialog pops up saying "The document picker ... failed to launch (0)".
I can't find anything about this error when Googling. Does anyone know what I might have done wrong?
I found the solution. I tried creating a new test app and document provider with Xcode which worked out of the box. I realised that Xcode was creating a Document Provider project as well as a File Provider project and what I was missing in my Xamarin project was the File Provider since I won't be using iCloud.
After adding a File Provider project I no longer got an error message.
I'm building an application with phonegap and I'm using the aviary plugin (www.aviary.com). When I try to open a photo taken by the camera, aviary plugin closes and "NSURLErrorDomain error -999" appears in the console log.
This problem doesn't appear when I try to open a web URL file (http://...)
How can I fix it?
Do you have all the appropriate URLs whitelisted.
See: http://docs.phonegap.com/en/2.0.0/guide_whitelist_index.md.html#Domain%20Whitelist%20Guide