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


Groups > comp.lang.python > #26408

Re: Error help

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <danielashiloh@googlemail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.039
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'subject:Error': 0.07; 'subject:help': 0.07; 'python': 0.09; 'get.': 0.09; 'to:addr:comp.lang.python': 0.09; 'unexpected': 0.09; 'cc:addr :python-list': 0.10; 'bracket,': 0.16; 'minor,': 0.16; 'stem': 0.16; 'wrote:': 0.17; 'everyone,': 0.17; 'resolved': 0.17; 'skip:p 30': 0.20; 'produces': 0.22; 'cc:2**0': 0.23; 'programming': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header :In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'forgot': 0.27; 'actual': 0.28; 'post': 0.28; 'indentation': 0.29; 'included': 0.29; "i'm": 0.29; 'thursday,': 0.30; 'error': 0.30; 'code': 0.31; 'getting': 0.33; 'traceback': 0.33; 'that,': 0.34; 'version': 0.34; "can't": 0.34; 'received:google.com': 0.34; 'from:addr:googlemail.com': 0.35; 'programming.': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'really': 0.36; 'but': 0.36; 'thank': 0.36; 'does': 0.37; 'received:209': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'received:209.85.214': 0.39; 'takes': 0.39; 'where': 0.40; 'your': 0.60; 'from:no real name:2**0': 0.60; 'first': 0.61; 'confirm': 0.64; 'august': 0.66; 'programme': 0.69; 'analysis': 0.70; 'experiment': 0.84; 'otten': 0.84; 'pickled': 0.84; 'psychology': 0.84; 'received:209.85.214.184': 0.84; 'received:mail- ob0-f184.google.com': 0.84; 'replies.': 0.84
Newsgroups comp.lang.python
Date Thu, 2 Aug 2012 06:12:21 -0700 (PDT)
In-Reply-To <mailman.2871.1343906691.4697.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=131.251.254.78; posting-account=7sF7gAoAAADBQ7vf0fwjZl2eUeD7E_xr
References <ec01d1a9-f9e4-41ef-9e8a-71787bcd1aa9@googlegroups.com> <mailman.2871.1343906691.4697.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 131.251.254.78
MIME-Version 1.0
Subject Re: Error help
From danielashiloh@googlemail.com
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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>
Message-ID <mailman.2876.1343913144.4697.python-list@python.org> (permalink)
Lines 38
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1343913144 news.xs4all.nl 6873 [2001:888:2000:d::a6]:37462
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:26408

Show key headers only | View raw


On Thursday, 2 August 2012 12:18:59 UTC+1, Peter Otten  wrote:
> danielashiloh@googlemail.com wrote:
> 
> 
> 
> > This error has been bugging me for days. I know it's minor, but it's
> 
> > really getting in the way of my programming. I'm programming a data
> 
> > analysis programme for a psychology experiment which takes pickled data
> 
> > from the experiment and produces averages. For some reason python is
> 
> > insisting there is an indentation error on line 18. 
> 
> 
> 
> I can't confirm that, I get an error in line 8
> 
> 
> 
> > partifipant_info=data'Participant Info']
> 
> 
> 
> where you forgot the opening '['. 
> 
> 
> 
> Please post your actual code and don't forget to include a cut-and-paste 
> 
> version of the traceback you get.

Thank you, everyone, for the replies. It does seem to stem from that missing bracket, indeed the error did start coming up when I first included that line. Do I feel silly! Incidentally, the error message I got was for an unexpected indent. All is resolved now.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Error help danielashiloh@googlemail.com - 2012-08-02 03:58 -0700
  Re: Error help marmata@gmail.com - 2012-08-02 04:23 -0700
  Re: Error help Peter Otten <__peter__@web.de> - 2012-08-02 13:18 +0200
    Re: Error help danielashiloh@googlemail.com - 2012-08-02 06:12 -0700
    Re: Error help danielashiloh@googlemail.com - 2012-08-02 06:12 -0700
  Re: Error help Dave Angel <d@davea.name> - 2012-08-02 07:27 -0400
  Re: Error help Philipp Hagemeister <phihag@phihag.de> - 2012-08-02 13:34 +0200

csiph-web