discuss: Thread: Some questions


[<<] [<] Page 1 of 2 [>] [>>]
Subject: Some questions
From: Mail Lists ####@####.####
Date: 9 Nov 2008 15:42:48 +0000
Message-Id: <200811091541.52962.lists@tag.ukfsn.org>

Hello all,
whilst checking the mirrors I have come across a couple of things that people 
might be able to help me with.
1.  I notice that in the HowTo list there are a number of documents that 
are "under review".  For example the C++ Programming HowTo removed for review 
in November 2002.  This seems like a long time for a review?
2. There does seem to be some problem displaying this page
~/LDP/manpages/man.php 
Some sites do display it fine, others display it as plaintext, and some not at 
all.  Is this something to with the man.php file itself?
3.On all the sites I looked at (including the mainsite, tldp.org) this page 
was blank;
http://www.ibiblio.org/pub/Linux/docs/faqs/ 
The link to it is on the 
http://tldp.org/docs.html#faq 
page, the 'other' link.
4.  The Author database link on the main page ( http://tldp.org/ )which links 
to
http://avalonix.co.uk/tldp/
asks for a login.  Is this correct behaviour?

Thanks for your help
Allister
Subject: Re: [discuss] Some questions
From: "jdd for http://tldp.org" ####@####.####
Date: 9 Nov 2008 16:19:06 +0000
Message-Id: <49170CF5.4050004@dodin.org>

Mail Lists a écrit :
> Hello all,
> whilst checking the mirrors I have come across a couple of things that people 
> might be able to help me with.
> 1.  I notice that in the HowTo list there are a number of documents that 
> are "under review".  For example the C++ Programming HowTo removed for review 
> in November 2002.  This seems like a long time for a review?

this classification is obsolete, for lack of reviewer. In fact we have
to put these document in the page (Page_Status) and copy them to the
wiki if the author/licence allows

This is a hudge task. I think it's not really proritary, in the
"draft" document, I planned to use the hole 2009 year to this task
(it's of little interest to put a HOWTO online without some work on it)

I'm working with Greg on the export wiki->docbook->static Web site and
it sems to be fairly simple - more soon. after that we be able to work
on the wiki and export to static, we don't have to do so very often.

> 2. There does seem to be some problem displaying this page
> ~/LDP/manpages/man.php 
> Some sites do display it fine, others display it as plaintext, and some not at 
> all.  Is this something to with the man.php file itself?

I simply don't understand why this file have a "php" extension, it's
plain html!

If nobody complain right now, I will change it to man.html (but will
need to verufy all the links are updated, should not be difficult)

> 3.On all the sites I looked at (including the mainsite, tldp.org) this page 
> was blank;
> http://www.ibiblio.org/pub/Linux/docs/faqs/ 

in fact, http://www.ibiblio.org/pub/Linux/docs/ seems to be an old LDP
home site - some files are as old as 1993!! probably good only as history?

anyway I keep a copy (wget)

may be we should ask ibiblio to remove them?

> 4.  The Author database link on the main page ( http://tldp.org/ )which links 
> to
> http://avalonix.co.uk/tldp/
> asks for a login.  Is this correct behaviour?

yes and no. Yes it's intended, but I think some week ago this site was
to be openned??

thanks helping
jdd


-- 
jdd for the Linux Documentation Project
http://wiki.tldp.org
http://www.dodin.net

Subject: Re: [discuss] Some questions
From: Sam Varshavchik ####@####.####
Date: 9 Nov 2008 16:50:32 +0000
Message-Id: <cone.1226249377.677034.5265.500@commodore.email-scan.com>

jdd for http://tldp.org writes:

> 
>> 2. There does seem to be some problem displaying this page
>> ~/LDP/manpages/man.php 
>> Some sites do display it fine, others display it as plaintext, and some not at 
>> all.  Is this something to with the man.php file itself?
> 
> I simply don't understand why this file have a "php" extension, it's
> plain html!

No it's not.

Your browser may very well receive plain HTML from the web server. That does 
not mean that the web page is not a PHP page.

> If nobody complain right now, I will change it to man.html (but will
> need to verufy all the links are updated, should not be difficult)

… and you will break that page.



--> -->
 
 
<type 'exceptions.IOError'>
Python 2.5.2: /usr/bin/python
Wed May 8 23:55:08 2024

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /opt/ezmlm-browse-0.20/<string> in ()
 /opt/ezmlm-browse-0.20/main.py in main()
  424 
  425         if path is not None:
  426                 main_path(path)
  427         else:
  428                 main_form()
global main_form = <function main_form at 0x83d8c6c>
 /opt/ezmlm-browse-0.20/main.py in main_form()
  378         except ImportError:
  379                 die(ctxt, "Invalid command")
  380         module.do(ctxt)
  381 
  382 def main():
module = <module 'commands.showthread' from '/opt/ezmlm-browse-0.20/commands/showthread.pyc'>, module.do = <function do at 0x83ec7d4>, global ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE... 'monthbythread', 'HTTP_ACCEPT_ENCODING': 'gzip'}
 /opt/ezmlm-browse-0.20/commands/showthread.py in do(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE... 'monthbythread', 'HTTP_ACCEPT_ENCODING': 'gzip'})
    9         ctxt.update(ezmlm.thread(ctxt[THREADID]))
   10         header(ctxt, 'Thread: ' + ctxt[SUBJECT], 'showthread')
   11         do_list(ctxt, 'msgs', ctxt[MSGSPERPAGE], ctxt[MESSAGES],
   12                         lambda:sub_showmsg(ctxt, ctxt[MSGNUM]))
   13         footer(ctxt)
global sub_showmsg = <function sub_showmsg at 0x83d81ec>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE... 'monthbythread', 'HTTP_ACCEPT_ENCODING': 'gzip'}, global MSGNUM = 'msgnum'
 /opt/ezmlm-browse-0.20/globalfns.py in do_list(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE... 'monthbythread', 'HTTP_ACCEPT_ENCODING': 'gzip'}, name='msgs', perpage=10, values=[{'author': u'Mail Lists', 'authorid': 'ejgemkhoognccdffdknj', 'date': '9 Nov 2008 15:42:48 +0000', 'month': 200811, 'msgnum': 11458, 'subject': u'Some questions', 'threadid': 'jaiilbkdmlfjpoedgfgb', 'timestamp': 1226245368.0}, {'author': u'jdd for http://tldp.org', 'authorid': 'kmhebagfemoedpejdpbn', 'date': '9 Nov 2008 16:19:06 +0000', 'month': 200811, 'msgnum': 11460, 'subject': u'Re: Some questions', 'threadid': 'jaiilbkdmlfjpoedgfgb', 'timestamp': 1226247546.0}, {'author': u'Sam Varshavchik', 'authorid': 'efnhgfakkkdlpfbcfkgp', 'date': '9 Nov 2008 16:50:32 +0000', 'month': 200811, 'msgnum': 11461, 'subject': u'Re: Some questions', 'threadid': 'jaiilbkdmlfjpoedgfgb', 'timestamp': 1226249432.0}, {'author': u'jdd for http://tldp.org', 'authorid': 'kmhebagfemoedpejdpbn', 'date': '9 Nov 2008 17:00:37 +0000', 'month': 200811, 'msgnum': 11462, 'subject': u'Re: Some questions', 'threadid': 'jaiilbkdmlfjpoedgfgb', 'timestamp': 1226250037.0}, {'author': u'Sam Varshavchik', 'authorid': 'efnhgfakkkdlpfbcfkgp', 'date': '9 Nov 2008 17:30:23 +0000', 'month': 200811, 'msgnum': 11463, 'subject': u'Re: Some questions', 'threadid': 'jaiilbkdmlfjpoedgfgb', 'timestamp': 1226251823.0}, {'author': u'jdd for http://tldp.org', 'authorid': 'kmhebagfemoedpejdpbn', 'date': '9 Nov 2008 18:26:46 +0000', 'month': 200811, 'msgnum': 11464, 'subject': u'Re: Some questions', 'threadid': 'jaiilbkdmlfjpoedgfgb', 'timestamp': 1226255206.0}, {'author': u'jdd', 'authorid': 'kmhebagfemoedpejdpbn', 'date': '9 Nov 2008 18:29:57 +0000', 'month': 200811, 'msgnum': 11465, 'subject': u'Re: Some questions', 'threadid': 'jaiilbkdmlfjpoedgfgb', 'timestamp': 1226255397.0}, {'author': u'jdd for http://tldp.org', 'authorid': 'kmhebagfemoedpejdpbn', 'date': '9 Nov 2008 18:33:16 +0000', 'month': 200811, 'msgnum': 11466, 'subject': u'Re: Some questions', 'threadid': 'jaiilbkdmlfjpoedgfgb', 'timestamp': 1226255596.0}, {'author': u'Sam Varshavchik', 'authorid': 'efnhgfakkkdlpfbcfkgp', 'date': '9 Nov 2008 20:49:04 +0000', 'month': 200811, 'msgnum': 11467, 'subject': u'Re: Some questions', 'threadid': 'jaiilbkdmlfjpoedgfgb', 'timestamp': 1226263744.0}, {'author': u'jdd for http://tldp.org', 'authorid': 'kmhebagfemoedpejdpbn', 'date': '9 Nov 2008 21:43:14 +0000', 'month': 200811, 'msgnum': 11468, 'subject': u'Re: Some questions', 'threadid': 'jaiilbkdmlfjpoedgfgb', 'timestamp': 1226266994.0}], peritem=<function <lambda> at 0x83ec95c>)
  128                 write(template % ctxt)
  129                 if peritem:
  130                         peritem()
  131                 ctxt[ROW] += 1
  132 
peritem = <function <lambda> at 0x83ec95c>
 /opt/ezmlm-browse-0.20/commands/showthread.py in ()
    9         ctxt.update(ezmlm.thread(ctxt[THREADID]))
   10         header(ctxt, 'Thread: ' + ctxt[SUBJECT], 'showthread')
   11         do_list(ctxt, 'msgs', ctxt[MSGSPERPAGE], ctxt[MESSAGES],
   12                         lambda:sub_showmsg(ctxt, ctxt[MSGNUM]))
   13         footer(ctxt)
global sub_showmsg = <function sub_showmsg at 0x83d81ec>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE... 'monthbythread', 'HTTP_ACCEPT_ENCODING': 'gzip'}, global MSGNUM = 'msgnum'
 /opt/ezmlm-browse-0.20/globalfns.py in sub_showmsg(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE... 'monthbythread', 'HTTP_ACCEPT_ENCODING': 'gzip'}, msgnum=11461)
  229         format_timestamp(ctxt, ctxt)
  230         write(html('msg-header') % ctxt)
  231         rec_showpart(ctxt, msg, 0)
  232         write(html('msg-footer') % ctxt)
  233         ctxt.pop()
global rec_showpart = <function rec_showpart at 0x83d81b4>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE... 'monthbythread', 'HTTP_ACCEPT_ENCODING': 'gzip'}, msg = <email.message.Message instance at 0x844f38c>
 /opt/ezmlm-browse-0.20/globalfns.py in rec_showpart(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE... 'monthbythread', 'HTTP_ACCEPT_ENCODING': 'gzip'}, part=<email.message.Message instance at 0x844f38c>, partnum=1)
  205                 else:
  206                         for p in part.get_payload():
  207                                 partnum = rec_showpart(ctxt, p, partnum+1)
  208         else:
  209                 write(html('msg-sep') % ctxt)
partnum = 1, global rec_showpart = <function rec_showpart at 0x83d81b4>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE... 'monthbythread', 'HTTP_ACCEPT_ENCODING': 'gzip'}, p = <email.message.Message instance at 0x844f40c>
 /opt/ezmlm-browse-0.20/globalfns.py in rec_showpart(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE... 'monthbythread', 'HTTP_ACCEPT_ENCODING': 'gzip'}, part=<email.message.Message instance at 0x844f40c>, partnum=2)
  208         else:
  209                 write(html('msg-sep') % ctxt)
  210                 sub_showpart(ctxt, part)
  211         return partnum
  212 
global sub_showpart = <function sub_showpart at 0x83d8144>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE... 'monthbythread', 'HTTP_ACCEPT_ENCODING': 'gzip'}, part = <email.message.Message instance at 0x844f40c>
 /opt/ezmlm-browse-0.20/globalfns.py in sub_showpart(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE... 'monthbythread', 'HTTP_ACCEPT_ENCODING': 'gzip'}, part=<email.message.Message instance at 0x844f40c>)
  164         type = ctxt[TYPE] = part.get_content_type()
  165         ctxt[FILENAME] = part.get_filename()
  166         template = html('msg-' + type.replace('/', '-'))
  167         if not template:
  168                 template = html('msg-' + type[:type.find('/')])
global template = <function template at 0x83d0e9c>, global html = <function html at 0x83d0ed4>, type = 'application/pgp-signature', type.replace = <built-in method replace of str object at 0x8454250>
 /opt/ezmlm-browse-0.20/globalfns.py in html(name='msg-application-pgp-signature')
   40 
   41 def html(name):
   42         return template(name + '.html')
   43 
   44 def xml(name):
global template = <function template at 0x83d0e9c>, name = 'msg-application-pgp-signature'
 /opt/ezmlm-browse-0.20/globalfns.py in template(filename='msg-application-pgp-signature.html')
   31         except IOError:
   32                 if not _template_zipfile:
   33                         _template_zipfile = zipfile.ZipFile(sys.argv[0])
   34                 try:
   35                         f = _template_zipfile.open(n).read()
global _template_zipfile = None, global zipfile = <module 'zipfile' from '/usr/lib/python2.5/zipfile.pyc'>, zipfile.ZipFile = <class zipfile.ZipFile at 0x8369a4c>, global sys = <module 'sys' (built-in)>, sys.argv = ['-c', '/opt/ezmlm-browse-0.20']
 /usr/lib/python2.5/zipfile.py in __init__(self=<zipfile.ZipFile instance at 0x82c496c>, file='-c', mode='r', compression=0, allowZip64=False)
  337             self.filename = file
  338             modeDict = {'r' : 'rb', 'w': 'wb', 'a' : 'r+b'}
  339             self.fp = open(file, modeDict[mode])
  340         else:
  341             self._filePassed = 1
self = <zipfile.ZipFile instance at 0x82c496c>, self.fp = None, builtin open = <built-in function open>, file = '-c', modeDict = {'a': 'r+b', 'r': 'rb', 'w': 'wb'}, mode = 'r'

<type 'exceptions.IOError'>: [Errno 2] No such file or directory: '-c'
      args = (2, 'No such file or directory')
      errno = 2
      filename = '-c'
      message = ''
      strerror = 'No such file or directory'