xiombarg wrote in lj_dev

Listens: S2 error? Zilla?

Okay, I'm using the Generator style and S2.

http://www.livejournal.com/users/xiombarg/friends?skip=80

Scroll to the bottom. There's an error message there -- it's easy to miss, as it's black on black.

Highlight it and you'll see: "Error running style: Died in S2::run_code running FriendsPage::print(): Can't use string ("") as a subroutine ref while "strict refs" in use at (eval 382) line 177."

I was getting the same error with my custom variant of Generator, so I switched to vanilla Generator to see if it would do the same thing, and it does.

Also tried it on the "Clean and Simple" style, with the following error: "Error running style: Died in S2::run_code running FriendsPage::print(): Method called on null CommentInfo object at layer #8, line 540."

It seems to be a problem with the specific entry on my friends list, with some null values in it.

Shouldn't S2 be more capable of handling unusual values? Should I zilla this?