Gnus development mailing list
 help / color / mirror / Atom feed
From: Lloyd Zusman <ljz@asfast.com>
Subject: New error ... missing `char-charset' symbol.
Date: 18 Dec 1999 16:08:17 -0500	[thread overview]
Message-ID: <ltg0x0yn26.fsf@asfast.com> (raw)

There's a fairly recent error that has shown up in the latest CVS gnus
version.  I did my CVS update at around 21:00 UCT on 18 December 1999.
This used to work just fine up to the previous CVS release that I
used, from probably around 24 hours earlier.

I'm using XEmacs 21.1 patch 8, without MULE.

When trying to send email with an attachment, I get an error saying
that the `char-charset' symbol is not defined.  This prevents me from
being able to send the email.  Here's the stack trace:

Signaling: (void-function char-charset)
  char-charset(?s)
  mm-charset-after()
  rfc2047-dissect-region(1 20)
  rfc2047-encode-region(1 20)
  mail-encode-encoded-word-string("stripML Perl script")
  mml-insert-mime-headers((part (type . "application/octet-stream") (filename . "/usr/local/bin/stripML") (disposition . "attachment") (description . "stripML Perl script") (contents . "")) "application/octet-stream" nil 7bit)
  mml-generate-mime-1((part (type . "application/octet-stream") (filename . "/usr/local/bin/stripML") (disposition . "attachment") (description . "stripML Perl script") (contents . "")))
  mml-generate-mime-1((multipart (type . "mixed") (part (type . "text/plain") (contents . "\"Frank D. Greco\" <fgreco@CrossroadsTech.com> writes:\n\n>  Lloyd Zusman <ljz@asfast.com> writes:\n>  >\n>  > [ ... ]\n>  >\n>  >There is a Perl HTML parser that accurately recognizes all the tags\n>  >and the non-HTML.  I can use it to write a 10-20 line script which\n>  >easily could strip out all the HTML.  [ ... ]\n> \n> 	Cool.  Then from the command line I can write higher-level\n> 	shell utilities that use the Internet as an OS:\n> \n> 	* spell-check via cgi to dictionary.com\n> 	* check a domain for availability\n> 	* give me a list of URL's that altavista says contain \"EJB\"\n> 	* check a stock quote\n> 	* give me the weather in NYC\n> 	* etc...\n\nExactly!\n\nAttached is the Perl script.  It's called `stripML' and it works like\na filter, just as you specified.  The input is stripped of HTML tags,\nand the result goes to stdout.  Also, it can take input from files on\nthe com
 m!
!
and line, like most traditional Unix filter programs.\n\n  usage:   stripML [ file ... ]\n\nActually, `stripML' has 56 lines, but most of those are comments so\nthat you can follow the logic, or else white space.  There really are\nless than 20 significant executable lines of code.\n\nThe HTML::Parser Perl module needs to be installed for this to work.\nIt's a standard module (one of 700 or more) that resides in the CPAN\narchive (Comprehensive Perl Archive Network) on the net.  If there's a\nstandard installation of Perl, this module could be installed within\naround 5 minutes.\n\n\n> 	I wanted to revisit my idea of centralizing access to all\n> 	the net services.  Doing it with CGI-GET's (I guess CGI-POST's\n> 	can't be done this way) is just a proof of concept.\n> \n> 	btw, how hard would it be to duplicate the Perl HTML parser in\n> 	Java?  Considering that there are many XML parsers out there,\n> 	it sounds like something might already exist.\n\nA Java HTML parser probab
 l!
!
y exists.  I'll take a look to see if I can\nfind one.  Or if not, perhaps we could find a Java SGML parser to use\nin its stead, since HTML is a subset of that.\n\n\n> 	Take a look at: http://www.bookmarklets.com/\n\nWill do.\n\n\n> [ ... ]\n\n- Lloyd\n\n")) (part (type . "application/octet-stream") (filename . "/usr/local/bin/stripML") (disposition . "attachment") (description . "stripML Perl script") (contents . "")) (part (type . "text/plain") (contents . "\n-- \n Lloyd Zusman\n ljz@crossroadstech.com\n (212) 482-5280 ext 223\n"))))
  mml-generate-mime()
  message-encode-message-body()
  message-send-mail(nil)
  message-send-via-mail(nil)
  message-send(nil)
  message-send-and-exit(nil)
  ljz-message-send-and-exit(nil)
  call-interactively(ljz-message-send-and-exit)


Thanks in advance.

-- 
 Lloyd Zusman
 ljz@asfast.com



             reply	other threads:[~1999-12-18 21:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-18 21:08 Lloyd Zusman [this message]
1999-12-18 21:50 ` Shenghuo ZHU
1999-12-21 21:17   ` Kai Großjohann
1999-12-22  5:20     ` Shenghuo ZHU
1999-12-22  9:50       ` Kai Großjohann
2000-04-21 17:16         ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ltg0x0yn26.fsf@asfast.com \
    --to=ljz@asfast.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).