Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-19510

Pypi indexing of pandoc_styles-0.8.5-py3-none-any.whl breaking the simple.html

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 6.10.4
    • Fix Version/s: 6.12.0
    • Component/s: PyPI
    • Labels:
      None

      Description

      Currently when deploying the pandoc_styles-0.8.5-py3-none-any.whl that you can download from here will break the indexing and you will see the following in the simple.html:

      <html><head><title>Simple Index</title><meta name="api-version" value="2" /></head><body>
      <a data-requires-python=">=3.6,<4.0" href="format:
      command-line:
      pandoc-option: value
      metadata:
      pandoc-variable: value
      template-variables:
      template-variable: value" rel="internal" >format:
      command-line:
      pandoc-option: value
      metadata:
      pandoc-variable: value
      template-variables:
      template-variable: value</a><br/>
      </body></html>
      

       and we got the following error:

      2019-06-30 16:40:36,696 [art-exec-21] [ERROR] (o.j.r.p.i.PypiIndexer:55) - Error during PyPi indexing for pypi-local: begin 43, end -1, length 50 java.lang.StringIndexOutOfBoundsException: begin 43, end -1, length 50 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319) at java.base/java.lang.String.substring(String.java:1874) at org.jfrog.repomd.pypi.indexer.PypiIndexReader.extractLinkAttribute(PypiIndexReader.java:79) at org.jfrog.repomd.pypi.indexer.PypiIndexReader.read(PypiIndexReader.java:41) at org.jfrog.repomd.pypi.indexer.PypiIndexer.readExistingIndex(PypiIndexer.java:85) at org.jfrog.repomd.pypi.indexer.PypiIndexer.indexAsSystem(PypiIndexer.java:66) at org.jfrog.repomd.pypi.indexer.PypiIndexer.index(PypiIndexer.java:50) at org.artifactory.addon.pypi.DelayedIndexingQueue.pollOnRepoIndex(DelayedIndexingQueue.java:81) at org.artifactory.addon.pypi.DelayedIndexingQueue.indexRepoEvents(DelayedIndexingQueue.java:65) at org.artifactory.addon.pypi.PypiServiceImpl.executeIndexing(PypiServiceImpl.java:157) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.artifactory.schedule.aop.TraceableMethodInvocation.proceed(TraceableMethodInvocation.java:72) at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:333) at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:58) at org.artifactory.schedule.aop.AsyncAdvice.lambda$submit$1(AsyncAdvice.java:252) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.artifactory.concurrent.ArtifactoryRunnable.run(ArtifactoryRunnable.java:50) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)
      

       

        Attachments

          Activity

            People

            Assignee:
            nadavy Nadav Yogev
            Reporter:
            batelt Batel Tova
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: