-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uploading images is not possible #31
Comments
That should be because pict-rs has been removed from lemmy_ynh as it was too difficult to maintain |
That's understandable, but is there a proposed mitigation? Can a user willing to take some risks install that module, for example? Is there a replacement? It seems to me like not having access to image uploads hampers the usefulness severely no? Not being able to have icons also makes the installed lemmy instance feel unwelcoming. edit: If anyone wants to explore installing this independently, the source is here: https://git.asonix.dog/asonix/pict-rs/ And it seems after installing, you'd have to edit I'm not entirely sure I understand all of it, but I'll try to make it work in the next few days. |
ok, let me know if it works, we could add informations into the readme |
Do you have the time to give me some context? What does "it caused too much issue during compilation" mean? If not it's ok, I'll figure it out |
On 77c7db4#diff-6233345de4867c7ccf72bac1fc1067988d2a4c8e1ab9a746956eafccf88cfed2 , you can see what I've removed. Before removing it last package_check was https://ci-apps.yunohost.org/ci/job/9054 Usually rust compilation failed on |
Sorry, my VPS is too small, I had to remove some apps, of which Lemmy. I won't be pursuing this issue at the moment, unfortunately. I may later if I size up my instance. From a very short preliminary research:
It seems like the issue is in the dependency chain. Possible mitigations:
|
Hi, any updates on this? This makes the Lemmy installation on Yunohost partially unusable... I don't think it should be marked as a "High-quality app" on the catalogue until this problem is fixed. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as off-topic.
This comment was marked as off-topic.
Hi, it's actually possible to "upload" images to Lemmy without pict-rs, publications can link to an external image, and the body can also use to do that. For avatars and banners, you can use Lemmy's API to specify external images as such. https://join-lemmy.org/api/interfaces/SaveUserSettings.html#avatar |
Nice Thanks! Problem i have, i have no clue for everything outside of the
"yunohost & other Panels", i already crashed my server few times, so really
can use only this "simple" user friendly solutions, like plesk, yunohost
administration...
but thanks!
tobi
|
I have started reimplementing Pict-RS, cf. PR mentioned above. It is still a work in progress, as uploads still fail. Contributions are welcome. |
Thanks for the Updates.
I am not so good with coding in particular but, I'm running a working lemmy
instance thanks to elest.io. But that's not optimal, because, it's with
elest.io not with my own hardware.
But for research, elest.io is very cool, they have a one click deployment
with lemmy code editor etcetera pp.
They have free trials and many code editing tools. But I am not affiliated
with them but maybe this can help. Good week.
tituspijean ***@***.***> schrieb am Di., 20. Juni 2023, 00:24:
… I have started reimplementing Pict-RS, cf. PR mentioned above. It is still
a work in progress, as uploads still fail. Contributions are welcome.
—
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BASPGDIAJBVXTJJYDOYMEGDXMDGRNANCNFSM6AAAAAAQX6NR4Y>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks for working on this! |
Any update? I am not a rust developer but maybe I can help? |
Describe the bug
An error message is shown when trying to upload any image (post, community icon, instance icon). The message is the following:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Context
Steps to reproduce
Expected behavior
The instance should be able to accept image uploads.
Logs
Lemmy service log here: https://paste.yunohost.org/uhehososov
The text was updated successfully, but these errors were encountered: