YunoHost-Apps / svgedit_ynh

SVG-edit package for YunoHost
MIT License
4 stars 2 forks source link

Blank page on installation #22

Open MadMan247 opened 3 months ago

MadMan247 commented 3 months ago

Describe the bug

I am unable to use SVG-edit, as it returns a blank white page.

EDIT: Fixed by #24, please merge

Context

Steps to reproduce

install SVG-edit

Expected behavior

able to use program like you can in the demo link

Logs

Install: https://paste.yunohost.org/raw/asadeboqez

console log: Uncaught TypeError: The specifier “@svgedit/svgcanvas” was a bare specifier, but was not remapped to anything. Relative module specifiers must start with “./”, “../” or “/”.

no SVG-edit service in webmin, so no logs there. I used ssh, could not find further logs.

stepcellwolf commented 2 months ago

Same here. Any solution?

MadMan247 commented 2 months ago

Taking a step back, it was updated to 7.2.0 4 months ago by ericgaspar. There is a high liklihood that this upgrade was what broke it, since the version used before that was 2.8.1, which is from December of 2015. Nothing was changed code-wise other than the github release file. While Ericgaspar is a pillar of yunohost with many contributions, this is not the first time I've seen him approve a bot's merge request that degrades the functionality of a program (See also: piwigo, Roundcube(fixed since)).

On a related note: I love yunohost, and I love the community, project, goals, and idea behind it. I know I'm being negative, but it is because these broken apps have been a pain in my side as a user, let alone when I was a new user. When I installed this app, I though I had messed something up. I have a reverse proxy for the machine I installed this on. This app failing to install caused me several hours of troubleshooting before I found out that this app was simply broken. And that's frustrating.

MadMan247 commented 2 months ago

actually, what? Did ericgaspar downgrade this? image

while the ynh version should match the release ver (2.8.1 to 7.2.0), the archive previously used was a newer version? what?

This further reinforces my point.

haha, yeah, Salamandar upgraded this to 7.3.3, but forgot to change the manifest.toml ynh version to reflect it, so ericgaspar 'upgraded' it to 7.2.0. I'm gonna see if I can install this using yunohost's "install custom app" feature using "https://github.com/YunoHost-Apps/svgedit_ynh/tree/7091f2c277e509b4e4a2a0c0e4df2f45bf8f9caa" image https://github.com/YunoHost-Apps/svgedit_ynh/commit/6e09322304fdbf009e79c08dc6081c4b1d7102f8#diff-06ac558c9cfca9e31a9a235f18d98e6d0c3bfee8bee0088108a29f2c60b318e3R48 I apologize for being incorrect about it previously being 2.8.1. I do not intend to spread false information.

MadMan247 commented 2 months ago

yep. Found a workaround.

In Yunohost's Webmin:

Applications > Install > Install Custom App (at bottom of 'catalog' page)

paste link: https://github.com/YunoHost-Apps/svgedit_ynh/tree/7091f2c277e509b4e4a2a0c0e4df2f45bf8f9caa

click Install > ok > check 'I understand that this installation may break my system but i still want to try.'

customize install settings to your preference

install

it just works.

Why install a custom app with that suspicious url? Well, that URL relates to a branch of this github that existed after salamander upgraded it to 7.3.3, and before ericgaspar downgraded the installation. the SVG edit from the yunohost catalog is only the latest version, which is after it was broken.

Please follow these instructions at your own risk.