Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #34609 > unrolled thread

Re: MySQLdb insert HTML code error

Started byChris Angelico <rosuav@gmail.com>
First post2012-12-11 20:59 +1100
Last post2012-12-11 20:59 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: MySQLdb insert HTML code error Chris Angelico <rosuav@gmail.com> - 2012-12-11 20:59 +1100

#34609 — Re: MySQLdb insert HTML code error

FromChris Angelico <rosuav@gmail.com>
Date2012-12-11 20:59 +1100
SubjectRe: MySQLdb insert HTML code error
Message-ID<mailman.718.1355219999.29569.python-list@python.org>
On Tue, Dec 11, 2012 at 11:46 AM, Anatoli Hristov <tolidtm@gmail.com> wrote:
>> Brilliant, I think your problem is in line 97 of the code that you *HAVEN'T
>> QUOTED*.  Please go here, read and inwardly digest before you say anything
>> else http://www.sscce.org/
>
> :) I thought it was clear. the "spec" is the description and when the
> str"spec" contains the html code I'm getting an error, if you don't
> want to help then just don't become an..........

SSCCE starts with "Short". The HTML you unloaded into that email
hardly qualifies.

When you're trying to figure out a problem that appears to happen only
when you have X and not when you have Y, see what the smallest example
data for X and Y are that continue to exhibit the difference. It's way
easier, especially on those of us who might have been interested in
helping, had it been possible to paste your failing code into IDLE.
Plus, in cutting it down you might discover what the real cause of the
problem is.

Of course, sometimes you fail to cut something down as expected. In
this example, HTML didn't turn out to be the problem, so cutting it
down to "<html></html>" wouldn't have worked. But do at least _try_,
and then mention what worked and didn't work in your question.

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web