[BangPypers] Need Help for xmlrpclib with ref SgmlopParser in python 2.7 ubuntu 12.04

Ruchir Shukla ruchiryshukla at gmail.com
Fri Sep 21 09:47:18 CEST 2012


Hello

Thank you so much ...

http://bugs.python.org/issue5767 becuase of this issue they have remove the
parser :(


My problem is I am sending Raw Mail from Mail client to the Python XMLRPC
API .

and raw mail has content invalid documents or content is not well-formed .
mail client is sending something like "<user at domain.come>"
it is not converting > to the > this can be a problem .

right now I have found a solution that I am encoding raw mail in base64
from Mail Client and sending it. this has solve the problem for now.

Thank you so much :)


On Fri, Sep 21, 2012 at 1:09 PM, Yoganand Anandaraju <yoganand at gmx.com>wrote:

> I dont know why it has been removed but the package is maintained by
> Frederik Lunch and last updated 2004 I believe. You can mail him at
> fredrik at pythonware.com. If you specifically want sgmlop then you would
> have to build it from source. But I would not suggest doing that. It would
> be rather easier to traceback your ExpatParser to see where it is
> misbehaving and fix it.
>
> ----- Original Message -----
> From: Ruchir Shukla
> Sent: 09/21/12 12:53 PM
> To: Bangalore Python Users Group - India
> Subject: Re: [BangPypers] Need Help for xmlrpclib with ref SgmlopParser in
> python 2.7 ubuntu 12.04
>
>  Hello Yoganand but why in python2.7 in ubuntu 12.04 it has been removed
> from xmlrpclib ? any idea what is going on ? or what I can do to use sgmlop
> in python 2.7 ubuntu 12.04 ? On Fri, Sep 21, 2012 at 12:49 PM, Yoganand
> Anandaraju <yoganand at gmx.com>wrote: > The sgmlop parser is tolerant, and
> happily accepts XML-like data that are > not well-formed. > > -----
> Original Message ----- > From: Ruchir Shukla > Sent: 09/21/12 11:22 AM >
> To: Bangalore Python Users Group - India > Subject: [BangPypers] Need Help
> for xmlrpclib with ref SgmlopParser in > python 2.7 ubuntu 12.04 > > Hello
> All There are some strange behavioral i have observed. in ubuntu > 12.04
> for python2.7 in xmlrpclib.py SgmlopParser is missing . while in >
> python2.6 it is there . what was the main key feature for this Parser and >
> why it is missing ? one feature I know that accelerator . but I am having >
> some problem when I am sending Mail content in the xmlrpc call >
> "ExpatParser" is miss-behaving . while with python2.6 Sg
>  mlopParser is > parsing it very well . Thank you in advance . -- >
> ---------------------------- Kind regards Ruchir Shukla Phone: +91 >
> 9099020687 ruchiryshukla at gmail.com; Ruchir Shukla < >
> http://ruchir-shukla.blogspot.com/> >
> _______________________________________________ BangPypers mailing list >
> BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers> > > > Regards, > Yoganand >
> _______________________________________________ > BangPypers mailing list >
> BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers> -- ---------------------------- Kind regards Ruchir Shukla Phone: +91
> 9099020687 ruchiryshukla at gmail.com; Ruchir Shukla <
> http://ruchir-shukla.blogspot.com/>
> _______________________________________________ BangPypers mailing list
> BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers
>
>
>
> Regards,
>  Yoganand
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>



-- 
----------------------------
Kind regards

Ruchir Shukla

Phone: +91 9099020687
ruchiryshukla at gmail.com; Ruchir Shukla <http://ruchir-shukla.blogspot.com/>


More information about the BangPypers mailing list