Giter Site home page Giter Site logo

evernote-mode's People

Contributors

ayman avatar gitter-badger avatar hkurokawa avatar loganrosen avatar nchurch avatar priezz avatar pymander avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

evernote-mode's Issues

Development Stopped

I loved using this package. Thanks for a good time;). Any chance you can make it run again?;)

Permission denied - /var/lib/gems

$ gem install evernote_oauth
Fetching: oauth-0.4.7.gem (100%)
ERROR: While executing gem ... (Errno::EACCES)
Permission denied - /var/lib/gems

undefined method `gsub' for 45.4957:Float

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.

"\xE9" from ASCII-8BIT to UTF-8

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:inrun'", "/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.

x error, unexpected ':', expecting '=' on M-x evernote-login

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.

  • OS X 10.9.5 Mavericks
  • MacPorts: GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0)
  • ruby 1.8.7 (2013-06-27 patchlevel 374) [i686-darwin13]
  • gdbmtool (gdbm) 1.11)

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

`

evernote-note-open v0.2.3 always says "illegal field type for +TX+-+Google+Search&sa"

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:ineach'", "/usr/bin/enclient.rb:94:in deserialize'", "/usr/bin/enclient.rb:128:inblock in deserialize'", "/usr/bin/enclient.rb:94:in each'", "/usr/bin/enclient.rb:94:indeserialize'", "/usr/bin/enclient.rb:904:in block (3 levels) in get_result_from_local_cache'", "/usr/bin/enclient.rb:902:ineach_value'", "/usr/bin/enclient.rb:902:in block (2 levels) in get_result_from_local_cache'", "/usr/bin/enclient.rb:1396:inopen'", "/usr/bin/enclient.rb:1396:in open_note'", "/usr/bin/enclient.rb:901:inblock in get_result_from_local_cache'", "/usr/bin/enclient.rb:1368:in transaction'", "/usr/bin/enclient.rb:900:inget_result_from_local_cache'", "/usr/bin/enclient.rb:891:in exec_impl'", "/usr/bin/enclient.rb:418:inexec'", "/usr/bin/enclient.rb:1928:in run'", "/usr/bin/enclient.rb:1952:in

'"]

illegal field type for i:319&iact

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.

No catch for tag: error, 101

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

NoteAttributes not populating?

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.

Issues with newer versions of ruby

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:ininvoke'
from setup.rb:1578:in `

'

Error on login on Mac

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

illegal field type for tlist ver

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

enclient.rb exits due to syntax error

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:inrequire'
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:inrequire'
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:inrequire'
from /opt/local/bin/enclient.rb:44

menubar works fine, but m-x evernote-mode return errors

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

Not working with RVM

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

put on ELPA, MELPA, or MARMALADE?

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?

illegal field type field_type_object for attributes

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.

Can't install on windows

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:ininvoke'
from setup.rb:1578:in `

'

ruby -v
ruby 2.2.2p95 (2015-04-13 revision 50295) [x64-mingw32]

enclient.rb exited abnormally with code 1

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:inrequire'
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:inrequire'
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:inrequire'
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:inrequire'
from /usr/bin/enclient.rb:43

byte-code: Beginning of buffer

File read error

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)

Opening existing notes, searching and note browsing fails - undefined method `to_sym' for nil:NilClass

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.