Trouble retrieving articles from SM
Russ Allbery
rra at stanford.edu
Thu Oct 3 17:55:00 UTC 2002
Jeffrey M Vinocur <jeff at litech.org> writes:
> On Wed, 2 Oct 2002, Russ Allbery wrote:
>> Hm, yeah, that does. It can't be tradspool.map then.
> *sigh* I'm an idiot. The article I had success with was crossposted.
> Ok, so what do I have to do to rebuild tradspool.map?
Figure out which portion of the token represents the newsgroup number in
tradspool.map (the code to take it apart is in the tradspool backend
somewhere; I forget exactly where). Now go through overview, and for each
newsgroup in overview, grab the token of one of the non-crossposted
articles in that group, figure out the group number, and write that out to
a new tradspool.map file as:
<group> <number>
where <group> is the group with dots replaced by /.
I don't think there's a better way of doing it than that.
And there's an open TODO item concerning the brokenness of how
tradspool.map is currently being written (it's using stdio rather than
using write, which means that it runs out of file descriptors a lot faster
than the rest of INN does).
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list