{"action":"created","issue":{"url":"https://api.github.com/repos/jens-maus/yam/issues/225","repository_url":"https://api.github.com/repos/jens-maus/yam","labels_url":"https://api.github.com/repos/jens-maus/yam/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/jens-maus/yam/issues/225/comments","events_url":"https://api.github.com/repos/jens-maus/yam/issues/225/events","html_url":"https://github.com/jens-maus/yam/issues/225","id":149306278,"number":225,"title":"Improve error message when attachment loading fails","user":{"login":"jens-maus","id":5887769,"avatar_url":"https://avatars.githubusercontent.com/u/5887769?v=3","gravatar_id":"","url":"https://api.github.com/users/jens-maus","html_url":"https://github.com/jens-maus","followers_url":"https://api.github.com/users/jens-maus/followers","following_url":"https://api.github.com/users/jens-maus/following{/other_user}","gists_url":"https://api.github.com/users/jens-maus/gists{/gist_id}","starred_url":"https://api.github.com/users/jens-maus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jens-maus/subscriptions","organizations_url":"https://api.github.com/users/jens-maus/orgs","repos_url":"https://api.github.com/users/jens-maus/repos","events_url":"https://api.github.com/users/jens-maus/events{/privacy}","received_events_url":"https://api.github.com/users/jens-maus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jens-maus/yam/labels/%23minor","name":"#minor","color":"ededed"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/@undecided","name":"@undecided","color":"ededed"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/nightly%20build","name":"nightly build","color":"ededed"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-19T00:03:56Z","updated_at":"2016-04-19T00:04:02Z","closed_at":"2016-04-19T00:04:00Z","body":"**Originally by _mario@cattaneo.de_ on 2010-10-03 13:53:18 +0200**\n\n___\nYAM 2.7-dev [OS4/PPC] (02.10.2010) Copyright (C) 2000-2010 YAM Open Source Team\n\nI have set Multiview as default tool if no MIME rule applies.\nNow when I double click an attachment that is unrecognized by MV YAM's error requester says:\n\n\"Die Ausführung des Kommandos 'SYS:Utilities/Multiview \"RAM\nDisk:T/YAMm000001cc-p3.mp4\"' ist fehlgeschlagen (Fehler\n2000: Fehler 2000).\"\n\nWhereas the same command in a shell says\n\n\"Unbekannter Datentyp bei YAMm000001cc-p3.mp4\"\n\nMaybe the returned shell-error could be used in YAM requester, instead of mentioning \"error 2000\" (twice, btw)?\n\nFor now I have \"workedarround\" this by calling MV with \"wbrun\", then I get a MV requester complaining. And as YAM is started from WB, too, this looks even more \"pro\". ;)"},"comment":{"url":"https://api.github.com/repos/jens-maus/yam/issues/comments/211639544","html_url":"https://github.com/jens-maus/yam/issues/225#issuecomment-211639544","issue_url":"https://api.github.com/repos/jens-maus/yam/issues/225","id":211639544,"user":{"login":"jens-maus","id":5887769,"avatar_url":"https://avatars.githubusercontent.com/u/5887769?v=3","gravatar_id":"","url":"https://api.github.com/users/jens-maus","html_url":"https://github.com/jens-maus","followers_url":"https://api.github.com/users/jens-maus/followers","following_url":"https://api.github.com/users/jens-maus/following{/other_user}","gists_url":"https://api.github.com/users/jens-maus/gists{/gist_id}","starred_url":"https://api.github.com/users/jens-maus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jens-maus/subscriptions","organizations_url":"https://api.github.com/users/jens-maus/orgs","repos_url":"https://api.github.com/users/jens-maus/repos","events_url":"https://api.github.com/users/jens-maus/events{/privacy}","received_events_url":"https://api.github.com/users/jens-maus/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T00:04:02Z","updated_at":"2016-04-19T00:04:02Z","body":"**Originally by _tboeckel@gmx.de_ on 2010-10-03 14:25:29 +0200**\n\n___\nSorry, but there is nothing to fix. YAM already tries to display both, the error number and the corresponding error string. But since error #2000 does not really exist for DOS all to be done is to convert this number to the corresponding error string \"error 2000\". And this is exactly the error number returned by MultiView. Maybe MV derives this number from datatypes.library, but it is not YAM's task to work around this. The error message you see in the shell is printed by MV itself, not by the shell."}}