Sproglet / oversight

Oversight Jukebox for Popcorn Hour 1 and 2 series. Original code by Lordy.
1 stars 0 forks source link

[GUI] Characters in plot preventing full rendition of the TV details page #481

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Since upgrading all of my episodes of 'Star Trek' have disappeared. The series 
season boxes show, but when I go into the details page there appears to be no 
episodes at all and no plot data either. Interestingly, it previously had a 
very long plot; I tried rescanning, but am still seeing the same problem - This 
smacks of a non-escaped character causing the page render to collapse somewhere.

Original issue reported on code.google.com by keith.ja...@gmail.com on 8 Sep 2010 at 11:10

GoogleCodeExporter commented 9 years ago
Here's the full series plot (taken from plot.db)...

_@tt0060028@1@@_Star Trek was an influential science fiction television series 
created by Gene Roddenberry that followed the adventures of the crew of the 
starship U.S.S. Enterprise. The show began with the production of the 1964 
pilot "The Cage". "The Cage" featured Jeffrey Hunter as Enterprise captain 
Christopher Pike. The pilot was rejected by NBC executives as being too 
cerebral. In order to demonstrate the action-adventure potential of the series, 
another pilot entitled "Where No Man Has Gone Before" was produced. Replacing 
Jeffrey Hunter as Enterprise captain was William Shatner who starred as Captain 
James T. Kirk. The new pilot also starred Leonard Nimoy as Mr. Spock who was 
the only character to return from the original pilot after NBC's rejection of 
"The Cage". Response to the second, action-oriented, pilot was good and NBC 
gave the go ahead to the series. 
The series premiered on NBC on Thursday, September 8, 1966 in the 8:30-9:30 PM 
timeslot with the episode "The Man Trap". Critical response to the series was 
mixed and rating were lower than expected. In its second season, reoccurring 
guest star DeForest Kelley was added to the series' starring cast and the show 
was moved to Friday at 8:30. A decline in the ratings, however, prompted NBC to 
attempt to cancel the series after its second season, but a letter writing 
campaign by die hard fans of the show saved it from cancellation. An additional 
season of episodes were produced, but ratings continued to decline most likely 
due to the quality of the third season episodes and a bad 10:00 PM Friday night 
time slot. Despite another letter writing campaign, the series was finally 
cancelled after its third season. The last new episode "Turnabout Intruder" was 
shown on June 3, 1969. 

After its three year run Star Trek began running syndication where it was 
discovered by legion of new fans and became a phenomenon. The show inspired six 
features films, an animated series, and four additional spin-off television 
shows. Other spin-off's include novels, comic books, merchandise and an 
enormous amount of fan-fiction based on the series. Despite its short network 
run, Star Trek has become one of the most successful shows in television 
history. 

Aside from its three main stars, Star Trek featured a large cast of reoccurring 
guest stars that includes James Doohan, Nichelle Nichols, George Takei, Walter 
Koenig, Majel Barrett, and Grace Lee Whitney. Other notable guest stars include 
Diana Muldaur, Gary Lockwood, Ricardo Montalban, Sally Kellerman, Julie Newmar, 
Frank Gorshin, John Colicos, Roger C. Carmel, William Campbell, Ted Cassidy, 
Michael Ansara and Elisha Cook, Jr. Notable writers for the series include Gene 
Roddenberry, Gene L. Coon, George Clayton Johnson, Jerry Sohl, Jerome Bixby, 
Robert Bloch, Theodore Sturgeon, Harlan Ellison, David Gerrold, and D.C. 
Fontana. 

Original comment by keith.ja...@gmail.com on 8 Sep 2010 at 11:20

GoogleCodeExporter commented 9 years ago
I can confirm that by hacking down the plot manually in the file to the first 
sentence only the episodes then start to appear, so there must be a knockout 
character somewhere in the rest of the plot stream

Original comment by keith.ja...@gmail.com on 8 Sep 2010 at 11:24

GoogleCodeExporter commented 9 years ago
Adding the element '8:30-9:30' seems to cause this to appear by the buttons on 
the browser, but the Gaya display was OK....

?30-9?

The full tested content was....

_@tt0060028@1@@_Star Trek was an influential science fiction television series 
created by Gene Roddenberry that followed the adventures of the crew of the 
starship U.S.S. Enterprise. The pilot was called "The Cage". NBC's rejection 
Response to the second, action-oriented, pilot was good 8:30-9:30 PM

Original comment by keith.ja...@gmail.com on 9 Sep 2010 at 8:41

GoogleCodeExporter commented 9 years ago
Testing for length I added the whole plot to the browser, which now shows the 
following text...

Plot too long? The series premieredPlot too long? Plot too long? After its 
three yearPlot too long? Plot too long? Aside from its three

Testing on Gaya shows the same text - I am unable to replicate the error that I 
was seeing before without rescanning again. It does seem that the plot renderer 
is going a bit nutso with the spacings

Original comment by keith.ja...@gmail.com on 9 Sep 2010 at 8:46

GoogleCodeExporter commented 9 years ago
The character causing the issue appears to be the carriage return itself in the 
plot

Original comment by keith.ja...@gmail.com on 9 Sep 2010 at 9:03