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


Groups > comp.lang.python > #32960

Re: error

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!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <d@davea.name>
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; 'python,': 0.02; 'cpython': 0.05; 'ide': 0.09; 'imported': 0.09; 'information?': 0.09; 'instantiated': 0.09; 'pixels': 0.09; 'cc:addr:python-list': 0.10; 'subject:error': 0.11; 'library': 0.15; 'structure.': 0.16; 'supplying': 0.16; 'two.': 0.16; 'using,': 0.16; 'wrote:': 0.17; 'variables': 0.17; 'trying': 0.21; 'import': 0.21; 'statement': 0.23; 'downloaded': 0.24; 'somewhere': 0.24; 'cc:2**1': 0.24; 'command': 0.24; 'script': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'cc:addr:gmail.com': 0.27; 'run': 0.28; 'initialized': 0.29; 'probably': 0.29; 'class': 0.29; 'error': 0.30; 'figure': 0.30; 'code': 0.31; 'help,': 0.32; 'docs': 0.33; 'traceback': 0.33; 'version': 0.34; 'done': 0.34; 'there': 0.35; 'data': 0.37; 'subject:: ': 0.38; 'supports': 0.38; 'some': 0.38; 'received:192': 0.39; 'received:192.168': 0.40; 'your': 0.60; 'header:Reply-To:1': 0.68; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'presumably': 0.84; 'received:74.208.4.194': 0.84
Date Thu, 08 Nov 2012 11:33:53 -0500
From Dave Angel <d@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1
MIME-Version 1.0
To inshu chauhan <insideshoes@gmail.com>
Subject Re: error
References <CAFqGZRFPVdtXvEV0xMEDXG=7KCtKyNwd4Vq6VvDk3CPwW1n5fA@mail.gmail.com> <mailman.3320.1352207175.27098.python-list@python.org> <78f26f00-2c91-47b3-aef0-3eaeb8ae6f91@u4g2000pbo.googlegroups.com> <CAFqGZRE9O0qOZ5=KTBwcXUq3e7NCh1cvpTjfRRQ1EweLV=g2Cg@mail.gmail.com>
In-Reply-To <CAFqGZRE9O0qOZ5=KTBwcXUq3e7NCh1cvpTjfRRQ1EweLV=g2Cg@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:AyZYsdeJoWUTw9hCUbSuHt+/hWJU2pV8dEv2irbh7xm tYik6/52mekC1KFlJaqFjimGsCCPB+POlkb+7PnsZTkP/ZlDvn QN4YxUwoHrSBgfYcWg0F/pwOB06ETFSZ1T8c2TQLf9+r3eUdGS onix4TDRTFg+e4wzkuoTFf/RSOA0lReNaGEjJ2T5E3/zeBH+zA +Q1PiKm2Xrhsqqzw/khgAUWlJGbtGrkmEx70QWIvMHujmgm5eI MFjOO2+rYBtvBCmzR9x59xXpcxLzH9Vg0AFsamh25z4bSR8XEk EwoViRwL/D3Ag+yvyScGKFf2l8N/ULyWoRZpJyv2GE5Qj8InQ= =
Cc "python-list@python.org" <python-list@python.org>, woooee <woooee@gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To d@davea.name
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.3448.1352392459.27098.python-list@python.org> (permalink)
Lines 44
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1352392459 news.xs4all.nl 6896 [2001:888:2000:d::a6]:45733
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:32960

Show key headers only | View raw


On 11/08/2012 08:47 AM, inshu chauhan wrote:
> Actually data is neither a zanzibar nor a class nor a list.. its a yml
> image. with pixels
> I am trying to access pixels of a 3D image through this programme..
> 


You want us to keep guessing?  And without supplying any new
information?  There's no such thing as a yml image in Python, though
there might be some library that supports such a thing with some class
structure.  And you just might have downloaded it from the
http://www.ymlgroup.com/obscurehiddenlocation/downloads site, and
imported  it using  from notzanzibar import DataType.

Then you'd have instantiated it in some code like
  data = DataType(filename)

and then the type of data would be notzanzibar.DataType  and the docs
would be probably available somewhere on www.invalid.com/docs

The only new guess:

A 3D image would presumably have 3 subscripts, and you're only supplying
two.



If you want help, be explicit:

1) what version of CPython are you using, and on what OS?
2) what web site did you download some extra library from ?
3) what import statement did you use ?
4) How are all those global variables initialized ?
5) What command did you use to start the script ?  Did you run it from
command.com, or from some IDE ?
5) Exactly what error message did you get, including the traceback ?
6) What have you done to try to figure out your own error?




-- 

DaveA

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


Thread

Re: error Dave Angel <d@davea.name> - 2012-11-06 08:05 -0500
  Re: error woooee <woooee@gmail.com> - 2012-11-06 11:59 -0800
    Re: error Dave Angel <d@davea.name> - 2012-11-08 11:33 -0500
    Re: error Jerry Hill <malaclypse2@gmail.com> - 2012-11-08 11:41 -0500
    Re: error inshu chauhan <insideshoes@gmail.com> - 2012-11-09 11:53 +0100
    Re: error inshu chauhan <insideshoes@gmail.com> - 2012-11-09 12:47 +0100
    Re: error inshu chauhan <insideshoes@gmail.com> - 2012-11-09 14:59 +0100
    Re: error inshu chauhan <insideshoes@gmail.com> - 2012-11-09 15:08 +0100
    Re: error Dave Angel <d@davea.name> - 2012-11-12 10:04 -0500

csiph-web