pymander / evernote-mode Goto Github PK
View Code? Open in Web Editor NEWThis project forked from lamdor/evernote-mode
Emacs interface for Evernote
This project forked from lamdor/evernote-mode
Emacs interface for Evernote
I loved using this package. Thanks for a good time;). Any chance you can make it run again?;)
$ gem install evernote_oauth
Fetching: oauth-0.4.7.gem (100%)
ERROR: While executing gem ... (Errno::EACCES)
Permission denied - /var/lib/gems
This is a bug in enclient.rb, I'm pretty sure. Is anybody else seeing this one? It happens when fetching individual notes, and sometimes when browsing whole notebooks.
Sorry for bothering, it's me again(embarrased), I had googled around, but with no luck, so I ask here again...
Below is the situation:
evernote-open-note or evernote-browser is fine;
however, after evernote-create-note or editing the note from evernote-open-note, evernote-save-note shows
"\xE9" from ASCII-8BIT to UTF-8.
the last .evernote-mode.log shows:
E, [2014-11-26T12:06:05.256885 #5251] ERROR -- : ["/usr/bin/enclient.rb:1916:in eval'", "/usr/bin/enclient.rb:1916:in
run'", "/usr/bin/enclient.rb:1947:in `
I think it's a encoding problem, but have no idea how to debug, please give me some advice, thank you.
Well, I believe there's an outstanding bug in the Ruby Evernote_OAuth library that's preventing parts of this from working. See this:
I feel like i've been installing everything from scratch and in circles today, but i think i've finally hit an issue that is out of my hands. I hope you can point out a solution, although it seems it's with the oauth code.
Here's the Messages output when i attempt M-x evernote-login. The error occurs before the prompt to enter credentials.
x error, unexpected ':', expecting '='
with_resources_data: false,
^
/opt/local/lib/ruby/gems/1.8/gems/evernote_oauth-0.2.3/lib/evernote/edam/type/resource.rb:18: Can't\
assign to false
/opt/local/lib/ruby/gems/1.8/gems/evernote_oauth-0.2.3/lib/evernote/edam/type/resource.rb:19: synta\
x error, unexpected ':', expecting '='
with_resources_recognition: false,
^
/opt/local/lib/ruby/gems/1.8/gems/evernote_oauth-0.2.3/lib/evernote/edam/type/resource.rb:19: Can't\
assign to false
/opt/local/lib/ruby/gems/1.8/gems/evernote_oauth-0.2.3/lib/evernote/edam/type/resource.rb:20: synta\
x error, unexpected ':', expecting '='
with_resources_alternate_data: false
^
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in require'
from /opt/local/lib/ruby/gems/1.8/gems/evernote_oauth-0.2.3/lib/evernote_types.rb:6
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require'
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in require'
from /opt/local/lib/ruby/gems/1.8/gems/evernote_oauth-0.2.3/lib/evernote_oauth.rb:6
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require'
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in require'
from /usr/bin/enclient.rb:44
Quit
And here is a long note of how my system is configured. The file listing of installation logs provides clues to time/order of installations and by what method.
Then a message that libgdbm.dylib couldn't be found, so another symbolic link:
sudo ln -s /opt/local/lib/libgdbm.dylib /usr/local/lib/libgdbm.dylib
ls -l .emacs.d/lisp/org-evernote.el
-rw-r-----@ 1 judielaine staff 2530 May 17 21:23 .emacs.d/lisp/org-evernote.el
History of various installs
-rw-r--r-- 1 judielaine staff 107 May 26 07:47 InstallLogs/gemLogs/evernote_oauth.20150526
-rw-r--r-- 1 judielaine staff 2530 May 26 07:47 InstallLogs/evernote-mode/org-evernote.el
-rw-r--r-- 1 judielaine staff 94188 May 26 07:47 InstallLogs/evernote-mode/evernote-mode.el
(i tried remaking these all over at the very end and still got the error above)
-rw-r--r-- 1 judielaine staff 130 May 26 09:11 InstallLogs/gemLogs/gdbm.20150526
-rw-r--r-- 1 judielaine staff 183 May 26 09:13 InstallLogs/gemLogs/ffi.20150526
-rw-r--r-- 1 judielaine staff 463 May 26 09:31 InstallLogs/MacPortsLogs/gdbm.20150526
I w3m 20150522.357 available melpa an Emacs interface to w3m
-rw-r--r-- 1 judielaine staff 8519 May 26 16:22 InstallLogs/EmacsLogs/w3m-20150526
-rw-r--r-- 1 judielaine staff 847 May 26 16:55 InstallLogs/MacPortsLogs/w3m.20150526
-rw-r--r-- 1 judielaine staff 1720 May 26 17:15 InstallLogs/MacPortsLogs/ruby.20150526
9 17:21 sudo ln -s /opt/local/bin/ruby1.8 /opt/local/bin/ruby
drwxr-xr-x 6 judielaine staff 204 May 26 17:24 InstallLogs/evernote-mode/ruby
sudo ln -s /opt/local/bin/enclient.rb /usr/bin/enclient.rb
-rw-r--r-- 1 judielaine staff 1062 May 26 18:35 InstallLogs/MacPortsLogs/rb-rubygems.20150526
-rw-r--r-- 1 judielaine staff 470 May 26 18:44 InstallLogs/gemLogs/evernote_oauth.20150526b
`
post at wrong repo. Sorry
W, [2015-10-02T08:52:44.913794 #28691] WARN -- : illegal field type for +TX+-+Google+Search&sa
W, [2015-10-02T08:52:44.913915 #28691] WARN -- : ["/usr/bin/enclient.rb:134:in block in deserialize'", "/usr/bin/enclient.rb:94:in
each'", "/usr/bin/enclient.rb:94:in deserialize'", "/usr/bin/enclient.rb:128:in
block in deserialize'", "/usr/bin/enclient.rb:94:in each'", "/usr/bin/enclient.rb:94:in
deserialize'", "/usr/bin/enclient.rb:904:in block (3 levels) in get_result_from_local_cache'", "/usr/bin/enclient.rb:902:in
each_value'", "/usr/bin/enclient.rb:902:in block (2 levels) in get_result_from_local_cache'", "/usr/bin/enclient.rb:1396:in
open'", "/usr/bin/enclient.rb:1396:in open_note'", "/usr/bin/enclient.rb:901:in
block in get_result_from_local_cache'", "/usr/bin/enclient.rb:1368:in transaction'", "/usr/bin/enclient.rb:900:in
get_result_from_local_cache'", "/usr/bin/enclient.rb:891:in exec_impl'", "/usr/bin/enclient.rb:418:in
exec'", "/usr/bin/enclient.rb:1928:in run'", "/usr/bin/enclient.rb:1952:in
When trying to fetch the notest list with ListNoteCommand (notebook_guid and tag_guids could be nill or not, that does not matter) I get "illegal field type for i:319&iact" message, which comes from line 134 of enclient.rb (raise IllegalStateException.new("illegal field type #{vartype} for #{varsym}")). I see that the vartype value is empty in this case.
It seems that some params url is parsed incorrectly somewhere before as "i:319" looks like the second part of some parameter and "iact=" the beginning of the next one.
I'm not sure if this is a real error: after setup I'm able to access everything fine. But when I try to run evernote-mode, I just get this error message (even though so far as I can tell everything works).
The NoteAttributes data structure in enclient.rb isn't populating correctly. I don't know why. I don't have a lot of time to work on this at the moment, so this is just a placeholder so I'll know what to look at later.
When using ruby 2.2.1, the following issue occurs during the installation stage
setup.rb:788:in load_rbconfig': uninitialized constant Config (NameError) from setup.rb:768:in
invoke'
from setup.rb:1578:in `
Hi
I have installed gem evernote_oauth and have set the evernote-developer-token,
(setq evernote-developer-token "1234567890123456")
But I get the error below:
Mark set [3 times]
Waiting for the result...
enutil-aget: Wrong type argument: listp, -e:1:
error in process sentinel: enh-command-sentinel: enclient.rb exited abnormally with code 1
-e:1: syntax error, unexpected tINTEGER, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
:1:in `<main>': Use RbConfig in...
^
error in process sentinel: enclient.rb exited abnormally with code 1
-e:1: syntax error, unexpected tINTEGER, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
:1:in `<main>': Use RbConfig in...
^
I am using
GNU Emacs 24.3.1 (x86_64-apple-darwin13.1.0, Carbon Version 1.6.0 AppKit 1265.19) of 2014-04-03 on Rainers-MacBook-Pro-3.local
evernote-mode from elpa, 0.41
On OSX Maverick
Any suggestions?
Rainer
I can browse all notes by tag, but when I try to view a tag I always get this error message:
illegal field type for tlist&ver
^^ two blanks, like a placeholder for an empty string
Same goes for calling (evernote-open-note) after being prompted for a tag. Doesn't matter whether I choose a tag or default (all tags).
Sometimes I can access notes with (evernote-search-notes).
Other times the client hangs on Waiting for the result...
Occasionally I get Required field startIndex is unset!
GNU Emacs 24.3.1
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
evernote-mode.el Version: 0.41
i got this message on Message buffer as soon as i call evernote-browser.
got the same error calling enclient.rb from cli.
[ evernote.el cloned by github on MacOSX Mavericks with emacs 24.3.2, ruby 1.8.7 and gem 1.3.7 with evernote-thrift (1.25.1), evernote_oauth (0.2.2), oauth (0.4.7) (from macports 2.2.1)]
-=-=-=
Error in process sentinel: enclient.rb exited abnormally with code 1
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': /opt/local/lib/ruby/gems/1.8/gems/evernote_oauth-0.2.2/lib/evernote/edam/type/resource.rb:17: odd number list for Hash (SyntaxError) with_content: false, ^ /opt/local/lib/ruby/gems/1.8/gems/evernote_oauth-0.2.2/lib/evernote/edam/type/resource.rb:17: syntax error, unexpected ':', expecting '}' with_content: false, ^ /opt/local/lib/ruby/gems/1.8/gems/evernote_oauth-0.2.2/lib/evernote/edam/type/resource.rb:17: Can't assign to false /opt/local/lib/ruby/gems/1.8/gems/evernote_oauth-0.2.2/lib/evernote/edam/type/resource.rb:18: syntax error, unexpected ':', expecting '=' with_resources_data: false, ^ /opt/local/lib/ruby/gems/1.8/gems/evernote_oauth-0.2.2/lib/evernote/edam/type/resource.rb:18: Can't assign to false /opt/local/lib/ruby/gems/1.8/gems/evernote_oauth-0.2.2/lib/evernote/edam/type/resource.rb:19: syntax error, unexpected ':', expecting '=' with_resources_recognition: false, ^ /opt/local/lib/ruby/gems/1.8/gems/evernote_oauth-0.2.2/lib/evernote/edam/type/resource.rb:19: Can't assign to false /opt/local/lib/ruby/gems/1.8/gems/evernote_oauth-0.2.2/lib/evernote/edam/type/resource.rb:20: syntax error, unexpected ':', expecting '=' with_resources_alternate_data: false ^ from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
require'
from /opt/local/lib/ruby/gems/1.8/gems/evernote_oauth-0.2.2/lib/evernote_types.rb:6
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
require'
from /opt/local/lib/ruby/gems/1.8/gems/evernote_oauth-0.2.2/lib/evernote_oauth.rb:6
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
require'
from /opt/local/bin/enclient.rb:44
menu-bar "Evernote" is OK, all note can be fetched and edited, but when I use M-x evernote-mode, it returns errors, 101 or 102. By the way, M-x evernote-browser is still OK.
This problem really is annoying...... can someone help me out
In the current evernote-mode.el, line 2327, enh-get-notes-for-notebook is incomplete. evernote-mode.el obviously hits an error when loading.
I tried installing one via RVM (1.9.3), got all necessary gems, yet thing is still broken. Throws this message:
$HOME/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in require': cannot load such file -- oauth (LoadError) from $HOME/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in
require'
from $HOME/.rvm/rubies/ruby-1.9.3-p551/bin/enclient.rb:40:in `
I believe all the necessary parts have been installed, for when I call enclient.rb directly in a terminal, everything works fine (to test this, I added one line at the bottom of that file: print "Succuss"), but when M-x evernote-mode, it pops up the error message above.
My guessing is still the environment, since rvm has a very long script to set the env before running, which is located at ~/.rvm/script/rvm, however when calling inside emacs, the environment variable is not set in the right way, so all the gem files like oauth are not found.
There seems to be an earlier version (from whence this was forked?) on Marmalade, which doesn't work with newer versions of Ruby. Any chance of getting this version on one of the package sites so it can update cleanly?
I've been using geeknote because I'm having trouble with the ruby oauth client.
I'm trying org-evernote-pull but I cannot get it to work. Here is the error:
notebook *****************
Waiting for the result...
illegal field type field_type_object for attributes
This seems to be coming from enclient.rb, but I don't understand the problem.
Nothing is created in the org file.
I am new to Emacs and don't understand - what is mean "Copy evernote-mode.el to your load path".
Running ruby setup.rb on Windows 8.1 x64 yields:
setup.rb:283: warning: duplicated key at line 284 ignored: "bin-dir"
setup.rb:788:in load_rbconfig': uninitialized constant Config (NameError) from setup.rb:768:in
invoke'
from setup.rb:1578:in `
ruby -v
ruby 2.2.2p95 (2015-04-13 revision 50295) [x64-mingw32]
Just installed evernote-mode, and tried to open a note. It picks up the tags properly, and then when I search all tags, there appears to be some kind of null pointer error that appears in the message buffer.
Hi, I've installed emacs24 and ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] I install evernote from melpa but when I try enter in the evernote mode I get this error....
I don't know it the problem can be caused by the ruby version, I don't know much about ruby but when I type whereis ruby I get this
ruby: /usr/bin/ruby /usr/bin/ruby1.8 /usr/lib/ruby /usr/bin/X11/ruby /usr/bin/X11/ruby1.8 /usr/share/man/man1/ruby.1.gz
although when I type ruby -v I get the first ruby version commented before ruby 1.8.7
can you know how fixed it?? thanks!!!
error in process sentinel: enh-command-sentinel: enclient.rb exited abnormally with code 1
/usr/local/lib/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:in gem_original_require': no such file to load -- user_store_types (LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:in
require'
from /usr/lib/ruby/gems/1.8/gems/evernote-thrift-1.25.1/lib/Evernote/EDAM/user_store.rb:8
from /usr/local/lib/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:in gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:in
require'
from /usr/bin/enclient.rb:43
error in process sentinel: enclient.rb exited abnormally with code 1
/usr/local/lib/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:in gem_original_require': no such file to load -- user_store_types (LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:in
require'
from /usr/lib/ruby/gems/1.8/gems/evernote-thrift-1.25.1/lib/Evernote/EDAM/user_store.rb:8
from /usr/local/lib/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:in gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:in
require'
from /usr/bin/enclient.rb:43
byte-code: Beginning of buffer
I use Debian jessie / emacs:24.4 / ruby:1.9.3p551 / gem:2.4.3 /
evernote-thrift (1.25.1) / oauth (0.4.7) / evernote_oauth (0.2.3)
After evernote-login, it shows "Waiting for the result..."at the mini-buffer with nothing happens; then evernote-create-note in the mini-buffer just shows "File read error" ( evernote-open-note, evernote-write-note ... the same)
Seeing that no development has occured for this mode for quite some time, still want to report an issue that might be easily resolved?
evernote-open-note, evernote-open-note-in-notebook, evernote-browser all fail on my installed system
(Emacs 24.4.50, Ruby 1.9.3, running on Win7-x64).
Logging in and creating new notes all work fine, opening existing notes fails with the following error:
undefined method `to_sym' for nil:NilClass
As well as this error in the Evernote-Client-Output-buffer:
((class . ErrorReply)(command_id . 16)(result_code . 101)(message . "undefined method `to_sym' for nil:NilClass"))
Pointers?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.