Bug Alert
I really need your help to pinpoint bugs and prioritize them.
Use this thread to add bugs you come across on Stylish. It would be great if you could include steps to reproduce the bug and how urgent you think the fix is (urgency levels: not very/very/crucial).
Thanks!
Use this thread to add bugs you come across on Stylish. It would be great if you could include steps to reproduce the bug and how urgent you think the fix is (urgency levels: not very/very/crucial).
Thanks!
Comments
Urgency level: crucial
Ok, so first off my Youtube Umbra style: https://userstyles.org/styles/130610/youtube-umbra got corrupted and about 90% of the code disappeared, I restored that but now my style isn't showing up on search results at all and the installs stat is completely screwed.
I'm not sure what happened with the changing of hands on this site but there seem to be some MAJOR issues happening at the moment.
Not a bug but a big questions for Users of Stylish: Are you going to continue to develop the Stylish addons for Firefox and Chrome ?
What qualifications do you have as a dev ? What have you done in the past in the dev community ?
Regards :bz
I've already restore the code manually...
I hope everything go back to normal soon. Thanks
EDIT: My theme has just disappeared on any search results (relevance, created, updated...) even if I was the first... It's annoying!
Themes not showing up at all in searches is my main beef, kind of makes them useless for anybody but myself if they never appear.
It miss a big part of it .
Can you fiX it?
Also haven't been in the forums for a while, but wow a mysterious new leader.. who are you? Has this ship sank even further to where spongebob is? O.o
EDIT: My style now shows up on search here now just install counts are still broken.
https://userstyles.org/styles/119996/almost-fully-customizable-last-fm
https://userstyles.org/styles/128894/facebook-dark-and-easy-on-the-eyes
https://userstyles.org/styles/84054/darker-tumblr
https://userstyles.org/styles/80958/tumblr-midnight-chrome-dashboard
There are a lot of them.
I search for ‘Youtube Ubra’ and got your style in the search result. Can you be more specific about this specific bug?
Regarding the install count, I assume you mean the weekly ones, since the total seems to be ok. I'll look into this and will keep you guys posted when I know more.
In the meantime I can answer some of your questions – the DB is secure, stable and backed up. I don't see a reason for problems with installing styles or updating them. I’ve switched to RDS, where we get auto backups. I suspect that some of the corrupted styles were caused by partially blocked traffic due to NGINX limits. I made some changes yesterday, which I believed resolved this issue.
There are two options now – you can restore your styles, which I believe will get them back on track, or you can wait till I continue and investigate this and possibly be able to make changes that will automatically adjust your styles to the new machines.
https://userstyles.org/styles/118180/dusky-gray-facebook-dark-theme
The search result, at least, seems to have fixed itself after some hours, not sure if that was some tinkering on your end in general or not?
As for the install count, yes I mean the weekly one.
Counting on authors to fix them is naive. Some are actively involved and will update, but most aren't and won't. If you do have a backup and can fix it, the longer you wait the worse it'll be. You'll end up overwriting new updates and making the whole process more of pain in the ass than it already is.
If you don't have a viable backup, or decide for whatever ill-advised reason not to bother, you'll need to validate styles and do a mass deletion. You can't continue serving up corrupted code to unsuspecting users.
Four of the top ten styles are corrupt [screenshot]. The .css files that are exactly 16KB (uncompressed) are truncated. The smaller files are unaffected, the larger files have been re-uploaded. For some styles [1] the .json file is smaller than the corresponding .css file. Those are almost certainly corrupt - it's not impossible, but they don't exist in the wild. "Secure" as in, you checked styles that were reported as corrupted against the md5 in the database?
[1] https://userstyles.org/styles/68293/crunchyroll-dark-theme
Additionally, normally when clicking on "More themes" from the homepage, the newly posted styles come up first. Currently, the newest posted date when searching from there is Oct 6.

