Python Experts, I like to have your expertise comments and suggestion on my view that irrespective versions of OSs like ubuntu 12.04 and 12.10 - which has installed *python 2.7.3 * (same version)should work flawlessly and expected output should be the same and identical. Any more information is required kindly contact me I shall furnish the same. With regards, -sriranga(79yrs)
On Fri, Nov 30, 2012 at 10:14 PM, Sriranga(78yrsold) < withblessi...@gmail.com> wrote: > Thanks for the clarification. > I agree with your view. In fact the ocropus project is based on ubuntu > 12.04(64bit)which uses python 2.7.3 works fine. > > Tom,Creator of ocorpus project has already in advance clarified that he > support *only 12.04* and *not* *12.10 *version -since he has no > plan/interest to support for ubuntu 12.10 for ocropus project work. > > Due to my curious to know whether ocorpus works fine in ubuntu 12.10 which > has python version 2.7.3 also(similar to ubuntu 12.04) - but unfortunately > failed in my experiment as already reported reason to you. > > In the circumstances, I have to use *only ubuntu 12.04(64 bit)* and may > have to *uninstall the ubuntu 12.10* since it appears that python 2.7.3 > of ubuntu 12.10 does not support Ocropus project due to *some inherent > problem* in the ubuntu 12.10 or installed python 2.7.3 in the ubuntu > 12.10 itself - which I don't know.. > > If you do research as to why python 2.7.3 installed in ubuntu 12.10 does > not work on the lines of ubuntu 12.04(64bit) which has *same version of > python* viz. 2.7.3, it will be benefited users like me I am feeling that > I may not get support from you,I decided to discontinue usage of new > version ubuntu 12.10. > > With regards, > -sriranga(79yrs) > > > > On Fri, Nov 30, 2012 at 8:36 PM, Evan Dandrea > <evan.dand...@canonical.com>wrote: > >> This is not a bug in Apport. Please use the bug tracking system for the >> Ocropus project instead: >> http://code.google.com/p/ocropus/issues/entry >> >> ** Changed in: apport >> Status: New => Invalid >> >> -- >> You received this bug notification because you are subscribed to the bug >> report. >> https://bugs.launchpad.net/bugs/1071226 >> >> Title: >> python 2.7.3 of ubuntu 12.04 and python2.7.3of ubuntu12.10 >> >> Status in Apport crash detection/reporting: >> Invalid >> >> Bug description: >> From the : http://code.google.com/p/ocropus/ website of Ocropus >> Porject - downloaded Ocropus 0.6 for kannada OCR project work by >> following the instructions below: >> >> Installation: To install, use: >> >> $ hg clone -r ocropus-0.6 https://code.google.com/p/ocropus >> $ cd ocropus/ocropy >> $ sudo apt-get install $(cat PACKAGES) >> $ python setup.py download_models >> $ sudo python setup.py install >> $ ./run-test >> >> In Ubuntu 12.04(64bit)LTS: >> When I run the script ./run-test in ubuntu 12.04( wherein python 2.7.3 >> installed ) successfully COMPLETED without any error of traceback etc. >> >> WHEREAS >> >> in Ubuntu 12.10(64bit) >> When I run the same script ./run-test in ubuntu 12.10(wherein python >> 2.7.3 also available) - FAILED to complete with error of >> trace back displayed even used "SUDO" - vide extract of terminal >> reproduced below for reasearch purpose. >> >> dell@dell-OptiPlex-330:~$ cd ocropus/ocropy/ >> dell@dell-OptiPlex-330:~/ocropus/ocropy$ sudo ./run-test >> [sudo] password for dell: >> + true >> + true binarization >> + true >> + rm -rf temp >> + ocropus-nlbin tests/testpage.png -o temp >> === tests/testpage.png 1 >> estimating skew angle >> estimating thresholds >> rescaling >> tests/testpage.png lo-hi (0.39 1.44) angle 0.1 no-normalization >> writing >> + true >> + true page level segmentation >> + true >> + ocropus-gpageseg 'temp/????.bin.png' >> temp/0001.bin.png >> computing segmentation >> computing column separators >> Traceback (most recent call last): >> <=================================<<=please see this <<========= >> File "/usr/local/bin/ocropus-gpageseg", line 331, in <module> >> process1((f,i+1)) >> File "/usr/local/bin/ocropus-gpageseg", line 277, in process1 >> segmentation = compute_segmentation(binary,scale) >> File "/usr/local/bin/ocropus-gpageseg", line 221, in >> compute_segmentation >> colseps,binary = compute_colseps(binary,scale) >> File "/usr/local/bin/ocropus-gpageseg", line 127, in compute_colseps >> seps = compute_separators_morph(binary,scale) >> File "/usr/local/bin/ocropus-gpageseg", line 106, in >> compute_separators_morph >> thick = morph.r_dilation(binary,(d0,d1)) >> File "/usr/local/lib/python2.7/dist-packages/ocrolib/toplevel.py", >> line 204, in argument_checks >> result = f(*args,**kw) >> File "/usr/local/lib/python2.7/dist-packages/ocrolib/morph.py", line >> 50, in r_dilation >> return filters.maximum_filter(image,size,origin=origin) >> NameError: global name 'filters' is not defined >> dell@dell-OptiPlex-330:~/ocropus/ocropy$ >> >> I am in confusion/fix whether Python 2.7.3 installed in ubuntu >> 12.10(64bit) is corrupted one? >> In case, if the SAME version of python 2.7.3 are installed BOTH in >> ubuntu 12.04(64bit) and 12.10(bit), why only latest version 12.10(bit) is >> generated error of traceback as above? I tested 3 or 4 times - same result >> !! So I contrued that it is a bug in 12.10(bit) for python >> 2.7.3installed. What is the solution ? >> With regards, >> -sriranga(79yrs) >> >> To manage notifications about this bug go to: >> https://bugs.launchpad.net/apport/+bug/1071226/+subscriptions >> > > _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers