jga23 9 Posted December 4, 2012 Share Posted December 4, 2012 I just updated to 5.0.2 and now my applescripts stopped working. Here's an example of how to reproduce the error:tell application "Evernote"set sel to selectionrepeat with _note in sel set _tags to tags of _noteend repeatend tellI get this error: error "Evernote got an error: AppleEvent handler failed." number -10000 Link to comment
jga23 9 Posted December 5, 2012 Author Share Posted December 5, 2012 If you need a beta tester let me know. The sooner this is fixed, the better. I'm struggling with my typical workflow a little right now. Link to comment
arthomas98 0 Posted January 6, 2013 Share Posted January 6, 2013 Hello all,Back off after a Christmas break and see that most users are fixed. When I use the script I still getFailed to exportItem" due to the following error:Can’t set «class EVdd» of missing value to date "Monday, 10 December 2012 16:24:20".(Notice UK time format).Does anyone else have this issue still? I'm now upgraded to 5.04 I should add.ThanksI just upgraded to 5.0.4 yesterday and I'm getting this same error.....Here is the complete error:Failed to exportItem" due to the following error:Can’t set «class EVdd» of missing value to date "Thursday, January 3, 2013 9:28:13 AM".FYI - I had to revert to 5.0.1 to make this error message go away (and have email imported into Evernote via the script) Link to comment
s_z_k_3 0 Posted December 13, 2012 Share Posted December 13, 2012 I think it applies to tags in general. Here are my statements that aren't working:if (not (tag named "To Process" exists)) thenmake tag with properties {name:"To Process"}end ifTag exists, but comes up false and the make statement errors out with the same error as above. Same result if I re-create or delete the tag in Evernote first.The AppleScript library for Evernote says these statements are still valid though.This bug still exists in 5.0.4. Link to comment
Level 5 Jackolicious 808 Posted December 13, 2012 Level 5 Share Posted December 13, 2012 On it. Link to comment
rudders 4 Posted December 5, 2012 Share Posted December 5, 2012 Ditto here - work arounds or beta code fix appreciated. Link to comment
scaasi 1 Posted January 21, 2013 Share Posted January 21, 2013 I thought I'd post back. Evenote support good as ever but it was a problem with the script rather than the app. Fortunately I noticed that veritrope has now released a new version of the applescript and it now has resolved my issue. Hopefully this may help others out as well.Go to http://veritrope.com/code/outlook-2011-to-evernote/ to get the latest applescript.Hope it helps. Link to comment
Level 5 Jackolicious 808 Posted December 12, 2012 Level 5 Share Posted December 12, 2012 This should be fixed in 5.0.4. Link to comment
jga23 9 Posted December 4, 2012 Author Share Posted December 4, 2012 Here's the log:12/4/12 10:11:16.965 AM Evernote[35533]: An exception was thrown during execution of an NSScriptCommand...12/4/12 10:11:16.965 AM Evernote[35533]: Error while returning the result of a script command: the result object...( "<ENTagMO: 0x33cd7a0> (entity: ENTag; id: 0x33c2330 <x-coredata://7B46DEE0-AFA6-4AEB-BAF4-7E188FC69496/ENTag/p17> ; data: {\n active = 1;\n attributes = (\n \"0xaef76a0 <x-coredata://7B46DEE0-AFA6-4AEB-BAF4-7E188FC69496/ENAttribute/p33748>\"\n );\n children = (\n );\n dirty = 0;\n expungeOnSync = 0;\n guid = \"b06e863b-daad-40d9-9c20-d30903dce02e\";\n name = glg;\n noteCount = 112;\n notebook = nil;\n notes = \"<relationship fault: 0xae054c0 'notes'>\";\n parent = \"0xaee3120 <x-coredata://7B46DEE0-AFA6-4AEB-BAF4-7E188FC69496/ENTag/p7>\";\n updateSequenceNumber = 8169;\n})", "<ENTagMO: 0xaefaf30> (entity: ENTag; id: 0xaec61b0 <x-coredata://7B46DEE0-AFA6-4AEB-BAF4-7E188FC69496/ENTag/p40> ; data: {\n active = 1;\n attributes = (\n \"0xae11480 <x-coredata://7B46DEE0-AFA6-4AEB-BAF4-7E188FC69496/ENAttribute/p33757>\"\n );\n children = (\n );\n dirty = 0;\n expungeOnSync = 0;\n guid = \"cfa2c74b-ba80-4bd6-8831-930836cf8478\";\n name = \"_today\";\n noteCount = 50;\n notebook = nil;\n notes = \"<relationship fault: 0xae11640 'notes'>\";\n parent = nil;\n updateSequenceNumber = 17994;\n})")...could not be converted to an Apple event descriptor of type 'list of tag'. Element 0 could not be converted to an Apple event descriptor of type 'tag'. This instance of the class 'ENTagMO' returned nil when sent -objectSpecifier (is it not overridden?) and there is no coercible type declared for the scripting class 'tag'. Link to comment
rajmandalia 1 Posted January 9, 2013 Share Posted January 9, 2013 Same / similar problem here - I wrote a simple apple script to insert a file as a note in a specified folder and it always returns an error message:tell application "Evernote"create note title "Note 4" from file "/Users/Raj/Documents/ipscreenshot1.jpg"--> missing valueend telltell current applicationbeep 1end tellHere is the script:tell application "Evernote"-- create notes, four ways-- 1: with plain texttryset notebook1 to "Auto Import"--create note title "Note 2" with text "Here is my new text note" notebook notebook1-- 4: with the data from a fileset newnote to create note title "Note 4" from file "/Users/Raj/Documents/ipscreenshot1.jpg" --notebook notebook1on error error_message number error_numberif the error_number is not equal to 0 then --equal to 4 then-- The file being imported is not supportedset userCanceled to falsetrydisplay dialog "Your Evernote account does not support the import of this type of file. Why not consider upgrading?" buttons {"Cancel", "Go Premium"} default button "Cancel" cancel button "Cancel" with icon cautionon error number -128set userCanceled to trueend tryelse-- Unspecified failuredisplay alert "Import into Evernote failed" message "Error(" & error_number & "): " & error_message as warningend ifend tryend tellPlease help and thanks in advance. Link to comment
Oo0Bailey0oO 2 Posted December 12, 2012 Share Posted December 12, 2012 This should be fixed in 5.0.4.Works for me, thanks! Link to comment
Level 5 Jackolicious 808 Posted December 4, 2012 Level 5 Share Posted December 4, 2012 Thanks for posting. On it. Link to comment
jga23 9 Posted December 12, 2012 Author Share Posted December 12, 2012 This should be fixed in 5.0.4. works for me too. Thanks Link to comment
Oo0Bailey0oO 2 Posted December 7, 2012 Share Posted December 7, 2012 I think it applies to tags in general. Here are my statements that aren't working:if (not (tag named "To Process" exists)) thenmake tag with properties {name:"To Process"}end ifTag exists, but comes up false and the make statement errors out with the same error as above. Same result if I re-create or delete the tag in Evernote first.The AppleScript library for Evernote says these statements are still valid though.On a side note, have you renamed a tag since upgrading to 5.0? For me, it's takes about 10 minutes to finish "Processing..." on a set of 300 notes and the CPU is at 140% (mdworker and EvernotePDFHelper). Seems to be a performance issue as I've renamed this tag in previous versions and I don't remember this behaviour. Link to comment
scaasi 1 Posted January 2, 2013 Share Posted January 2, 2013 Hello all,Back off after a Christmas break and see that most users are fixed. When I use the script I still getFailed to exportItem" due to the following error:Can’t set «class EVdd» of missing value to date "Monday, 10 December 2012 16:24:20".(Notice UK time format).Does anyone else have this issue still? I'm now upgraded to 5.04 I should add.Thanks Link to comment
arthomas98 0 Posted January 4, 2013 Share Posted January 4, 2013 Hello all,Back off after a Christmas break and see that most users are fixed. When I use the script I still getFailed to exportItem" due to the following error:Can’t set «class EVdd» of missing value to date "Monday, 10 December 2012 16:24:20".(Notice UK time format).Does anyone else have this issue still? I'm now upgraded to 5.04 I should add.ThanksI just upgraded to 5.0.4 yesterday and I'm getting this same error..... Link to comment
Kristin 0 Posted December 11, 2012 Share Posted December 11, 2012 Just chiming in that I experienced the same thing running 5.0.3 on OS 10.6.8. Thanks so much for the 5.0.1 link / temporary solution. Is there a fix for this bug anytime in the near future? Link to comment
Level 5 Jackolicious 808 Posted December 5, 2012 Level 5 Share Posted December 5, 2012 You can return to 5.0.1 using this link: http://goo.gl/JhUHk Link to comment
Level 5 Jackolicious 808 Posted December 12, 2012 Level 5 Share Posted December 12, 2012 Fixed in 5.0.4 released today. Thank you so much for helping us diagnose the issue!http://evernote.com/evernote/index.php?file=EvernoteMac Link to comment
jga23 9 Posted December 7, 2012 Author Share Posted December 7, 2012 New bug in 5.0.3 Here's the script to reproduce. tell application "Evernote"set _tag to tag named "_today"end tell Back to 5.0.1... again Link to comment
arthomas98 0 Posted January 4, 2013 Share Posted January 4, 2013 Hello all,Back off after a Christmas break and see that most users are fixed. When I use the script I still getFailed to exportItem" due to the following error:Can’t set «class EVdd» of missing value to date "Monday, 10 December 2012 16:24:20".(Notice UK time format).Does anyone else have this issue still? I'm now upgraded to 5.04 I should add.ThanksI just upgraded to 5.0.4 yesterday and I'm getting this same error.....Here is the complete error:Failed to export Item" due to the following error: Can’t set «class EVdd» of missing value to date "Thursday, January 3, 2013 9:28:13 AM". Link to comment
Idea
jga23 9
I just updated to 5.0.2 and now my applescripts stopped working. Here's an example of how to reproduce the error:
I get this error: error "Evernote got an error: AppleEvent handler failed." number -10000
Link to comment
21 replies to this idea
Recommended Posts
Archived
This topic is now archived and is closed to further replies.