Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Bug Reports & Support Sticky

A topic by sudo whoami created Jul 26, 2025 Views: 287 Replies: 13
Viewing posts 1 to 4
Developer

This is the place to post bug reports or requests for technical support. Feature requests or general discussion / comments should be posted in their respective topics.

Hi! I'm not able to import any palette, unfortunately. I get hit with error `lospec-palette-importer.lua:344: unexpected end of input`

Developer

Hi @organictrain, sorry to hear you’re running into trouble.

Could you please tell me what version of Aseprite you’re using and the palette name you tried to import?

This error typically occurs when Lospec sends bad data to the extension, or generally means the palette info was mangled somehow.

You may also want to check that your firewall isn’t blocking traffic from Lospec, as some users have found that.

For now, please try removing and reinstalling the extension.

(TEMPORARY FIX)

I have the same issue as you and yes I'm on Linux and Install Aseprite through Steam.

So when I run aseprite from steam it will throw me  `lospec-palette-importer.lua:344: unexpected end of input` error
After add some debug check and I found out that it logged this.

/usr/bin/curl: .../SteamLinuxRuntime/.../libcurl.so.4: version 
`CURL_OPENSSL_4' not found (required by /usr/bin/curl)

That means when Aseprite (launched under Steam runtime / a sandbox) runs /usr/bin/curl it ends up picking up the runtime's libcurl which is incompatible with my system curl binary. The curl binary therefore prints an error instead of JSON, causing the JSON decode failure.

So my fix is that just run aseprite directly from the installed folder or change `Aseprite.desktop` that created from steam
to this:
[Desktop Entry]
Name=Aseprite
Comment=Play this game on Steam
Exec=/home/(your-user-name)/.local/share/Steam/steamapps/common/Aseprite/aseprite
Icon=steam_icon_431730
Terminal=false
Type=Application
Categories=Game;
Developer

That’s a great find Neil! Thanks for the info. I wonder if there’s a more permanent workaround…

You can take a look at this:
It works fine for both Windows and Linux, not sure about Mac, but it would just fall back to use default one if not Linux
https://github.com/JRiggles/Lospec-Palette-Importer/commit/9b4a4494a234896eef4ae...

Developer

Thanks Niel, I’ll have a look when I get a chance.

first message

second message


Hi, having some issues with the extension, the daily Palette says the name is invalid and if I try to open any other Palette it keeps sending the first message. Can this be because the extension is installing on the wrong disk as Asprite is on another one? if so were should I move it?

Developer

Hi @hinehole@ Can you answer a few questions for me please:

  • What version of Aseprite are you using (and is it the standalone version or the Steam version)?
  • What is the name of the palette you are trying to import (so I can try it)?
  • Are you entering the palette’s name, URL, or URL slug (the bit after /palette-list/ in the lospec.com URL)?

Today's palette is r-place-2023 "r/place 2023 Palette"

Upon trying to save it as a preset, this throws an error in line 145 of `lospec-palette-importer.lua` "Error writing to palette file!"

I suppose this happens because of the forward slash in the palette name. I'm on Linux if this information is relevant.

Developer

Hey Myian! I’ll look into that, but I’d guess you’re probably right about the slash. I’ll check to see how the palette slug is being handled.

That said, I don’t officially support Linux, so there may be some issues there. I’ll see what I can find!

(1 edit)

There are otherwise zero issues on Linux I've encountered so far.

Is the palette name in general sanitized? It looks like there are some other crazy symbols that are also disallowed on Windows, e.g. the pipe, like this palette: https://lospec.com/palette-list/fourlines-22

Developer

Glad to hear it! Some Linux users have reported that the extension trying to use curl is broken for them - I haven’t nailed down a good fix, and my Linux setup is just a separate partition on this MacBook, so it’s maybe not 100%.

The palette name (as provided by the user) is “sluggified” using a lua port of Skeddles’ own “sluggify” that he uses for Lospec proper, but (as far as I remember) the raw name is used for saved palette files - I’ll look into sanitization for those too.

FWIW, I tried a different r/place palette and encountered the same issue, so I think you’re right on about the slash being the issue:

And I didn’t have any issue saving “|||| 22 PALETTE” on MacOS, so I’ll chalk that up to platform-specific shenanigans.

What I might do is fall back to saving the palette using its slug if using the actual name fails (and if that fails, something else is up).

Thanks for the report!

Developer

Fixed! v1.5.1 will be up shortly. Thanks Myian!