Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #33026
| References | (3 earlier) <CAFqGZRE9O0qOZ5=KTBwcXUq3e7NCh1cvpTjfRRQ1EweLV=g2Cg@mail.gmail.com> <509BDEF1.50706@davea.name> <CAFqGZRGzLs4+nXzCL7KB3KEjhqv1m+2_ycqc8SUQekwYQJ4F6A@mail.gmail.com> <CAFqGZREmJq1d2v8+ioJgSkRxbE53_G01V26gezwDBk3FPFMgjw@mail.gmail.com> <CAFqGZRE1NxT3XSqs-BSQhDFyQDsLgC_s0A6iJ__4imakNSDiOQ@mail.gmail.com> |
|---|---|
| Date | 2012-11-09 15:08 +0100 |
| Subject | Re: error |
| From | inshu chauhan <insideshoes@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3493.1352470116.27098.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
Actually this one.. and its the last.. On Fri, Nov 9, 2012 at 2:59 PM, inshu chauhan <insideshoes@gmail.com> wrote: > Please Ignore the above two files attached,,, See this one > > > On Fri, Nov 9, 2012 at 12:47 PM, inshu chauhan <insideshoes@gmail.com>wrote: > >> I attached a wrong file...Right file is attached here >> >> >> On Fri, Nov 9, 2012 at 11:53 AM, inshu chauhan <insideshoes@gmail.com>wrote: >> >>> >>> >>> >>> >>> 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