| ValueError | Python 2.4.3: /usr/bin/python Thu Feb 23 04:31:48 2012 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /var/www/vhosts/missdata.org/cgi-bin/misswalla/walla.cgi |
| 154 main_parts=[] |
| 155 #split into 3 parts. the middle one - [1] is the one we're working on (the left column) |
| 156 main_parts=parse_entire_page(full_page) |
| 157 #main_parts[0]=replace_flash(main_parts[0]) |
| 158 main_parts[0]=klumize_main_part(main_parts[0]) |
| main_parts = [], parse_entire_page = <function parse_entire_page>, full_page = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tra...:0;height:0;overflow:hidden;" />\n</body>\n</html>\n' |
| /var/www/vhosts/missdata.org/cgi-bin/misswalla/walla.cgi in parse_entire_page(full_page='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tra...:0;height:0;overflow:hidden;" />\n</body>\n</html>\n') |
| 50 |
| 51 #find relevant part |
| 52 (general,relevant)=full_page.split('<div class="t2" id="news1">') |
| 53 relevant=' <div class="t2" id="news1">'+relevant |
| 54 |
| general undefined, relevant undefined, full_page = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tra...:0;height:0;overflow:hidden;" />\n</body>\n</html>\n', full_page.split = <built-in method split of str object> |
ValueError: need more than 1 value to unpack
args =
('need more than 1 value to unpack',)