Re: TypeError in plugin info
will guaraldi <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Oops--I hadn't updated the plugininfo on my web-site to the version that I'm running that works with what's in CVS. The most current version is at: http://www.bluesock.org/~willg/dev/pyblosxom/ and should fix your problem. Sorry bout that. /will On Fri, 6 Feb 2004, Lance Weber wrote: > I'm making a ton of progress getting the site up - I'm mostly just > messing with my CSS. I'm having one problem to report however: > > /blog/plugin_info consistently generates a TypeError on my site's install. > > I'm can't really include a test link as the error is logged and the > client receives a 500 Internal Server Error, but you can see the rest of > the site appears to be functional at http://www.alfheimstudios.com/blog/ > > ----/var/log/apache/error.log---- > Traceback (most recent call last): > File "/proj/www/alfheim/blog/pyblosxom.cgi", line 42, in ? > p.run() > File "/usr/lib/python2.3/site-packages/Pyblosxom/pyblosxom.py", line > 234, in run > defaultfunc=default_file_list_handler) > File "/usr/lib/python2.3/site-packages/Pyblosxom/tools.py", line 367, > in run_callback > output = mem(input) > File "/proj/pyproj/myplugins/plugininfo.py", line 102, in cb_filelist > entry_list.append(build_entry(mem)) > File "/proj/pyproj/myplugins/plugininfo.py", line 47, in build_entry > entry = Pyblosxom.entries.base.EntryBase() > TypeError: __init__() takes exactly 2 arguments (1 given) > [Fri Feb 6 15:12:32 2004] [error] [client 204.69.158.13] Premature end > of script headers: /proj/www/alfheim/blog/pyblosxom.cgi > ------ > > Here's my infodump: > > ---- Base system ---- > Debian, Apache, Python 2.3.3, Pyblosxom cvs version from Feb 3rd > installed as system (ie, "sudo setup.py install"). > > ---- config.py entries ---- > py['datadir'] = "/proj/www/alfheim/blog/content" > py['base_url'] = "http://www.alfheimstudios.com/blog" > py['plugin_dirs'] = > ['/usr/share/pyblosxom-cvs/contrib/plugins','/proj/pyproj/myplugins'] > py['load_plugins'] = ['logrequest','logstats', 'pyarchives', 'pycalendar', 'pycategories', 'pyfilenamemtime', 'w3cdate','weblogsping', 'breadcrumbs', 'stripes', 'plugininfo'] > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > pyblosxom-users mailing list > pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/pyblosxom-users > -- whatever it is, you can find it at http://www.bluesock.org/~willg/ except Will--you can only see him in real life. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn