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


Groups > comp.lang.python > #51207

Re: must be dicts in tuple

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.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.098
X-Spam-Evidence '*H*': 0.80; '*S*': 0.00; 'output': 0.05; 'error:': 0.07; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'exception': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'script': 0.25; 'possibly': 0.26; 'header:In-Reply-To:1': 0.27; 'said,': 0.30; 'message-id:@mail.gmail.com': 0.30; '(which': 0.31; 'code': 0.31; 'getting': 0.31; "skip:' 10": 0.31; '25,': 0.31; 'piece': 0.31; 'run': 0.32; 'problem': 0.35; 'problem.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'done': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'list': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'that,': 0.38; 'short': 0.38; 'though,': 0.39; 'to:addr:python.org': 0.39; 'mailing': 0.39; 'entire': 0.61; "you're": 0.61; 'first': 0.61; "you'll": 0.62; "you've": 0.63; 'believe': 0.68; 'jul': 0.74; 'demonstrates': 0.84; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=GW33CN5UOFtit1EDj+6aWXYd9JrkRbqCEyXlP+CfF84=; b=cPgA25IgyT1sxPQJn1D6LcNTLFNptR3HqrqicMS+PSFe7fm2RGdRjFZPwfhq2df/1l ggWiMSBhhf8YRdmQmcYL14/2ugy8qjEUviSCdd22CYOy/v4EakVoTtNQFyF2/AxBj8zE 9BgM7QkSfvWK6hvBP1fuOcv0nxfqVtoRDlZFFkVwPKKiP5BGR6fRkyhSvBGgpmLTEivo QmyHECMHDS15hlJaCLTJ2psNKdcFtn95WMJhYDOtVIx7agB1p/mqJIWAy/2RKcT0L/GZ PZDhWkHpjRanC21ghKDsd3r87OkvGc0s3ptB7LTi+IVOXlTdq4Y7GxLAbVGLnejuFP/5 aZ/A==
MIME-Version 1.0
X-Received by 10.52.163.165 with SMTP id yj5mr4471890vdb.104.1374740342190; Thu, 25 Jul 2013 01:19:02 -0700 (PDT)
In-Reply-To <c3da4f27-5938-4d34-9f38-46c939bce9c7@googlegroups.com>
References <c3da4f27-5938-4d34-9f38-46c939bce9c7@googlegroups.com>
Date Thu, 25 Jul 2013 18:19:02 +1000
Subject Re: must be dicts in tuple
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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.5088.1374740345.3114.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1374740345 news.xs4all.nl 15879 [2001:888:2000:d::a6]:43910
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51207

Show key headers only | View raw


On Thu, Jul 25, 2013 at 4:58 PM, Tanaya D <cool.tanaya16@gmail.com> wrote:
> Hi,
>
> I am using Python with Bots(EDI translator)
>
> But i am getting the following error:
> MappingFormatError: must be dicts in tuple: get((({'BOTSID': 'HEADER'},),))

The first thing to do is to construct a short piece of code that
demonstrates the problem. See http://sscce.org/ for some tips. Once
you've done that, run that script and copy and paste its entire output
(which will be your exception traceback) into an email.

That said, though, I believe the problem you're seeing is going to be
Bots-specific. You'll possibly do better on a Bots mailing list rather
than a general Python one.

ChrisA

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


Thread

must be dicts in tuple Tanaya D <cool.tanaya16@gmail.com> - 2013-07-24 23:58 -0700
  Re: must be dicts in tuple Chris Angelico <rosuav@gmail.com> - 2013-07-25 18:19 +1000
  Re: must be dicts in tuple Tim Roberts <timr@probo.com> - 2013-07-29 21:15 -0700

csiph-web