Boost logo

Boost :

Subject: Re: [boost] updating history in beta site
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2011-07-17 18:01:21


Daniel James wrote:

> On 17 July 2011 22:17, Vladimir Prus <vladimir_at_[hidden]> wrote:
>>
>> I've tried to add some item to 1.47 history in the beta site. I've edited .qbk file, and
>> then went to site_tools directory. According to:
>>
>> http://www.boost.org/development/website_updating.html
>>
>> I am supposed to run 'site-tools.py update' there, but there's no such script, and running
>> 'update.py' results in an error.
>
> It is the beta site, it's where I do development so sometimes things
> don't work and haven't been documented yet. I tend to work on this
> kind of thing at the beginning of the release cycle, so that it's not
> changing as we prepare for the release.

OK. If that helps, the errors I get are below.

> Btw. please try to avoid making changes to the release notes after a
> release, it causes them to reappear in people's feed readers which
> annoys them.

I understand, but then some other folks were surprised about b2 rename,
so I though that's worth mentioning. (I will post a more detailed email
later).

-- 
Vladimir Prus
CodeSourcery / Mentor Graphics
+7 (812) 677-68-40
ghost_at_thunder:~/Work/Boost/beta/site-tools$ ./update.py 
Upgrading to new version.
Upgrade 1
Quickbook Version 1.5.6 (trunk) (Boost 1.47)
Converting feed/history/boost_1_47_0.qbk:
Generating Output File: /tmp/.xmlUte2u0
feed/history/boost_1_47_0.qbk:1: warning: Invalid attribute for 'article document info': purpose
Converting feed/history/boost_1_48_0.qbk:
Generating Output File: /tmp/.xmlCukw1p
feed/history/boost_1_48_0.qbk:1: warning: Invalid attribute for 'article document info': purpose
Traceback (most recent call last):
  File "./update.py", line 16, in <module>
    boost_site.site_tools.update_quickbook()
  File "/home/ghost/Work/Boost/beta/site-tools/boost_site/site_tools.py", line 68, in update_quickbook
    item = generate_rss_item(rss_feed, qbk_page.qbk_file, qbk_page)
  File "/home/ghost/Work/Boost/beta/site-tools/boost_site/site_tools.py", line 143, in generate_rss_item
    description = xml.dom.minidom.parseString('<x>%s</x>' % page.description_xml)
  File "/usr/lib/python2.7/xml/dom/minidom.py", line 1924, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 940, in parseString
    return builder.parseString(string)
  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 290: ordinal not in range(128)

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk