discuss: Test checkout, please


Previous by date: 29 Jan 2002 19:21:23 -0000 Re: Test checkout, please, Steven Sanfratello
Next by date: 29 Jan 2002 19:21:23 -0000 Re: ppp0 <-> ppp1, B.O.B.
Previous in thread: 29 Jan 2002 19:21:23 -0000 Re: Test checkout, please, Steven Sanfratello
Next in thread: 29 Jan 2002 19:21:23 -0000 Re: Test checkout, please, Steven Sanfratello

Subject: Re: Test checkout, please
From: Charles Curley ####@####.####
Date: 29 Jan 2002 19:21:23 -0000
Message-Id: <20020129122029.J9613@trib.com>

On Tue, Jan 29, 2002 at 12:59:59PM -0500, Steven Sanfratello wrote:
> i had cvs get the project.  it downloaded the README, Makefile, 
> several scripts, the sgml, etc and put them in several subdirectories. 
> no problems there.

Good.

> 
> when i read the README and issued a 'make' and then 'make all' jade
> terminated because of too many errors.  i get hundreds of those
> "/usr/bin/jade:/usr/share/sgml/docbook/xml-dtd-4.1/ent/iso-lat2.ent:126:17:E:
> "X017B" is not a function name" errors.

Yikes! That is beyond my expertise. Has anyone else got any ideas?

Since I am using SGML, not XML, I wonder if jade is somehow using XML
when it should not be.

> so i added a "-E 65535" option to each call of jade in the Makefile.
> that helped, somewhat.

OK.

> but then make gave me the message 
> "make: *** [Linux-Complete-Backup-and-Recovery-HOWTO.smooth.html] Error 1"
> i gave up trying to "make all"

Hmmm, well can you narrow down the source of the error by making each
dependency of "all" one at a time? See if it builds any without errors.


> 
> "make html" created one big html file that looks fine.  except that there is 
> that problem where the link to note.gif is looking in "../images/" instead of 
> your "images/" directory, and therefore not finding the image.

Right. That's the reason I created the images directory in my source
directory. Doing it that way does make it more portable for folks who
want to read the HTML from a file without a server in between. Is
there a style sheet guru in the house?

If you want it to point to /images, I suspect a one line sed construct
in the make file would do it.

I'm using DocBook V4.1, with the docbook-dtd41-sgml-1.0-10 RPM from
Red Hat.

The target html should make both a smooth and a chunky version. The
chunky version should end up in the subdirectory
Linux-Complete-Backup-and-Recovery-HOWTO. Did you get that when you
ran "make html"?


> On Sunday 27 January 2002  2:45, Charles Curley wrote:
> > I appear to have a working CVS image of the Linux Complete Backup and
> > Recovery HOWTO. I would appreciate it if some kind volunteer would
> > "cvs get" it and run a test build. Please let me know if I have any
> > mistakes in my setup. Please let me know if the README gives
> > sufficient documentation.
> > 
> > You should find it at
> > LDP/howto/docbook/Linux-Complete-Backup-and-Recovery-HOWTO.
> > 
> > This should be the last step before I declare it a released HOWTO.
> > 
> > Thank you.


-- 

		-- C^2

The world's most effective anti-virus software: Linux.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley

--> -->
 
 
<type 'exceptions.IOError'>
Python 2.5.2: /usr/bin/python
Mon Jul 1 15:19:05 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 0x95d6c6c>
 /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.showmsg' from '/opt/ezmlm-browse-0.20/commands/showmsg.pyc'>, module.do = <function do at 0x95ea454>, global ctxt = {'cmd': 'showmsg', 'threadidx': 2, 'HTTP_X_FORWA...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}
 /opt/ezmlm-browse-0.20/commands/showmsg.py in do(ctxt={'cmd': 'showmsg', 'threadidx': 2, 'HTTP_X_FORWA...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'})
   18         write(html('msg-pager') % ctxt)
   19         write('<hr>')
   20         sub_showmsg(ctxt, ctxt[MSGNUM])
   21         write('<hr>')
   22         write(html('msg-pager') % ctxt)
global sub_showmsg = <function sub_showmsg at 0x95d61ec>, ctxt = {'cmd': 'showmsg', 'threadidx': 2, 'HTTP_X_FORWA...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, global MSGNUM = 'msgnum'
 /opt/ezmlm-browse-0.20/globalfns.py in sub_showmsg(ctxt={'cmd': 'showmsg', 'threadidx': 2, 'HTTP_X_FORWA...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, msgnum=2235)
  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 0x95d61b4>, ctxt = {'cmd': 'showmsg', 'threadidx': 2, 'HTTP_X_FORWA...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, msg = <email.message.Message instance at 0x9646f8c>
 /opt/ezmlm-browse-0.20/globalfns.py in rec_showpart(ctxt={'cmd': 'showmsg', 'threadidx': 2, 'HTTP_X_FORWA...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, part=<email.message.Message instance at 0x9646f8c>, 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 0x95d61b4>, ctxt = {'cmd': 'showmsg', 'threadidx': 2, 'HTTP_X_FORWA...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, p = <email.message.Message instance at 0x964e24c>
 /opt/ezmlm-browse-0.20/globalfns.py in rec_showpart(ctxt={'cmd': 'showmsg', 'threadidx': 2, 'HTTP_X_FORWA...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, part=<email.message.Message instance at 0x964e24c>, 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 0x95d6144>, ctxt = {'cmd': 'showmsg', 'threadidx': 2, 'HTTP_X_FORWA...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, part = <email.message.Message instance at 0x964e24c>
 /opt/ezmlm-browse-0.20/globalfns.py in sub_showpart(ctxt={'cmd': 'showmsg', 'threadidx': 2, 'HTTP_X_FORWA...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, part=<email.message.Message instance at 0x964e24c>)
  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 0x95cee9c>, global html = <function html at 0x95ceed4>, type = 'application/pgp-signature', type.replace = <built-in method replace of str object at 0x964da68>
 /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 0x95cee9c>, 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 0x9567a7c>, 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 0x9646f4c>, 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 0x9646f4c>, 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'