Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #40869
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'exception': 0.03; 'skip:[ 30': 0.09; 'subject:error': 0.11; 'charset:iso-8859-7': 0.15; 'passing': 0.15; 'sat,': 0.15; 'competent': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:209.85.160.42': 0.16; 'subject:when': 0.16; 'tracebacks': 0.16; 'string': 0.17; 'wrote:': 0.17; '(or': 0.18; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message- id:@mail.gmail.com': 0.27; 'regular': 0.27; "skip:' 10": 0.30; 'expect': 0.31; "skip:' 20": 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'expected': 0.35; 'received:209.85': 0.35; 'list.': 0.35; 'but': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'subject:this': 0.84; '2013': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=W83C4T0Z1txGVaTdq2++zpd6Vs4jFBKvOE471So0hC8=; b=D+iUDv8gP3+HA/OMxhIZCSzu8YuJTuDQ1mj0qetNyvxhy1rkremo86Xe0euT9KLa2u ewVOtRzVTOAU79LK9vBeykjgavPE/36CDSohIA6zBSo9sEp5b60UF6OqoFMCtmegxyzF B5SwdWRNyGlG/vVsInOt0XGogPdKhCUiBB1C40SM8PsQBmIftPyrJwSkleQ8QxCIQiVA QovyyPgpOWhizloQnDBkOFiLSe9Af24NFQM5bbCEFkRoHknPtp+UTWzmwX8wKnNJcIwj 6k7slu7H39kc80gaTft+NtF2Tbb75bRKZL1JWr+v4vlG5mXOmBZffgWaQDPtkqPfLTMr GERA== |
| MIME-Version | 1.0 |
| X-Received | by 10.68.138.225 with SMTP id qt1mr4306542pbb.82.1362761195285; Fri, 08 Mar 2013 08:46:35 -0800 (PST) |
| In-Reply-To | <e72cf106-db58-45b4-bcb8-3e519b83e2bb@googlegroups.com> |
| References | <e72cf106-db58-45b4-bcb8-3e519b83e2bb@googlegroups.com> |
| Date | Sat, 9 Mar 2013 03:46:35 +1100 |
| Subject | Re: I cant understand this error when i click a link on my website |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-7 |
| Content-Transfer-Encoding | quoted-printable |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3088.1362761198.2939.python-list@python.org> (permalink) |
| Lines | 16 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1362761198 news.xs4all.nl 6928 [2001:888:2000:d::a6]:57443 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:40869 |
Show key headers only | View raw
On Sat, Mar 9, 2013 at 3:35 AM, Νίκος Γκρ33κ <nikos.gr33k@gmail.com> wrote: > 15 htmlpage = htmlpage.replace( '/home/nikos/public_html/', '' ) > re = <module 're' from '/usr/lib64/python2.6/re.pyc'>, re.search = <function search>, htmlpage = ['/home/nikos/public_html/index.html', 'pelatologio.py'] > <type 'exceptions.TypeError'>: expected string or buffer The regular expression functions expect a string (or a buffer), but you're passing it a list. Learning to read exception tracebacks is one of the important parts of becoming a competent programmer. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
I cant understand this error when i click a link on my website Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-08 08:35 -0800
Re: I cant understand this error when i click a link on my website Chris Angelico <rosuav@gmail.com> - 2013-03-09 03:46 +1100
Re: I cant understand this error when i click a link on my website Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-08 08:50 -0800
Re: I cant understand this error when i click a link on my website Sven <svenito@gmail.com> - 2013-03-08 17:04 +0000
Re: I cant understand this error when i click a link on my website info@cravendot.gr - 2013-03-08 11:16 -0800
Re: I cant understand this error when i click a link on my website info@cravendot.gr - 2013-03-08 11:16 -0800
Re: I cant understand this error when i click a link on my website MRAB <python@mrabarnett.plus.com> - 2013-03-08 17:24 +0000
Re: I cant understand this error when i click a link on my website Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-08 08:50 -0800
csiph-web