Encountered the strangest glitch in nyx - brought up an image I've never seen before.

Post all technical issues and questions here. We'll gladly help you wherever we can.
Post Reply
User avatar
Shattered
Experimentor
Experimentor
Posts: 1238
Joined: Fri Jan 11, 2013 6:41 pm
I am a: Switch
Location: United Kingdom

Encountered the strangest glitch in nyx - brought up an image I've never seen before.

Post by Shattered »

I uploaded a file to the nyx editor, it looks fine. When I go to add it to my web tease, another image comes up. I've never seen it before, it's not from my PC. I can only assume Nyx somehow pulled it from somewhere else on the system, and that kinda seems like it could be really bad for the backend. I renamed it and uploaded it so not a problem for me personally but I feel it should be noted.
condomdispenser
Explorer
Explorer
Posts: 26
Joined: Thu Feb 16, 2017 5:13 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Encountered the strangest glitch in nyx - brought up an image I've never seen before.

Post by condomdispenser »

been happening to a lot of us. sadly.
seraph0x
Administrator
Administrator
Posts: 2654
Joined: Sun Jul 23, 2006 8:58 am

Re: Encountered the strangest glitch in nyx - brought up an image I've never seen before.

Post by seraph0x »

Hmm, I'm not sure what would cause that. :-/
User avatar
Venus
Explorer At Heart
Explorer At Heart
Posts: 358
Joined: Tue Jul 03, 2012 1:28 pm
Location: Germany

Re: Encountered the strangest glitch in nyx - brought up an image I've never seen before.

Post by Venus »

Hey,

I am currently converting my Maze of Passion 2 tease to Nyx. I noticed that nyx displays on several pages a wrong picture. It's always the same picture showing a 3D-character. I haven't uploaded it and in the media section the correct picture is shown...

The wrong picture which is shown on several pages
Wrong Pic.PNG
Wrong Pic.PNG (135.99 KiB) Viewed 2300 times
The picture which should be displayed in this example
uploaded pic.PNG
uploaded pic.PNG (20.43 KiB) Viewed 2300 times
I'll try what Shattered did, but it's kinda annoying to check 1500+ pages :\'-(

The tease id is 35105
Cock Hero - Overwatch 3 is out! viewtopic.php?f=25&t=22817
seraph0x
Administrator
Administrator
Posts: 2654
Joined: Sun Jul 23, 2006 8:58 am

Re: Encountered the strangest glitch in nyx - brought up an image I've never seen before.

Post by seraph0x »

This is a fascinating bug - I'll try to shed some light on the situation, although I don't totally understand it myself yet.

First, some background. Milovana uses a virtualized file system. When you upload a file, it is hashed, the name is stored in the database with a pointer to the hash of the image. The image itself is then stored under that hash. That way, when multiple people upload the same image we only have to store it once.

Those of you affected by the glitch are all seeing the same picture. It is the second-oldest picture in the virtualized file system, ID=2.

The bug occurred exactly 380 times since 2012 when it first occurred. In that time roughly 247000 images have been uploaded, so the bug affected approximately 0.15% of uploads. But when it struck it often struck several times in a row.

Another peculiarity is that the images pointing to the wrong image are all marked as size=0 in the virtual file system. In other words, something must be going wrong during the upload that corrupts the upload process and it tends to happen several times over a short period and then not at all for potentially a very long time.

@Venus: I pulled the list of affected images from your tease:
Spoiler: show
"515449","24617","515361","arielset06no001.jpg","tease","35105","0","0","1491338609","1491338609","0","image/jpeg","2"
"515529","24617","515361","arielset06no000.jpg","tease","35105","0","0","1491415230","1491415230","0","image/jpeg","2"
"515530","24617","515361","arielset06no000.jpg","tease","35105","0","0","1491415283","1491415283","0","image/jpeg","2"
"515531","24617","515361","arielset06no000.jpg","tease","35105","0","0","1491415401","1491415401","0","image/jpeg","2"
"515532","24617","515361","arielset06no000.jpg","tease","35105","0","0","1491415690","1491415690","0","image/jpeg","2"
"515533","24617","515361","arielset06no000.jpg","tease","35105","0","0","1491415779","1491415779","0","image/jpeg","2"
"515716","24617","515361","corri58.jpg","tease","35105","0","0","1491417585","1491417585","0","image/jpeg","2"
"515718","24617","515361","corri59.jpg","tease","35105","0","0","1491417925","1491417925","0","image/jpeg","2"
"516753","24617","515361","samsaint06.jpg","tease","35105","0","0","1491428633","1491428633","0","image/jpeg","2"
"517198","24617","515361","samsaint14.jpg","tease","35105","0","0","1491578843","1491578843","0","image/jpeg","2"
"517200","24617","515361","samsaint17.jpg","tease","35105","0","0","1491579010","1491579010","0","image/jpeg","2"
"517208","24617","515361","samsaint41.jpg","tease","35105","0","0","1491579280","1491579280","0","image/jpeg","2"
"517216","24617","515361","samsaint78.jpg","tease","35105","0","0","1491579450","1491579450","0","image/jpeg","2"
"517406","24617","515361","arielset06no001.jpg","tease","35105","0","0","1491581344","1491581344","0","image/jpeg","2"
"517408","24617","515361","arielset06no002.jpg","tease","35105","0","0","1491581735","1491581735","0","image/jpeg","2"
"517412","24617","515361","arielset06no012.jpg","tease","35105","0","0","1491581993","1491581993","0","image/jpeg","2"
"517414","24617","515361","arielset06no013.jpg","tease","35105","0","0","1491582096","1491582096","0","image/jpeg","2"
"517421","24617","515361","arielset06no026.jpg","tease","35105","0","0","1491582382","1491582382","0","image/jpeg","2"
"517423","24617","515361","arielset06no028.jpg","tease","35105","0","0","1491582474","1491582474","0","image/jpeg","2"
"517427","24617","515361","arielset06no032.jpg","tease","35105","0","0","1491582592","1491582592","0","image/jpeg","2"
"517430","24617","515361","arielset06no038.jpg","tease","35105","0","0","1491582656","1491582656","0","image/jpeg","2"
"517434","24617","515361","arielset06no044.jpg","tease","35105","0","0","1491582736","1491582736","0","image/jpeg","2"
"517436","24617","515361","arielset06no046.jpg","tease","35105","0","0","1491582788","1491582788","0","image/jpeg","2"
"517442","24617","515361","arielset06no084.jpg","tease","35105","0","0","1491582887","1491582887","0","image/jpeg","2"
"517444","24617","515361","arielset06no088.jpg","tease","35105","0","0","1491582933","1491582933","0","image/jpeg","2"
"517446","24617","515361","arielset06no089.jpg","tease","35105","0","0","1491582978","1491582978","0","image/jpeg","2"
"517448","24617","515361","arielset06no091.jpg","tease","35105","0","0","1491583026","1491583026","0","image/jpeg","2"
"517455","24617","515361","arielset06no092.jpg","tease","35105","0","0","1491583070","1491583070","0","image/jpeg","2"
"517465","24617","515361","arielset06no101.jpg","tease","35105","0","0","1491583131","1491583131","0","image/jpeg","2"
"517481","24617","515361","arielset06no114.jpg","tease","35105","0","0","1491583240","1491583240","0","image/jpeg","2"
"517485","24617","515361","capriceset2no02.jpg","tease","35105","0","0","1491583342","1491583342","0","image/jpeg","2"
"517489","24617","515361","capriceset2no07.jpg","tease","35105","0","0","1491583584","1491583584","0","image/jpeg","2"
"517492","24617","515361","capriceset2no14.jpg","tease","35105","0","0","1491583723","1491583723","0","image/jpeg","2"
"517494","24617","515361","capriceset2no26.jpg","tease","35105","0","0","1491583774","1491583774","0","image/jpeg","2"
"517496","24617","515361","capriceset2no27.jpg","tease","35105","0","0","1491583827","1491583827","0","image/jpeg","2"
"517502","24617","515361","capriceset2no36.jpg","tease","35105","0","0","1491584005","1491584005","0","image/jpeg","2"
"517506","24617","515361","capriceset2no51.jpg","tease","35105","0","0","1491584120","1491584120","0","image/jpeg","2"
"517513","24617","515361","capriceset2no59.jpg","tease","35105","0","0","1491584233","1491584233","0","image/jpeg","2"
"517519","24617","515361","meganrain000.jpg","tease","35105","0","0","1491584402","1491584402","0","image/jpeg","2"
"517520","24617","515361","indiaset01no01.jpg","tease","35105","0","0","1491584432","1491584432","0","image/jpeg","2"
Hopefully, this helps with fixing the issue without looking at every individual page.

I'd like to fix the issue permanently of course, but right now I'm not sure where to even start. Is there anything you guys can think of that might have triggered the bug?
User avatar
Venus
Explorer At Heart
Explorer At Heart
Posts: 358
Joined: Tue Jul 03, 2012 1:28 pm
Location: Germany

Re: Encountered the strangest glitch in nyx - brought up an image I've never seen before.

Post by Venus »

Thanks for the list, that helps a lot. :thumbsup:

Just a glance at the list and I noticed every single picture is actually part of the pictures I had to scale down, because they were too big at first to upload. The file size (~2.8 MB) is not the only limit for upload, the resolution is too. When trying to upload a picture which resolution was to big I got two weird error-boxes. One error message I can recall, because I searched for it in the forum: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2038"]
But I guess that error message is thrown for many different reasons.

Not all of the scaled down pictures are affected. The reason could be that once I got the error I at first tried to upload picture wise: try upload -> got error -> resize -> upload again.
I did this for the Ariel set and very many of these pictures are affected.

Once I realized if one picture of the set is affected the others are most likely also (at least at high risk), I started to resize the whole set when I got the error. That's the case for the meganrain and india sets. Only the first picture is affected.

As I noticed the resolution is a thing I resized a few sets before trying to upload and those aren't affected at all.


I conclude when uploading a picture which resolution is too big and the error message pops up the corrupted entry must be generated.
Cock Hero - Overwatch 3 is out! viewtopic.php?f=25&t=22817
rockar15
Explorer
Explorer
Posts: 5
Joined: Mon Jul 18, 2016 10:46 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Encountered the strangest glitch in nyx - brought up an image I've never seen before.

Post by rockar15 »

I'm getting this error pretty frequently as well. What exactly is the resolution threshold to avoid this error?
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests