2013-06-25

denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)
[staff profile] denise2013-06-25 04:04 am

Styles error on fresh install

So, after trying to get things working under OSX and failing horribly, I installed the code on an Ubuntu VM locally so I could hack without internet. Everything's going well enough so far, except that I had a mistake in my $LJHOME when I first ran update-db.pl (I had it as /home/dw/ instead of /home/dw). I corrected it later, but now all the styles are kind of fucked. When I visit /customize, it gives me this error:

[Error: You cannot use this theme. at /home/dw//cgi-bin/LJ/Customize.pm line 58. @ dev-dw]

After fixing the path error in $LJHOME, I tried deleting all the styles from the DB and re-ran update-db.pl -p, which at least forced all the styles to recompile, but that didn't make the error go away. I also tried changing the theme_preview_styleid userprop using /admin/propedit, but no dice.

Anybody have any further thoughts? If things are really fucked I can drop the entire dw database table and start over, but if somebody knows of anything quicker than that, that'd be great.
kaberett: Trans symbol with Swiss Army knife tools at other positions around the central circle. (Default)
[personal profile] kaberett2013-06-25 05:14 pm
Entry tags:

Making github a little less intimidating

So! Today I noticed that github, on your profile page, tells you your "longest coding streak" (consecutive days with commits, I think) and your "current coding streak". This metric is an incredible way to give me anxiety attacks and impostor syndrome; [personal profile] sophie very kindly coded up a Greasemonkey script that removes these panels (on all viewed profiles). On the grounds that I can't be the only person with this particular Issue... have at it. :-) (Shared with Sophie's permission!)