By the way, there is interesting background reporting about the Barnabe-to-Hindman ownership changeover, and the userstyles corruption issue (which directed my attention to this forum) in the Ghacks.net article at http://www.ghacks.net/2016/10/09/stylish-and-userstyles-org-have-a-new-owner/. I edited the most salient details, as well as the "anagrammer" revelation of the changeover's 16kB CSS file truncation, which is at the root of the userstyles corruption problem, in my PasteBin post at http://pastebin.com/wkXjTAea. The 16kB CSS file truncation breaks all UserStyles larger than this size, leading to corrupt files which won't install, and that in turn leads to users' stats no longer incementing with new install counts. So user stats not incrementing was a tertiary symptom, deriving from install failures, which derived from 16kB CSS file size truncation during Hindman's takeover. - Apparently, many userstyle authors WERE aware of their install counts not increasing, BUT THEY DIDN'T KNOW THEIR USERSTYLES WERE FAILING TO INSTALL FOR NEW USERS, BECAUSE THE USERSTYLE'S CSS WAS BEING CORRUPTED (truncated at about 16kB). This only affected userstyles whose CSS file was larger than 16kB, so smaller userstyles would still install and run properly.
User "anagrammer" mentioned "validating styles" in one of his posts in this forum topic. I am not only seconding his suggestion, BUT MORE IMPORTANTLY, changing it from a suggestion to a MANDATORY OBLIGATION ON YOUR PART, Justin Hindman, since the actions you took in taking over UserStyles.org put in motion this massive failure. And it is a failure STILL UNKNOWN to most affected userstyles' authors AND users who try to install the broken userstyles. YOUR FAILURE, OR REFUSAL, TO VALIDATE ALL USERSTYLE CSS, AND MAKE IMMEDIATE AND PUBLIC NOTIFICATION ON EACH AFFECTED USERSTYLE'S INSTALL PAGE (AND DISABLING THE "INSTALL BUTTON"), WILL BE EVIDENCE OF MALPRACTICE ON YOUR PART. There is NO WAY to protect users, authors, and the reputation of UserStyles.org if these required actions are not taken immediately. Both of my most popular userstyles, "Black Google by Panos - R. Schneider Mod (Large)", and "Black Google by Panos - R. Schneider Mod (Medium)", were trashed in your takeover - and I did not know of it until today (almost two weeks after your failure - the installs dropped abruptly to "0" on 9/29/16, and remain there). How many users tried to install one of my userstyles (corrupted by you), and blame me for incompetence? I had 2062 installs of my Large version, and 554 installs of my Medium version, when the install counts stopped incrementing 9/29/16. By the way, "Black Google by Panos", the userstyle my two were derived from (correcting his errors), has almost 500,000 installs - a very popular userstyle, indeed - AND YOU BROKE HIS USERSTYLE, ALSO. He was getting 300-500 installs per week; I was getting around 50 - and now we are both down-and-out until we repost our userstyles. And it is quite possible that Panos Babo doesn't yet know you broke his userstyle, along with so many other authors. VALIDATION OF ALL USERSTYLES' CSS, no matter how laborious, is your ONLY way to get a handle on this - unless you already know how to RESTORE ALL CORRUPT USERSTYLE CSS FROM A VALID BACKUP - hopefully one made JUST BEFORE THE CHANGEOVER. (You were smart enough to make that backup, weren't you?) And if you have a backup, and don't yet know WHAT has to be restored, VALIDATING THE CSS OF ALL USERSTYLES is the ONLY way you are going to find out. DO IT !!!
And if you DON'T have a way to restore the broken CSS of ALL corrupt userstyles, you MUST notify all affected authors that their userstyles are broken, and that they must repost the CSS. THAT IS IN ADDITION to placing a Text Notice on the Style page, and disabling the "Install Button" (which actions are REQUIRED to notify potential users, and prevent trashing the reputation of the userstyle's author, and Stylish).
[By the way, authors reposting large userstyles have a major pain, since the CSS editor on UserStyles.org has about a 1024 character limit for Copy/Paste. - How stupid is that?]
Incidently, I have been a huge fan of Jason Barnabe for MANY years, and praise his work and devotion highly on a page for a Greasemonkey UserScript of mine (https://greasyfork.org/en/scripts/12271-revert-to-google-s-old-2012-2015-favicon). This recent UserStyles.org failure (and a MASSIVE failure it is), is a major letdown. The ramifications of this problem will not only affect new users trying to install corrupt userstyles - but will very likely impact the reputation of UserStyles.org, Stylish, userstyles authors - and, of course, Justin Hindman - and for a LONG time, if it is not VERY QUICKLY resolved. The longer a fix takes (assuming a restore-from-backup can take care of ALL corrupt userstyles' truncated CSS), the more likely it is that an older backup restore will wipe out an author's new reposted userstyle that included changes or improvements. Somebody better bust their ass to fix this - NOW !!!
Some of the tables where there was use of longtext got broken, which mostly effected the long styles. I've managed to restore most of the tables and you should see most styles working well again. Search seems to be working well too, which leaves the weekly install counts as the only main remaining issue. I'm still working on that.
Other than that, there are still some local problems with I'm dealing with, so I can't yet say all is back to normal yet, but we're definitely getting there.
It would be a big help if you could review your previous bugs and tell me if you're still seeing them.
Thanks
https://userstyles.org/styles/133094/vk-aquatica-dark-redesigned-layout
https://userstyles.org/styles/133515/google-search-solarized-dark
https://userstyles.org/styles/133516/sap-sdn
https://github.com/stylish-userstyles/userstyles/blob/master/db/structure.sql
I undeleted and modified the metadata of that old style (126922) again today but Sphinx can't find it. I also created a new style (133566) today, and Sphinx can't find that either.
You lost me there. I can see both styles, and 133516 immediately follows 133515, so what's missing?
It says "Update completed", but code of the style remains old. Stylish is finding new updates over and over, but can't install them.
In Firefox and Safari everything works well.