Re: Re: problems with trackback
Joseph Reagle <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Organization | MIT |
| Message-ID | <[email protected]> |
On Sunday 10 April 2005 11:34, Eric Gaumer wrote:
> Theoretically though, it shouldn't matter. If a .pyc file does exist then
> you could actually delete the .py file and all should be well. I don't
> understand why it would give you grief.
That's what I'd expect, and oddly, in returning to this thread I note that:
http://reagle.org/joseph/pyblosxom2.cgi
is now "working" on browsing though failing on comment:
[[[
/usr/lib/python2.2/cgi.py in __getitem__(self=FieldStorage(None, None,
[MiniFieldStorage('secr..., 'test'), MiniFieldStorage('Submit',
'Submit')]), key=0)
548 if item.name == key: found.append(item)
549 if not found:
550 raise KeyError, key
551 if len(found) == 1:
552 return found[0]
KeyError undefined, key = 0
KeyError: 0
__doc__ = 'Mapping key not found.'
__getitem__ = <bound method KeyError.__getitem__ of
<exceptions.KeyError instance>>
__init__ = <bound method KeyError.__init__ of <exceptions.KeyError
instance>>
__module__ = 'exceptions'
__str__ = <bound method KeyError.__str__ of <exceptions.KeyError
instance>>
args = (0,)
]]]
>
> Have you upgraded python recently? Going from 2.3 to 2.4 (two different
> major release numbers) changes the magic number.
I run 2.3.4 at home and 2.2.3 runs on my web host, perhaps when I did the
local test it generated a pyc that caused problems at the web host, but
they've now worked themselves out ...
> If it's not too late (and you do actually find a .pyc file) could
> you send it to me? I'd be very interested in seeing what the magic number
> looks like on that file.
I'm assuming that was a red-herring and will sticky with the story that for
1.1 trackback don't work; and 1.2 comment + trackback don't work ;)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click