openstyles / stylus

Stylus - Userstyles Manager
https://add0n.com/stylus.html
GNU General Public License v3.0
5.35k stars 302 forks source link

[Bug] JSON parse error when try publish style #1750

Closed zenstorage closed 7 months ago

zenstorage commented 7 months ago

Bug Report

Bug Description

JSON parse error when try publish style

It seems to only occur in this user css, but the editor does not indicate any errors in the code

Screenshots

image

CSS Code

The code is quite long and I don't know which part of the code is causing the problem, so it seems better to share the repo where it is https://github.dev/zenstorage/Minimal-Reddit/blob/main/minimal_reddit.user.styl

System Information

Additional Context

tophf commented 7 months ago

I can't test it because trying to publish a new style I see 500 Internal Server Error, which means it's a problem in userstyles.world site. @Gusted, could you investigate it?

zenstorage commented 7 months ago

I had noticed this, it seems that updating an already created style is working for me, but I can't exactly update this either through the website or through the editor

zenstorage commented 7 months ago

Working now, thanks