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


Groups > comp.lang.python > #95777

Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought

Path csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'mrab': 0.05; "subject:' ": 0.07; 'cc:addr:python-list': 0.09; 'any)': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'csv,': 0.16; 'earlier.': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'status.': 0.16; 'subject:type': 0.16; 'subject:when': 0.16; 'laura': 0.18; '2015': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; 'cc:2**1': 0.22; 'parse': 0.22; 'xml': 0.24; 'subject:list': 0.26; 'package.': 0.27; '-0700,': 0.29; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'problem': 0.33; 'url:python': 0.33; 'url:org': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'thank': 0.38; 'header:Message- Id:1': 0.61; 'leaving': 0.63; 'more': 0.63; 'you.': 0.64; 'between': 0.65; 'reply': 0.68; 'header:In-reply-to:1': 0.84; 'observed': 0.84
To kbtyo <ahlusar.ahluwalia@gmail.com>
cc python-list@python.org, lac@openend.se
From Laura Creighton <lac@openend.se>
Subject Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought
In-reply-to <08236e15-4f64-4c11-a727-8a09d9beecc3@googlegroups.com>
References <cbcf05be-53d0-4b8b-b72b-1898cd4ad245@googlegroups.com> <mailman.129.1440902890.11709.python-list@python.org> <1daedf03-2f17-4602-8a50-eeee98a493e9@googlegroups.com> <mailman.1.1440955497.23514.python-list@python.org> <08236e15-4f64-4c11-a727-8a09d9beecc3@googlegroups.com>
Comments In-reply-to kbtyo <ahlusar.ahluwalia@gmail.com> message dated "Sun, 30 Aug 2015 10:34:18 -0700."
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-ID <8157.1440958849.1@fido>
Content-Transfer-Encoding quoted-printable
Date Sun, 30 Aug 2015 20:20:49 +0200
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Sun, 30 Aug 2015 20:20:53 +0200 (CEST)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2.1440958858.23514.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1440958858 news.xs4all.nl 23734 [2001:888:2000:d::a6]:45737
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:95777

Show key headers only | View raw


In a message of Sun, 30 Aug 2015 10:34:18 -0700, kbtyo writes:

>@Laura - thank you. I observed this earlier. Please see my reply to Ben and MRAB for the most up to date status. 

For the more general problem of 'how do I parse my XML'
download and use this package.
https://pypi.python.org/pypi/xmlutils/1.1

It is all set up for reading xml and for writing csv, leaving you
with the manipulation in between (if any) you need.

Laura

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


Thread

TypeError: unhashable type: 'dict' when attempting to hash list - advice sought kbtyo <ahlusar.ahluwalia@gmail.com> - 2015-08-29 19:05 -0700
  Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-08-30 03:47 +0100
    Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought kbtyo <ahlusar.ahluwalia@gmail.com> - 2015-08-30 09:35 -0700
      Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought Laura Creighton <lac@openend.se> - 2015-08-30 19:24 +0200
        Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought kbtyo <ahlusar.ahluwalia@gmail.com> - 2015-08-30 10:34 -0700
          Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought Laura Creighton <lac@openend.se> - 2015-08-30 20:20 +0200
            Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought kbtyo <ahlusar.ahluwalia@gmail.com> - 2015-08-30 14:47 -0700
  Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought MRAB <python@mrabarnett.plus.com> - 2015-08-30 03:48 +0100
    Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought kbtyo <ahlusar.ahluwalia@gmail.com> - 2015-08-30 09:31 -0700
      Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought MRAB <python@mrabarnett.plus.com> - 2015-08-30 18:15 +0100
        Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought kbtyo <ahlusar.ahluwalia@gmail.com> - 2015-08-30 10:21 -0700
  Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought Ben Finney <ben+python@benfinney.id.au> - 2015-08-30 13:04 +1000
    Re: TypeError: unhashable type: 'dict' when attempting to hash list - advice sought kbtyo <ahlusar.ahluwalia@gmail.com> - 2015-08-30 10:02 -0700

csiph-web