python 2.7.3 of ubuntu 12.04 and python2.7.3of ubuntu12.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
Invalid
|
Undecided
|
Unassigned |
Bug Description
From the : http://
Installation: To install, use:
$ hg clone -r ocropus-0.6 https:/
$ 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-
dell@dell-
[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): <======
File "/usr/local/
process1(
File "/usr/local/
segmentation = compute_
File "/usr/local/
colseps,binary = compute_
File "/usr/local/
seps = compute_
File "/usr/local/
thick = morph.r_
File "/usr/local/
result = f(*args,**kw)
File "/usr/local/
return filters.
NameError: global name 'filters' is not defined
dell@dell-
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)
Awaiting solution for the above problem of python 2.7.3.
with regards,
sriranga(79yrs)
<email address hidden>