Comments (4)
if you run quick-clone with a --debug argument, you should see the
full exception stack trace. could you post it, along with the last
couple lines before it?
On Fri, Apr 22, 2011 at 9:10 AM, dontjee
[email protected]
wrote:
When running a quick-clone operation I see the ''Initialized empty Git repository " message, then about 10 different 'xxxx objects created...' messages.
The next message I see is an error, 'The server returned content type text/html, which is not supported.', and the clone operation terminates.
Is this something wrong with my repository or with git-tfs?
Reply to this email directly or view it on GitHub:
https://github.com/spraints/git-tfs/issues/37
from git-tfs.
Here's the stacktrace
U fe4e83c7c51350a8c9f8bb555018861b4e95c505 = _Branches/Research/Database/DbProj/Schema Objects/Schemas/dbp/Programmability/Stored Procedures/spDelete.proc.sql
git command time: [00:10:26.6676605] update-index -z --index-info
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.TeamFoundation.VersionControl.Client.Versi onControlException: The server returned content type text/html, which is not supported.
at Microsoft.TeamFoundation.VersionControl.Client.Client.EndDownloadFile(IAsyncResult asyncResult, Stream& downloadStream)
at Microsoft.TeamFoundation.VersionControl.Client.Client.EndDownloadFile(IAsyncResult asyncResult)
at Microsoft.TeamFoundation.VersionControl.Client.Client.DownloadFile(String downloadUrl, String localFileName)
at Microsoft.TeamFoundation.VersionControl.Client.Item.DownloadFile(String localFileName)
at Sep.Git.Tfs.VsCommon.WrapperForItem.DownloadFile(String file)
at Sep.Git.Tfs.Core.TfsChangeset.Add(IItem item, String pathInGitRepo, GitIndexInfo index) in d:\dev\github\git-tfs\GitTfs\Core\TfsChangeset.cs:line 169
at Sep.Git.Tfs.Core.TfsChangeset.CopyTree(GitIndexInfo index) in d:\dev\github\git-tfs\GitTfs\Core\TfsChangeset.cs:line 150
at Sep.Git.Tfs.Core.GitTfsRemote.<>c__DisplayClassb.<CopyTree>b__9(GitIndexInfo index) in d:\dev\github\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 254
at Sep.Git.Tfs.Core.GitIndexInfo.Do(TextWriter stdin, IGitRepository repository, Action`1 action) in d:\dev\github\git-tfs\GitTfs\Core\GitIndexInfo.cs:line 2 1
at Sep.Git.Tfs.Core.GitIndexInfo.<>c__DisplayClass1.<Do>b__0(TextWriter stdin) in d:\dev\github\git-tfs\GitTfs\Core\GitIndexInfo.cs:line 12
at Sep.Git.Tfs.Core.GitHelpers.<>c__DisplayClassb.<CommandInputPipe>b__a() in d:\dev\github\git-tfs\GitTfs\Core\GitHelpers.cs:line 160
at Sep.Git.Tfs.Core.GitHelpers.Time(String[] command, Action action) in d:\dev\github\git-tfs\GitTfs\Core\GitHelpers.cs:line 182
at Sep.Git.Tfs.Core.GitHelpers.CommandInputPipe(Action`1 action, String[] command) in d:\dev\github\git-tfs\GitTfs\Core\GitHelpers.cs:line 156
at Sep.Git.Tfs.Core.GitIndexInfo.Do(IGitRepository repository, Action`1 indexAction) in d:\dev\github\git-tfs\GitTfs\Core\GitIndexInfo.cs:line 12
at Sep.Git.Tfs.Core.GitTfsRemote.<>c__DisplayClassb.<CopyTree>b__8() in d:\dev\github\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 254
at Sep.Git.Tfs.Core.GitTfsRemote.<>c__DisplayClass1a.<WithTemporaryIndex>b__19() in d:\dev\github\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 336
at Sep.Git.Tfs.Core.GitTfsRemote.WithTemporaryEnvironment(Action action, IDictionary`2 newEnvironment) in d:\dev\github\git-tfs\GitTfs\Core\GitTfsRemote.cs:l ine 346
at Sep.Git.Tfs.Core.GitTfsRemote.WithTemporaryIndex(Action action) in d:\dev\github\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 333
at Sep.Git.Tfs.Core.GitTfsRemote.CopyTree(String lastCommit, ITfsChangeset changeset) in d:\dev\github\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 253
at Sep.Git.Tfs.Core.GitTfsRemote.QuickFetch() in d:\dev\github\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 150
at Sep.Git.Tfs.Commands.QuickFetch.DoFetch(IGitTfsRemote remote) in d:\dev\github\git-tfs\GitTfs\Commands\QuickFetch.cs:line 20
at Sep.Git.Tfs.Commands.Fetch.Run(String[] args) in d:\dev\github\git-tfs\GitTfs\Commands\Fetch.cs:line 57
at Sep.Git.Tfs.Commands.Fetch.Run() in d:\dev\github\git-tfs\GitTfs\Commands\Fetch.cs:line 49
at Sep.Git.Tfs.Commands.Clone.Run(String tfsUrl, String tfsRepositoryPath, String gitRepositoryPath) in d:\dev\github\git-tfs\GitTfs\Commands\Clone.cs:line 3 9
at Sep.Git.Tfs.Commands.Clone.Run(String tfsUrl, String tfsRepositoryPath) in d:\dev\github\git-tfs\GitTfs\Commands\Clone.cs:line 32
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAt tributes, RuntimeType typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes , RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisib ilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Sep.Git.Tfs.Util.GitTfsCommandRunner.Run(GitTfsCommand command, IList`1 args) in d:\dev\github\git-tfs\GitTfs\Util\GitTfsCommandRunner.cs:line 36
at Sep.Git.Tfs.GitTfs.Main(GitTfsCommand command, IList`1 unparsedArgs) in d:\dev\github\git-tfs\GitTfs\GitTfs.cs:line 56
at Sep.Git.Tfs.GitTfs.Run(IList`1 args) in d:\dev\github\git-tfs\GitTfs\GitTfs.cs:line 39
at Sep.Git.Tfs.Program.Main(String[] args) in d:\dev\github\git-tfs\GitTfs\Program.cs:line 23
The server returned content type text/html, which is not supported.
from git-tfs.
That looks like a TFS error. I'm not sure why git-tfs is seeing it.
But, you might be able to google that exception string "The server
returned content type text/html, which is not supported," and get it
working again. It looks like you might be able to clear your local
TFS cache to solve the
problem.
What version of VS and TFS are you using?
On Mon, Apr 25, 2011 at 9:42 AM, dontjee
[email protected]
wrote:
Here's the stacktrace
U fe4e83c7c51350a8c9f8bb555018861b4e95c505 = _Branches/Research/Database/DbProj/Schema Objects/Schemas/dbp/Programmability/Stored Procedures/spDelete.proc.sql git command time: [00:10:26.6676605] update-index -z --index-info System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.TeamFoundation.VersionControl.Client.Versi onControlException: The server returned content type text/html, which is not supported. at Microsoft.TeamFoundation.VersionControl.Client.Client.EndDownloadFile(IAsyncResult asyncResult, Stream& downloadStream) at Microsoft.TeamFoundation.VersionControl.Client.Client.EndDownloadFile(IAsyncResult asyncResult) at Microsoft.TeamFoundation.VersionControl.Client.Client.DownloadFile(String downloadUrl, String localFileName) at Microsoft.TeamFoundation.VersionControl.Client.Item.DownloadFile(String localFileName) at Sep.Git.Tfs.VsCommon.WrapperForItem.DownloadFile(String file) at Sep.Git.Tfs.Core.TfsChangeset.Add(IItem item, String pathInGitRepo, GitIndexInfo index) in d:\dev\github\git-tfs\GitTfs\Core\TfsChangeset.cs:line 169 at Sep.Git.Tfs.Core.TfsChangeset.CopyTree(GitIndexInfo index) in d:\dev\github\git-tfs\GitTfs\Core\TfsChangeset.cs:line 150 at Sep.Git.Tfs.Core.GitTfsRemote.<>c__DisplayClassb.<CopyTree>b__9(GitIndexInfo index) in d:\dev\github\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 254 at Sep.Git.Tfs.Core.GitIndexInfo.Do(TextWriter stdin, IGitRepository repository, Action`1 action) in d:\dev\github\git-tfs\GitTfs\Core\GitIndexInfo.cs:line 2 1 at Sep.Git.Tfs.Core.GitIndexInfo.<>c__DisplayClass1.<Do>b__0(TextWriter stdin) in d:\dev\github\git-tfs\GitTfs\Core\GitIndexInfo.cs:line 12 at Sep.Git.Tfs.Core.GitHelpers.<>c__DisplayClassb.<CommandInputPipe>b__a() in d:\dev\github\git-tfs\GitTfs\Core\GitHelpers.cs:line 160 at Sep.Git.Tfs.Core.GitHelpers.Time(String[] command, Action action) in d:\dev\github\git-tfs\GitTfs\Core\GitHelpers.cs:line 182 at Sep.Git.Tfs.Core.GitHelpers.CommandInputPipe(Action`1 action, String[] command) in d:\dev\github\git-tfs\GitTfs\Core\GitHelpers.cs:line 156 at Sep.Git.Tfs.Core.GitIndexInfo.Do(IGitRepository repository, Action`1 indexAction) in d:\dev\github\git-tfs\GitTfs\Core\GitIndexInfo.cs:line 12 at Sep.Git.Tfs.Core.GitTfsRemote.<>c__DisplayClassb.<CopyTree>b__8() in d:\dev\github\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 254 at Sep.Git.Tfs.Core.GitTfsRemote.<>c__DisplayClass1a.<WithTemporaryIndex>b__19() in d:\dev\github\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 336 at Sep.Git.Tfs.Core.GitTfsRemote.WithTemporaryEnvironment(Action action, IDictionary`2 newEnvironment) in d:\dev\github\git-tfs\GitTfs\Core\GitTfsRemote.cs:l ine 346 at Sep.Git.Tfs.Core.GitTfsRemote.WithTemporaryIndex(Action action) in d:\dev\github\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 333 at Sep.Git.Tfs.Core.GitTfsRemote.CopyTree(String lastCommit, ITfsChangeset changeset) in d:\dev\github\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 253 at Sep.Git.Tfs.Core.GitTfsRemote.QuickFetch() in d:\dev\github\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 150 at Sep.Git.Tfs.Commands.QuickFetch.DoFetch(IGitTfsRemote remote) in d:\dev\github\git-tfs\GitTfs\Commands\QuickFetch.cs:line 20 at Sep.Git.Tfs.Commands.Fetch.Run(String[] args) in d:\dev\github\git-tfs\GitTfs\Commands\Fetch.cs:line 57 at Sep.Git.Tfs.Commands.Fetch.Run() in d:\dev\github\git-tfs\GitTfs\Commands\Fetch.cs:line 49 at Sep.Git.Tfs.Commands.Clone.Run(String tfsUrl, String tfsRepositoryPath, String gitRepositoryPath) in d:\dev\github\git-tfs\GitTfs\Commands\Clone.cs:line 3 9 at Sep.Git.Tfs.Commands.Clone.Run(String tfsUrl, String tfsRepositoryPath) in d:\dev\github\git-tfs\GitTfs\Commands\Clone.cs:line 32 --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAt tributes, RuntimeType typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes , RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisib ilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Sep.Git.Tfs.Util.GitTfsCommandRunner.Run(GitTfsCommand command, IList`1 args) in d:\dev\github\git-tfs\GitTfs\Util\GitTfsCommandRunner.cs:line 36 at Sep.Git.Tfs.GitTfs.Main(GitTfsCommand command, IList`1 unparsedArgs) in d:\dev\github\git-tfs\GitTfs\GitTfs.cs:line 56 at Sep.Git.Tfs.GitTfs.Run(IList`1 args) in d:\dev\github\git-tfs\GitTfs\GitTfs.cs:line 39 at Sep.Git.Tfs.Program.Main(String[] args) in d:\dev\github\git-tfs\GitTfs\Program.cs:line 23 The server returned content type text/html, which is not supported.
Reply to this email directly or view it on GitHub:
https://github.com/spraints/git-tfs/issues/37#comment_1052930
from git-tfs.
Thanks for you help. I was able to narrow it down to a file that I had cloaked in Visual Studio which is why I hadn't seen the error before. I deleted the file from TFS, and everything worked perfectly.
Thanks!
from git-tfs.
Related Issues (20)
- Slow operation, more of a question HOT 4
- StructureMap.StructureMapException: StructureMap Exception Code: 207 HOT 1
- git-tfs was unable to find the root changeset
- Timeouts when I git tfs pull --rebase --debug HOT 1
- Error 200 ok on EnsureAuthenticated
- Wrong branch cloned when several branch names start in the same HOT 4
- Git TFS installation error. HOT 2
- GitTfs-0.32.0.zip file issues HOT 3
- Fails to build—restore not available HOT 1
- Cannot find module './tempdir' issue reported while copying files from staging environment to production HOT 1
- Policy: Internal error in Work Items. Error loading the Work Items policy HOT 2
- How do I retrieve file history after clone? All I see is branch comments. HOT 7
- Adding work items to the export file doesn't work
- git-tfs not showing history showing error,"Please report this case to the git-tfs developers!" HOT 1
- New Release after v0.32.0 HOT 4
- Sudden authentication issue HOT 2
- Export map can't be created, if a TFS changeset shall be assigned to multiple commits
- Wrong branch cloned when several branch names starts in the same
- "git tfs" isn't a command, but "git-tfs" is a command HOT 1
- Error while cloning branches by using command. - git tfs clone https://TFSURL/tfs/defaultcollection/ $/ProjectName/Ressursstyring/src/next . --branches=all HOT 2
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 git-tfs.