Skip to content

Broken Add-in Repository #1542

@kousu

Description

@kousu

Description
When I try to install an add-in I get

Could not get information from repository: https://pintaproject.github.io/Pinta-Community-Addins/repository/Linux/main.mrep

I figured out that I could download addins from https://github.com/PintaProject/Pinta-Community-Addins/tree/gh-pages/repository/All and install them with the folder icon, and it's great that there's a fall-back!

Just in case it was somehow my network, I checked if I am able to open https://pintaproject.github.io/Pinta-Community-Addins/repository/Linux/main.mrep; I can:

main.mrep
<?xml version="1.0" encoding="utf-8"?>
<Repository xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Repository>
    <Url>root.mrep</Url>
    <LastModified>2025-05-05T02:16:05.9649189+00:00</LastModified>
  </Repository>
</Repository>

I am also able to download

root.mrep
<?xml version="1.0" encoding="utf-8"?>
<Repository xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Addin>
    <Url>WebP_0.2.1.mpack</Url>
    <Addin>
      <Id>WebP</Id>
      <Namespace />
      <Name>WebP</Name>
      <Version>0.2.1</Version>
      <BaseVersion />
      <Author>Pinta Project</Author>
      <Copyright />
      <Url>https://github.com/PintaProject/WebPAddin</Url>
      <Description>Provides support for the WebP image format.</Description>
      <Category>File Formats</Category>
      <Dependencies>
        <AddinDependency>
          <AddinId>Pinta</AddinId>
          <Version>1.5</Version>
        </AddinDependency>
      </Dependencies>
      <OptionalDependencies />
      <Properties>
        <Property name="Name">WebP</Property>
        <Property name="Description">Provides support for the WebP image format.</Property>
        <Property name="Author">Pinta Project</Property>
        <Property name="Url">https://github.com/PintaProject/WebPAddin</Property>
        <Property name="DownloadSize">5371</Property>
      </Properties>
    </Addin>
  </Addin>
</Repository>

so I don't think it's my network.

To Reproduce

  1. Open Pinta
  2. Click [Menu] > Add-ins > Add-in manager...

Additional Info

Image

$ pinta --debug

(pinta:44169): Gtk-WARNING **: 20:05:31.591: GtkBox 0x55aaf5564f20 (box) reported min width 504 and natural width 500 in measure() with for_size=664; natural size must be >= min size
Error: Could not get information from repository: http://pintaproject.github.io/Pinta-Community-Addins/repository/Linux/main.mrep
System.InvalidOperationException: Nullable object must have a value.
   at System.Nullable`1.get_Value()
   at Mono.Addins.Setup.HttpClientDownloadFileRequest.get_ContentLength() in /Users/runner/work/1/s/Mono.Addins.Setup/Mono.Addins.Setup/DownloadFileRequest.cs:line 77
   at Mono.Addins.Setup.AddinStore.DownloadFile(IProgressMonitor monitor, String url) in /Users/runner/work/1/s/Mono.Addins.Setup/Mono.Addins.Setup/AddinStore.cs:line 650
   at Mono.Addins.Setup.AddinStore.DownloadObject(IProgressMonitor monitor, String url, Type type) in /Users/runner/work/1/s/Mono.Addins.Setup/Mono.Addins.Setup/AddinStore.cs:line 577
   at Mono.Addins.Setup.MonoAddinsRepositoryProvider.DownloadRepository(IProgressMonitor monitor, Uri absUri, AddinRepository rr) in /Users/runner/work/1/s/Mono.Addins.Setup/Mono.Addins.Setup/MonoAddinsRepositoryProvider.cs:line 40
   at Mono.Addins.Setup.RepositoryRegistry.UpdateRepository(IProgressMonitor monitor, Uri baseUri, RepositoryRecord rr) in /Users/runner/work/1/s/Mono.Addins.Setup/Mono.Addins.Setup/RepositoryRegistry.cs:line 362
Error: Could not get information from repository: http://pintaproject.github.io/Pinta-Community-Addins/repository/All/main.mrep
System.InvalidOperationException: Nullable object must have a value.
   at System.Nullable`1.get_Value()
   at Mono.Addins.Setup.HttpClientDownloadFileRequest.get_ContentLength() in /Users/runner/work/1/s/Mono.Addins.Setup/Mono.Addins.Setup/DownloadFileRequest.cs:line 77
   at Mono.Addins.Setup.AddinStore.DownloadFile(IProgressMonitor monitor, String url) in /Users/runner/work/1/s/Mono.Addins.Setup/Mono.Addins.Setup/AddinStore.cs:line 650
   at Mono.Addins.Setup.AddinStore.DownloadObject(IProgressMonitor monitor, String url, Type type) in /Users/runner/work/1/s/Mono.Addins.Setup/Mono.Addins.Setup/AddinStore.cs:line 577
   at Mono.Addins.Setup.MonoAddinsRepositoryProvider.DownloadRepository(IProgressMonitor monitor, Uri absUri, AddinRepository rr) in /Users/runner/work/1/s/Mono.Addins.Setup/Mono.Addins.Setup/MonoAddinsRepositoryProvider.cs:line 40
   at Mono.Addins.Setup.RepositoryRegistry.UpdateRepository(IProgressMonitor monitor, Uri baseUri, RepositoryRecord rr) in /Users/runner/work/1/s/Mono.Addins.Setup/Mono.Addins.Setup/RepositoryRegistry.cs:line 362

Version

ArchLinux, and I built Pinta from https://aur.archlinux.org/packages/pinta-git:

$ pacman -Qi pinta
Name            : pinta
Version         : 3.0.1-1

So that means this was built off 0ff7f12. But I had the same error before I upgraded; the last time I built Pinta was at 3.0.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    addinsIssues related to Pinta's support for add-ins

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions