Issue #501 resolved

Could not load items. Server returned status: 500

Alexander Cherepanoff
created an issue

Hello. It is an error on my server. 1. From web-interface i was go "Repositories" -> select Mercurial repo -> click "Commits" 2. There are same error if i click "Source"

In first case there is a new records generated in scm-error.err: 2013-12-16 01:59:01.399:WARN:oejs.ServletHandler:/scm/api/rest/repositories/7jOPsU1zxA/changesets.json com.aragost.javahg.internals.RuntimeIOException: A non-digit found: i at sonia.scm.repository.spi.javahg.AbstractChangesetCommand.loadRevisionsFromStream(AbstractChangesetCommand.java:234) at sonia.scm.repository.spi.javahg.HgLogChangesetCommand.loadRevisions(HgLogChangesetCommand.java:145) at sonia.scm.repository.spi.javahg.HgLogChangesetCommand.singleRevision(HgLogChangesetCommand.java:186) at sonia.scm.repository.spi.HgLogCommand.getChangesets(HgLogCommand.java:139) at sonia.scm.repository.api.LogCommandBuilder.getChangesets(LogCommandBuilder.java:261) at sonia.scm.api.rest.resources.RepositoryResource.getChangesets(RepositoryResource.java:723) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

And in second case: 16.12.2013 2:02:06 com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container com.aragost.javahg.internals.UnexpectedCommandOutputException: Unexpected output from: tags [ignoring untrusted configuration option hooks.changegroup.scm = python:scmhooks.callback] at com.aragost.javahg.commands.TagsCommand.fromLine(TagsCommand.java:126) at com.aragost.javahg.commands.TagsCommand.execute(TagsCommand.java:84) at sonia.scm.repository.spi.HgTagsCommand.getTags(HgTagsCommand.java:83) at sonia.scm.repository.api.TagsCommandBuilder.getTagsFromCommand(TagsCommandBuilder.java:189) at sonia.scm.repository.api.TagsCommandBuilder.getTags(TagsCommandBuilder.java:140) at sonia.scm.api.rest.resources.RepositoryResource.getTags(RepositoryResource.java:943) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616)

Comments (7)

  1. Sebastian Sdorra repo owner
    • changed status to open

    This sound like an encoding problem. Which encoding do you use on your workstation and which encoding is selected at "Repository Types->Mercurial Settings->Encoding"?

  2. Alexander Cherepanoff reporter

    May be i don't understand your question? Workstation: Windows 7 64 bit Browser: Mozilla Firefox 25.0.1 Encoding on opened page with SCM-Manager: UTF-8 Repository Types->Mercurial Settings->Encoding: UTF-8

  3. Log in to comment