Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Speaker: Don Becker

--> -->
 
 
<type 'exceptions.ValueError'>
Python 2.7.5: /usr/bin/python
Sat Jul 20 01:40:00 2019

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /srv/www/cgi-bin/calendar in ()
    540   print '</html>'
    541 
    542 if __name__ == '__main__':
=>  543   main()
    544 
main = <function main>
 /srv/www/cgi-bin/calendar in main()
     48     if row_exists(dbh, 'persons', person):
     49       print_html_header('BLU speaker: %s' % person)
=>   50       show_one_speaker(dbh, path_info)
     51     else:
     52       print_html_header('Nonexistent BLU speaker')
global show_one_speaker = <function show_one_speaker>, dbh = <connection object at 0x7fc253ef07f8; dsn: 'dbna...t='localhost' password=xxxxxxxxxxxxx', closed: 0>, global path_info = 'speakers/d-becker1'
 /srv/www/cgi-bin/calendar in show_one_speaker(dbh=<connection object at 0x7fc253ef07f8; dsn: 'dbna...t='localhost' password=xxxxxxxxxxxxx', closed: 0>, path_info='speakers/d-becker1')
    257     print '<h1>BLU Speaker: %s</h1>' % plain_name
    258 
=>  259     show_person(dbh, pers_id)
    260 
    261     if row['bio']:
global show_person = <function show_person>, dbh = <connection object at 0x7fc253ef07f8; dsn: 'dbna...t='localhost' password=xxxxxxxxxxxxx', closed: 0>, pers_id = 'd-becker1'
 /srv/www/cgi-bin/calendar in show_person(dbh=<connection object at 0x7fc253ef07f8; dsn: 'dbna...t='localhost' password=xxxxxxxxxxxxx', closed: 0>, pers_id='d-becker1', show_link=None)
    303       email = 'no-such-user@example.com'
    304     print '<img src="%s" width=32 height=32 />' % gravatar(email, 32)
=>  305     print nicename(row['name'], pers_id, show_link)
    306     if row['title']: print ', %s' % row['title']
    307     if row['org_name']:
global nicename = <function nicename>, row = ['Don Becker', 'Chief Technology Officer', 'peng...in Computing', 'http://www.penguincomputing.com'], pers_id = 'd-becker1', show_link = None
 /srv/www/cgi-bin/calendar in nicename(name='Don Becker', pers_id='d-becker1', show_link=None)
    334 
    335 def nicename(name, pers_id=None, show_link=None):
=>  336   pre,sur,post = name.split('/')
    337   name = '%s<strong>%s</strong>%s' % (pre,sur,post)
    338   link = '<a target="_blank" href="%s/speakers/%s">%s</a>' % (script_name, pers_id, name)
pre undefined, sur undefined, post undefined, name = 'Don Becker', name.split = <built-in method split of str object>

<type 'exceptions.ValueError'>: need more than 1 value to unpack
      args = ('need more than 1 value to unpack',)
      message = 'need more than 1 value to unpack'