littlecodersh / localnote Goto Github PK
View Code? Open in Web Editor NEWLocalNote让你能够像使用本地文件一样使用印象笔记。Use Evernote like local file system in all platform (markdown supported)
License: MIT License
LocalNote让你能够像使用本地文件一样使用印象笔记。Use Evernote like local file system in all platform (markdown supported)
License: MIT License
是否是沙盒环境?[yn] n
是否是国际用户?[yn] n
是否使用开发者Token?[yn] n
Username: [email protected]
Password:
[INFO] 登录失败
类似这样,看另一个Issue,不止我一个人碰到这个问题
Collecting localnote
Downloading LocalNote-1.0.9.zip
Collecting requests (from localnote)
Downloading requests-2.10.0-py2.py3-none-any.whl (506kB)
100% |████████████████████████████████| 512kB 85kB/s
Collecting markdown (from localnote)
Downloading Markdown-2.6.6.zip (412kB)
100% |████████████████████████████████| 419kB 123kB/s
Collecting evernote (from localnote)
Downloading evernote-1.25.1.tar.gz (140kB)
100% |████████████████████████████████| 143kB 111kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/private/tmp/pip-build-0uqg4f1g/evernote/setup.py", line 6
exec x
^
SyntaxError: Missing parentheses in call to 'exec'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-0uqg4f1g/evernote/
Traceback (most recent call last): File "c:\python27\lib\runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "c:\python27\lib\runpy.py", line 72, in _run_code exec code in run_globals File "C:\Python27\Scripts\localnote.exe\__main__.py", line 9, in <module> File "c:\python27\lib\site-packages\LocalNote\main.py", line 174, in main argDict.get(sys.argv[0], (show_help,))[0](*sys.argv[1:]) File "c:\python27\lib\site-packages\LocalNote\main.py", line 31, in _check_fil es_format return fn(mainController, *args, **kwargs) File "c:\python27\lib\site-packages\LocalNote\main.py", line 106, in pull r = mainController.download_notes(False) File "c:\python27\lib\site-packages\LocalNote\controllers.py", line 127, in do wnload_notes for note in notes: _download_note(noteFullPath + [note[0]]) File "c:\python27\lib\site-packages\LocalNote\controllers.py", line 102, in _d ownload_note contentDict[noteFullPath[1]+'.html'] = self.ec.get_content(noteFullPath) File "c:\python27\lib\site-packages\LocalNote\evernoteapi\controller.py", line 124, in get_content r = self.noteStore.getNoteContent(note.guid) File "c:\python27\lib\site-packages\evernote\api\client.py", line 138, in dele gate_method )(**dict(zip(arg_names, args))) File "c:\python27\lib\site-packages\evernote\edam\notestore\NoteStore.py", lin e 4385, in getNoteContent return self.recv_getNoteContent() File "c:\python27\lib\site-packages\evernote\edam\notestore\NoteStore.py", lin e 4411, in recv_getNoteContent raise result.systemException evernote.edam.error.ttypes.EDAMSystemException: EDAMSystemException(errorCode=19 , rateLimitDuration=1870, _message=None)
在window下面执行localnote pull之后,进行更新本地文件出现问题。
国内版倒可以登成功
系统是windows 10 pro
下载下来用编辑器直接打开html基本上是正常的,但是用浏览器打开就是乱码。重新保存成GB10830才行.
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-v8t01diw/evernote/setup.py", line 6
exec x
^
SyntaxError: Missing parentheses in call to 'exec'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-v8t01diw/evernote/
成功登录之后,执行localnote pull
,能够同步一部分笔记,之后就出现
Traceback (most recent call last):
File "/home/skt/.local/bin/localnote", line 11, in <module>
sys.exit(main())
File "/home/skt/.local/lib/python2.7/site-packages/LocalNote/main.py", line 174, in main
argDict.get(sys.argv[0], (show_help,))[0](*sys.argv[1:])
File "/home/skt/.local/lib/python2.7/site-packages/LocalNote/main.py", line 31, in _check_files_format
return fn(mainController, *args, **kwargs)
File "/home/skt/.local/lib/python2.7/site-packages/LocalNote/main.py", line 106, in pull
r = mainController.download_notes(False)
File "/home/skt/.local/lib/python2.7/site-packages/LocalNote/controllers.py", line 127, in download_notes
for note in notes: _download_note(noteFullPath + [note[0]])
File "/home/skt/.local/lib/python2.7/site-packages/LocalNote/controllers.py", line 102, in _download_note
contentDict[noteFullPath[1]+'.html'] = self.ec.get_content(noteFullPath)
File "/home/skt/.local/lib/python2.7/site-packages/LocalNote/evernoteapi/controller.py", line 124, in get_content
r = self.noteStore.getNoteContent(note.guid)
File "/home/skt/.local/lib/python2.7/site-packages/evernote/api/client.py", line 138, in delegate_method
)(**dict(zip(arg_names, args)))
File "/home/skt/.local/lib/python2.7/site-packages/evernote/edam/notestore/NoteStore.py", line 4385, in getNoteContent
return self.recv_getNoteContent()
File "/home/skt/.local/lib/python2.7/site-packages/evernote/edam/notestore/NoteStore.py", line 4411, in recv_getNoteContent
raise result.systemException
evernote.edam.error.ttypes.EDAMSystemException: EDAMSystemException(errorCode=19, rateLimitDuration=567, _message=None)
出现了这个错误之后,就一直登录失败了
执行localnote
命令时,出错:
Traceback (most recent call last):
File "/usr/local/bin/localnote", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/LocalNote/main.py", line 180, in main
_main()
File "/usr/local/lib/python2.7/dist-packages/LocalNote/exception.py", line 9, in _main_wrapper
fn(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/LocalNote/main.py", line 179, in _main
argDict.get(sys.argv[0], (show_help,))[0](*sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/LocalNote/main.py", line 39, in show_help
print('%-10s: %s'%(fn, h[1].decode('utf8').encode(sys.stdin.encoding)))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-8: ordinal not in range(128)
应该是字符集问题,不知道是我系统的问题还是localnote的问题?
可以在这里交流,我会及时回复的~
Mac下安装报错
pip install localnote
********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
Perhaps try: xcode-select --install
*********************************************************************************
error: command 'clang' failed with exit status 1
----------------------------------------
Cleaning up...
Command /usr/local/opt/python/bin/python2.7 -c "import setuptools, tokenize;__file__='/private/var/folders/sb/sldxrjw12wzc87whvqmv_fy80000gn/T/pip_build_jay/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/sb/sldxrjw12wzc87whvqmv_fy80000gn/T/pip-KGWbVB-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/var/folders/sb/sldxrjw12wzc87whvqmv_fy80000gn/T/pip_build_jay/lxml
Storing debug log for failure in /Users/jay/.pip/pip.log
有遇到过类似的状况吗?
Mac 下报错
Downloading 0104#资源下载/.DS_Store
Traceback (most recent call last):
File "/usr/local/var/pyenv/versions/2.7.11/bin/localnote", line 11, in <module>
sys.exit(main())
File "/usr/local/var/pyenv/versions/2.7.11/lib/python2.7/site-packages/LocalNote/main.py", line 174, in main
argDict.get(sys.argv[0], (show_help,))[0](*sys.argv[1:])
File "/usr/local/var/pyenv/versions/2.7.11/lib/python2.7/site-packages/LocalNote/main.py", line 31, in _check_files_format
return fn(mainController, *args, **kwargs)
File "/usr/local/var/pyenv/versions/2.7.11/lib/python2.7/site-packages/LocalNote/main.py", line 106, in pull
r = mainController.download_notes(False)
File "/usr/local/var/pyenv/versions/2.7.11/lib/python2.7/site-packages/LocalNote/controllers.py", line 120, in download_notes
_download_note(noteFullPath)
File "/usr/local/var/pyenv/versions/2.7.11/lib/python2.7/site-packages/LocalNote/controllers.py", line 97, in _download_note
self.ls.write_note(noteFullPath, {})
File "/usr/local/var/pyenv/versions/2.7.11/lib/python2.7/site-packages/LocalNote/local/storage.py", line 80, in write_note
clear_dir(join(nbName, nName))
File "/usr/local/var/pyenv/versions/2.7.11/lib/python2.7/site-packages/LocalNote/local/storage.py", line 160, in clear_dir
dirs, files = os.walk(currentDir).next()[1:]
StopIteration
这个要是能有个可视化版的就好了,找了好久,找到了一个类似的桌面端自动同步markdown笔记到印象笔记的工具https://blog.csdn.net/u010918911/article/details/125043780 作者什么时候也写一个类似的呢?
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.