Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-12234

[autogen] app-admin/mongo-tools fails with HTTP 404

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium (Ebuild) Medium (Ebuild)
    • None
    • None
    • None

      Autogening of app-admin/mongo-tools fails with

      INFO     Created: dev-php/PEAR-Log/PEAR-Log-1.14.4.ebuild                                                                                                                                                                                                                                 
      INFO     Created: dev-php/PEAR-MIME_Type/PEAR-MIME_Type-1.4.1.ebuild                                                                                                                                                                                                                      
      ERROR    Fetch failure for https://api.github.com/repos/mongodb/mongo-tools/git/ref/tags/None: 404 Not Found {'message': 'Not Found', 'documentation_url': 'https://docs.github.com/rest/git/refs#get-a-reference'}                                                                       
      WARNING  Unable to retrieve https://api.github.com/repos/mongodb/mongo-tools/git/ref/tags/None... trying to used cached version instead...                                                                                                                                                
      ERROR    (metatools.fastpull.spider.FetchRequest<https://api.github.com/repos/mongodb/mongo-tools/git/ref/tags/None>, "HTTP fetch Error: https://api.github.com/repos/mongodb/mongo-tools/git/ref/tags/None: 404: Not Found {'message': 'Not Found', 'documentation_url':                 
               'https://docs.github.com/rest/git/refs#get-a-reference'}")                                                                                                                                                                                                                       
               Traceback (most recent call last):                                                                                                                                                                                                                                               
                 File "/usr/lib/python3.9/subpop/org.funtoo.metatools/pkgtools/autogen.py", line 436, in gen_wrapper                                                                                                                                                                            
                   await generate(AutoHub(autogen_id, pkgtools), **pkginfo)                                                                                                                                                                                                                     
                 File "/home/tree/repo_tmp/source-trees/kit-fixups/core-server-kit/curated/app-admin/mongo-tools/autogen.py", line 29, in generate                                                                                                                                              
                   tag_meta = await hub.pkgtools.fetch.get_page(f"https://api.github.com/repos/{github_user}/{github_repo}/git/ref/tags/{ver}", is_json=True)                                                                                                                                   
                 File "/usr/lib/python3.9/subpop/org.funtoo.metatools/pkgtools/fetch.py", line 222, in get_page                                                                                                                                                                                 
                   return await really_get_page(url, encoding=encoding, is_json=is_json, cached_result=cached_result)                                                                                                                                                                           
                 File "/usr/lib/python3.9/subpop/org.funtoo.metatools/pkgtools/fetch.py", line 181, in really_get_page                                                                                                                                                                          
                   raise e                                                                                                                                                                                                                                                                      
                 File "/usr/lib/python3.9/subpop/org.funtoo.metatools/pkgtools/fetch.py", line 147, in really_get_page                                                                                                                                                                          
                   headers, result = await pkgtools.model.spider.http_fetch(request, encoding=encoding, is_json=is_json, extra_headers=extra_headers, allow_304=allow_304)                                                                                                                      
                 File "/usr/lib/python3.9/site-packages/metatools/fastpull/spider.py", line 634, in http_fetch                                                                                                                                                                                  
                   raise FetchError(request,                                                                                                                                                                                                                                                    
               metatools.fastpull.spider.FetchError: (metatools.fastpull.spider.FetchRequest<https://api.github.com/repos/mongodb/mongo-tools/git/ref/tags/None>, "HTTP fetch Error: https://api.github.com/repos/mongodb/mongo-tools/git/ref/tags/None: 404: Not Found {'message': 'Not Found',
               'documentation_url': 'https://docs.github.com/rest/git/refs#get-a-reference'}")                                                                                                                                                                                                  
      INFO     Created: dev-php/PEAR-File_Gettext/PEAR-File_Gettext-0.4.2.ebuild                                                                                                                                                                                                                
      INFO     Created: dev-php/PEAR-Image_Text/PEAR-Image_Text-0.7.0.ebuild   
      

            borisp borisp
            borisp borisp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: