Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51196 > unrolled thread
| Started by | Tanaya D <cool.tanaya16@gmail.com> |
|---|---|
| First post | 2013-07-24 23:58 -0700 |
| Last post | 2013-07-29 21:15 -0700 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.python
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
| From | Tanaya D <cool.tanaya16@gmail.com> |
|---|---|
| Date | 2013-07-24 23:58 -0700 |
| Subject | must be dicts in tuple |
| Message-ID | <c3da4f27-5938-4d34-9f38-46c939bce9c7@googlegroups.com> |
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'},),))
Can anyone pls help me with it.
Thanks
[toc] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2013-07-25 18:19 +1000 |
| Message-ID | <mailman.5088.1374740345.3114.python-list@python.org> |
| In reply to | #51196 |
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
[toc] | [prev] | [next] | [standalone]
| From | Tim Roberts <timr@probo.com> |
|---|---|
| Date | 2013-07-29 21:15 -0700 |
| Message-ID | <7dfev8lj22630fpsoqvc4s7e82av7p3nh2@4ax.com> |
| In reply to | #51196 |
Tanaya D <cool.tanaya16@gmail.com> wrote:
>
>I am using Python with Bots(EDI translator)
>
>But i am getting the following error:
>MappingFormatError: must be dicts in tuple: get((({'BOTSID': 'HEADER'},),))
>
>Can anyone pls help me with it.
Possible hint: the error says you're supposed to have dicts in a tuple.
What you have is a dict in a tuple in a tuple.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web