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


Groups > comp.lang.python > #19720

TypeError

Path csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!goblin3!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <katie.clark@yale.edu>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.066
X-Spam-Evidence '*H*': 0.87; '*S*': 0.00; 'i?m': 0.07; 'python': 0.08; 'referencing': 0.09; 'error:': 0.10; 'to:name:python- list@python.org': 0.15; 'received:169.254.3': 0.16; 'meant': 0.17; 'thanks,': 0.18; 'string,': 0.18; 'trying': 0.20; 'figure': 0.23; 'code': 0.25; "i'm": 0.27; "skip:' 10": 0.29; 'problem': 0.29; 'skip:_ 70': 0.30; 'typeerror:': 0.30; 'error': 0.30; 'received:169': 0.30; 'received:169.254': 0.30; 'correct': 0.31; 'anyone': 0.31; 'done': 0.33; 'it.': 0.33; 'to:addr:python-list': 0.33; 'sequence': 0.36; 'charset:us-ascii': 0.36; 'but': 0.37; 'hello,': 0.37; 'could': 0.37; 'url:rec-html40': 0.38; 'think': 0.38; 'finding': 0.39; 'url:org': 0.39; 'help': 0.39; 'expected': 0.39; 'url:microsoft': 0.40; 'might': 0.40; 'to:addr:python.org': 0.40; 'content-type:multipart/related': 0.64; 'virus:src="cid:': 0.64; 'filename:fname piece:jpg': 0.67; 'received:130': 0.67; 'content-type:image/jpeg': 0.67; 'haven,': 0.84; 'katie': 0.84; 'temple': 0.91
From "Clark, Kathleen" <katie.clark@yale.edu>
To "python-list@python.org" <python-list@python.org>
Subject TypeError
Thread-Topic TypeError
Thread-Index AczhAg1UJ8ILvbUtSMyZ99SHnMzedw==
Date Wed, 1 Feb 2012 16:53:41 +0000
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach yes
X-MS-TNEF-Correlator
x-originating-ip [130.132.35.8]
Content-Type multipart/related; boundary="_004_0610E9FC98B37742AD184612801101F834B04Ex10mbx4yuyaleedu_"; type="multipart/alternative"
MIME-Version 1.0
X-Scanned-By MIMEDefang 2.71 on 130.132.50.144
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>
Newsgroups comp.lang.python
Message-ID <mailman.5306.1328115547.27778.python-list@python.org> (permalink)
Lines 268
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1328115548 news.xs4all.nl 6860 [2001:888:2000:d::a6]:56057
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:19720

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello,

I am new to python and am trying to correct the follow error:

TypeError: sequence item 1: expected string, NoneType found

The error message is referencing line 86 of my code:

ws.cell(row=row, column=1).value = ','.join([str(ino), fn, ln, sdob])


If I'm understanding this correctly, the code is expecting a string, but not finding it.  I'm wondering, what is meant by a "string" and also how I can figure out the problem and correct it.

If anyone could help me understand what the error is and needs to be done to correct it, I think I might be able to fill in the blanks.

Thanks,

Katie



______________________________________________________________________
[logo for email]
                  Katie Clark
            Research Assistant
                  SHARRPP
    60 Temple Street, Suite 4D
         New Haven, CT 06510
               203-737-7425
           katie.clark@yale.edu
             www.sharrpp.com



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


Thread

TypeError "Clark, Kathleen" <katie.clark@yale.edu> - 2012-02-01 16:53 +0000
  Re: TypeError Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-02 00:32 +0000

csiph-web