Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #33011
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <insideshoes@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'url:sourceforge': 0.03; 'cpython': 0.05; 'debug': 0.05; 'error:': 0.05; 'filename:fname piece:py': 0.07; 'indices': 0.07; 'blocked': 0.09; 'ide': 0.09; 'imported': 0.09; 'instantiated': 0.09; 'received:mail- qc0-f174.google.com': 0.09; 'cc:addr:python-list': 0.10; 'gui': 0.11; 'subject:error': 0.11; 'index': 0.13; 'library': 0.15; '2.7.3': 0.16; 'i.e': 0.16; 'it..': 0.16; 'supplying': 0.16; 'two.': 0.16; 'using,': 0.16; 'variables': 0.17; 'windows': 0.19; 'skip:" 30': 0.20; 'skip:" 40': 0.20; 'trying': 0.21; 'import': 0.21; 'statement': 0.23; "haven't": 0.23; 'to:2**1': 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; '(most': 0.27; 'cc:addr:gmail.com': 0.27; 'message-id:@mail.gmail.com': 0.27; 'run': 0.28; 'initialized': 0.29; 'statements': 0.29; 'skip:& 10': 0.29; 'probably': 0.29; 'error': 0.30; 'figure': 0.30; 'code': 0.31; 'point': 0.31; 'file': 0.32; 'help,': 0.32; 'running': 0.32; 'print': 0.32; 'docs': 0.33; 'idle': 0.33; 'traceback': 0.33; 'zero': 0.33; 'skip:& 20': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'done': 0.34; 'received:209.85': 0.35; 'but': 0.36; 'received:209': 0.37; 'received:209.85.216': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'url:docs': 0.38; 'where': 0.40; 'skip:" 10': 0.40; 'header:Received:5': 0.40; 'your': 0.60; 'range': 0.60; 'different': 0.63; 'here': 0.65; 'content- type:application/octet-stream': 0.67; 'presumably': 0.84; 'subscripts': 0.84 |
| 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 :cc:content-type; bh=N7UKlpd6nSuEL6LbNhKe0khvsTj6n+gEaHh2UefjEpU=; b=N+psnKjgudGnbYHvHnKYjU160RTiQvZcrgNG0LX76szvAx3NR+PqHp4El+iqFDhWzy tPKvzghZhvw6IO/r/JKG1ik1xrZxTrqoouYfPFFHDj+et3QjKrUQxptPjD+1+c9/msuv HJLo+P2cEE8nCQpipptMewMJgIzwnP0q8/U9CkkHTM8k/GU6+CE08XnSgcPei7OvO/wU 0G/u50qX2rvbEq26BiQjQ2rdvxVQPkH/3K0TjXWg1HZKhPGpfoEPY6oFj92pYZ3+LoHF 8yFRvm1zFQDkclncYlkYgyaTPEpyAbV2Ooa39wBwv5LwwLXNZRWaE6V6iUZaCJ3531gm Ti4A== |
| MIME-Version | 1.0 |
| In-Reply-To | <509BDEF1.50706@davea.name> |
| 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> <509BDEF1.50706@davea.name> |
| Date | Fri, 9 Nov 2012 11:53:56 +0100 |
| Subject | Re: error |
| From | inshu chauhan <insideshoes@gmail.com> |
| To | d@davea.name, Zero Piraeus <schesis@gmail.com> |
| Content-Type | multipart/mixed; boundary=20cf3074d862b08ca304ce0dc4fd |
| 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 |
| 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.3487.1352458445.27098.python-list@python.org> (permalink) |
| Lines | 237 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1352458445 news.xs4all.nl 6985 [2001:888:2000:d::a6]:42048 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:33011 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
http://www.ymlgroup.com/obscurehiddenlocation/downloads site, and
> imported it using from notzanzibar import DataType.
>
No i haven't downloaded it.. and this site is not opening...
>
> 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
>
This site is also blocked here.
>
> The only new guess:
>
> A 3D image would presumably have 3 subscripts, and you're only supplying
> two.
>
Yes a 3D image has 3 subscripts but m trying to access all three through
using only 2 subsscripts i.e X and Y
>
> If you want help, be explicit:
>
> 1) what version of CPython are you using, and on what OS?
>
I am using 2.7.3 on windows 7
2) what web site did you download some extra library from ?
>
The only extra libary i am using is Opencv , downloaded from
http://sourceforge.net/projects/opencvlibrary/
> 3) what import statement did you use ?
>
import cv
4) How are all those global variables initialized ?
>
see attached file
> 5) What command did you use to start the script ? Did you run it from
> command.com, or from some IDE ?
>
Yes I am running it through IDLE GUI
> 5) Exactly what error message did you get, including the traceback ?
>
Traceback (most recent call last):
File "Z:\modules\Masking_an_image_dynamically.py", line 155, in <module>
AccessPixels(data)
File "Z:\modules\.py", line 147, in AccessPixels
CreateMask(data, x, y)
File "Z:\modules\new_classification.py", line 110, in CreateMask
point = data[iy, ix ]
error: index is out of range
The line numbers here and the file attached may be different because I have
removed a lot of print statements which I was using to debug the error..
> 6) What have you done to try to figure out your own error?
>
I have trying print out variables and Indices at each step..
Zero Piraeus : Where are you ?
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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