I am wrapping several suggestions / questions up in one, which I would not normally do, but it seems Ask Lemmy NSFW is more for fun questions, and less for support ones.
Suggestions
-
Can we have a specific community where technical questions / problems can be asked, if one does not already exist? I looked for such a community but was not able to find one. An obvious place to link to this community is your LemmyNSFW Docs page. A suggestion for the community name is ‘Ask an admin’
-
Can we have someplace that you state the technical limits on posting? From a thread on a post I found that you have a max file size of 20M, and a max width/height of 8K. This should be clearly stated somewhere, along with maybe supported hosting sites. Again the docs page would work.
Support questions
- Can we get improved error messages on uploading? (I realize these will have to be forwarded to software development)
1A. When uploading files I frequently get:
SyntaxError: Unexpected token ‘R’, “Request er”… is not valid JSON
Many times I will just try to upload the same file again, and it will succeed.
1B. A second error message:
TypeError: Cannot read properties of undefined (reading ‘constructor’)
Is generated when you clear the upload file name, to make another attempt at uploading a file.
- What are the actual limits on uploading files?
Today I uploaded two files.
The first one, started as a 6.6M 5304x7952 image. It failed five times on uploading, with the error ‘SyntaxError: Unexpected token ‘R’, “Request er”… is not valid JSON’ each time. I then scaled it to 5.5M 4243x6361, and it failed an additional 5 times, with the same error message, on uploading. I then scaled it to 3.9M 3536x5301, and it failed on the first two attempts, with the dame error message, and then successfully uploaded.
The second file was a 2.6M 3992x6000 image, and failed on the first attempt to upload, same error message. Then succeeded on the second attempt.
As a note, I have in the past received an error message along the lines of ‘Image too large’, I also have from time to time received an error message along the lines of ‘Network failure’.
Thank you for running Lemmy NSFW.
The Lemmy UI I am using is Chrome, occasionally Firefox. (Yes I see the same error in both browsers.)
That’s your browser. Click the link I posted and scroll down to “web apps” and you’ll see that there are other websites you can use to access this server.
Yes, and the browser is he “App” that I use to access Lemmy.
Yes, but in this context we’re talking about “web apps,” meaning the web address you’re using to connect to lemmynsfw content. There’s the standard lemmynsfw.com, but you can also log in and browse the exact same instance from websites like vger.app (which lets you log into multiple instances at once and gives you a much cleaner UI just like a standalone app). The link earlier lists every app and web app that works with Lemmy, and you might try experimenting with those alternatives to see if any of them give you an easier time uploading. If you want tech support, though, you’re going to have to tell us the web address you’re typing in because the error suggests that it’s not lemmynsfw.com itself but rather one of the many web apps that can do the same thing.
The URL I use is https://lemmynsfw.com/
Cool! That’s useful, and rules out Kyle’s initial hypothesis. Issue seems to be with Lemmynsfw.com’s website rather than the instance’s backend (we hope), so I’d email the mods ([email protected]). In the mean time, maybe try Voyager (website you can open from any device), Sync for Lemmy (if you’re on Android), Boost for Lemmy (also for Android), or browse the full list of apps by platform, popularity, and even open/closed source license type. If it’s a frontend issue, switching that up should help.