Comments (4)
Can you send the C:\Users\Win10.gitconfig file ?
from gitember.
Can you send the C:\Users\Win10.gitconfig file ?
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[user]
name = Zhaolin Lau
email = [email protected]
[core]
editor = atom
[gui]
editor = C:\Users\Win10\AppData\Local\atom\atom.exe
[http]
sslVerify = false
from gitember.
Codes below are the error message.
Cannot clone
org.eclipse.jgit.errors.ConfigInvalidException: Cannot read file C:\Users\Win10.gitconfig
at org.eclipse.jgit.storage.file.FileBasedConfig.load(FileBasedConfig.java:186)
at org.eclipse.jgit.util.SystemReader.updateAll(SystemReader.java:390)
at org.eclipse.jgit.util.SystemReader.getUserConfig(SystemReader.java:316)
at com.az.gitember.service.GitRepoService.configureTransportCommand(GitRepoService.java:1229)
at com.az.gitember.service.GitRepoService.cloneRepository(GitRepoService.java:1011)
at com.az.gitember.controller.handlers.CloneEventHandler$1.call(CloneEventHandler.java:31)
at com.az.gitember.controller.handlers.CloneEventHandler$1.call(CloneEventHandler.java:28)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1425)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.eclipse.jgit.errors.ConfigInvalidException: Newline in quotes not allowed
at org.eclipse.jgit.lib.Config.readValue(Config.java:1388)
at org.eclipse.jgit.lib.Config.fromTextRecurse(Config.java:1164)
at org.eclipse.jgit.lib.Config.fromText(Config.java:1098)
at org.eclipse.jgit.storage.file.FileBasedConfig.load(FileBasedConfig.java:144)
... 9 more
Works with http method, but can't clone with ssh
from gitember.
Cannot reproduce. However :
- related to undelaying jgit lib, whcuih is used in eclipse ide, egit, etc.
- according to the exceptions it thrown, during reading "lfs" value. "lfs" only one quoted value.
if ('\n' == c) { if (quote) { throw new ConfigInvalidException( // This is Config.java:1388 JGitText.get().newlineInQuotesNotAllowed); } in.reset(); break; }
- may be "lfs" some non-printable char among "lfs" chars, which is not copied to the "Win10.gitconfig
- "Works with http method, but can't clone with ssh" looks really strange, because code is related to config parsing , which is 100% protocol agnostic.
- some little chance, that this issue was fixed in v2.2 with added LFS supporr.
from gitember.
Related Issues (6)
- Gitember2.dmg can not be launched HOT 1
- Licensing HOT 4
- Error starting Gitember HOT 1
- Invalid package for CSharpLexer
- NPE Under Max OS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitember.