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
Thu Oct 29 07:15:05 2020

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 ()
    561   print '</html>'
    562 
    563 if __name__ == '__main__':
=>  564   main()
    565 
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 0x7f05367f47f8; 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 0x7f05367f47f8; dsn: 'dbna...t='localhost' password=xxxxxxxxxxxxx', closed: 0>, path_info='speakers/d-becker1')
    265     print '<h1>BLU Speaker: %s</h1>' % plain_name
    266 
=>  267     show_person(dbh, pers_id)
    268 
    269     if row['bio']:
global show_person = <function show_person>, dbh = <connection object at 0x7f05367f47f8; dsn: 'dbna...t='localhost' password=xxxxxxxxxxxxx', closed: 0>, pers_id = 'd-becker1'
 /srv/www/cgi-bin/calendar in show_person(dbh=<connection object at 0x7f05367f47f8; dsn: 'dbna...t='localhost' password=xxxxxxxxxxxxx', closed: 0>, pers_id='d-becker1', show_link=None)
    311       email = 'no-such-user@example.com'
    312     print '<img src="%s" width=32 height=32 />' % gravatar(email, 32)
=>  313     print nicename(row['name'], pers_id, show_link)
    314     if row['title']: print ', %s' % row['title']
    315     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)
    342 
    343 def nicename(name, pers_id=None, show_link=None):
=>  344   pre,sur,post = name.split('/')
    345   name = '%s<strong>%s</strong>%s' % (pre,sur,post)
    346   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'