Re: restore deleted comment

will guaraldi <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Hrm.  I'm not sure what the issue is, but what's probably going on is that 
the file isn't proper xml in some way, so when it's parsed, the cmt object 
ends up being a None and None doesn't have a cmt_time key in it.  Try 
taking out that &nbsp; in the <description> section.

I've done the same thing once or twice where I accidentally deleted the 
comment and wanted to restore it and the way I went about restoring it was 
to re-enter the comment using the information in the email using the 
comment form rather than trying to re-create the comment file.

Hope that helps--

/will


On Wed, 4 Jan 2006, Keywan Najafi Tonekaboni wrote:
> 
> Hi,
>
> I had accidental deleted a comment and want to restore it from the
> "write back"-mails. I copied a comment, replaced the content and the
> timestamps, renamed the file and so on...
>
> But I got this trace back:
>
> Traceback (most recent call last):
> <snip>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.