leanote / leanote-all Goto Github PK
View Code? Open in Web Editor NEWThe repository contains leanote source and dependencies, just for developers. http://leanote.org
Home Page: https://leanote.com
The repository contains leanote source and dependencies, just for developers. http://leanote.org
Home Page: https://leanote.com
Can someone update the Readme with some information about the folder strsucture? It is impossible to navigate without some guidance as to where different components of the project are placed.
./Leanote
./Leanote: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
archlinux+openbox
When I copy paste a web page to leanote desktop app I got these errors:
shell console output:
.......
017/07/12 10:06:26.432 192.168.40.1 500 50.42736ms GET /api/note/getNoteContent
2017/07/12 10:06:26.430 192.168.40.1 500 58.104752ms GET /api/note/getNoteContent
2017/07/12 10:06:28.577 192.168.40.1 500 40.058768ms GET /api/note/getNoteContent
2017/07/12 10:06:28.580 192.168.40.1 500 46.328897ms GET /api/note/getNoteContent
2017/07/12 10:06:28.583 192.168.40.1 500 52.381446ms GET /api/note/getNoteContent
2017/07/12 10:06:28.586 192.168.40.1 500 56.627447ms GET /api/note/getNoteContent
2017/07/12 10:06:30.420 192.168.40.1 500 23.992911ms GET /api/note/getNoteContent
..........
Desktop application always loading can do nothing.
tail -f /opt/leanote/leanote-all/src/github.com/leanote/leanote/leanote.log:
net/http.serverHandler.ServeHTTP(0x44200b5970, 0xde7cc0, 0x44204170a0, 0x44206ffb00)
/usr/lib/go/src/net/http/server.go:2568 +0x7c
net/http.(*conn).serve(0x442054e780, 0xde8500, 0x44208d6f00)
/usr/lib/go/src/net/http/server.go:1825 +0x474
created by net/http.(*Server).Serve
/usr/lib/go/src/net/http/server.go:2668 +0x240
TRACE 2017/07/12 10:01:41 i18n.go:218: Unable to read locale cookie with name 'LEANOTE_LANG': http: named cookie not present
TRACE 2017/07/12 10:01:41 i18n.go:187: Unable to find locale in cookie or header, using empty string
TRACE 2017/07/12 10:01:41 i18n.go:218: Unable to read locale cookie with name 'LEANOTE_LANG': http: named cookie not present
TRACE 2017/07/12 10:01:41 i18n.go:187: Unable to find locale in cookie or header, using empty string
ERROR 2017/07/12 10:01:41 panic.go:34: runtime error: slice bounds out of range
/opt/leanote/leanote-all/src/github.com/leanote/leanote/app/service/NoteService.go:1070 +0xf74
github.com/leanote/leanote/app/controllers/api.ApiNote.GetNoteContent(0x44202a7800, 0x442013cd44, 0x18, 0x48c540, 0xa1fc40)
/opt/leanote/leanote-all/src/github.com/leanote/leanote/app/controllers/api/ApiNoteController.go:201 +0x1e0
github.com/leanote/leanote/app/controllers/api.(*ApiNote).GetNoteContent(0x44202e5188, 0x442013cd44, 0x18, 0x0, 0x0)
:313 +0x60
reflect.Value.call(0xa1fc40, 0x44202e5188, 0x2a13, 0xa2a1fe, 0x4, 0x442019b720, 0x1, 0x1, 0x953101, 0x0, ...)
/usr/lib/go/src/reflect/value.go:434 +0x8b4
reflect.Value.Call(0xa1fc40, 0x44202e5188, 0x2a13, 0x442019b720, 0x1, 0x1, 0x0, 0x1, 0x13)
/usr/lib/go/src/reflect/value.go:302 +0x7c
github.com/revel/revel.ActionInvoker(0x44202a7800, 0x4420070b90, 0x0, 0x0)
/opt/leanote/leanote-all/src/github.com/revel/revel/invoker.go:48 +0x4d0
github.com/revel/revel.CompressFilter(0x44202a7800, 0x4420070b90, 0x1, 0x1)
/opt/leanote/leanote-all/src/github.com/revel/revel/compress.go:55 +0x64
I copy paste part of https://jingyan.baidu.com/article/295430f1d6dc800c7e00508d.html with images.
web页上的“退出”问题。疑似使用了硬链接,跳到了 “http://localhost:9001/logout?id=1” ,导致Nginx代理失败。
How to disable automatic content format/style changing/colour function in webpage based leanote.
When I copy paste big webpages into leanote this function seems slow. And quite often mistake the content. Such as copy from stackoverflow with content like "#include "
The Go code ..\src\github.com\leanote\leanote\app\controllers\OauthController.go does not compile: c.RenderArgs undefined (type Oauth has no field or method RenderArgs).
func (c Oauth) GithubCallback(code string) revel.Result {
t := &oauth.Transport{Config: oauthCfg}
// Exchange the received code for a token
tok, err := t.Exchange(code)
token := tok.AccessToken
if err != nil || token == "" {
c.RenderArgs["title"] = "error"
return c.RenderTemplate("oauth/oauth_callback_error.html")
}
...
}
macOS 10.12.6 + leanote v2.6
leanote和其他程序分屏打开后,无法恢复为原来窗体,通过窗体关闭按钮关闭leanote会黑屏(只是leanote程序界面,其他程序界面正常),只能通过退出leanote重新打开恢复正常
email:[email protected]
@leanote
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.