On 13.11.2012 14:19, Bernd Fallert wrote:

Am Mittwoch, 5. September 2012 01:59:36 UTC+2 schrieb Tom:

'./run-test' produced this error (openSUSE and Mandriva):
...
   File "/usr/local/lib/python2.7/site-packages/ocrolib/morph.py", line
50, in r_dilation
     return filters.maximum_filter(image,size,origin=origin)
NameError: global name 'filters' is not defined

I fixed it by adding "from scipy.ndimage import filters" to
ocrolib/morph.py.

I think that's fixed.

But its not transfered to the repository. So if i checked the 0.6-Version
out the error is still there.

Bernd

I see it there[1]. You can also have a look at commit[2]. Do you use correct repository (ocropy)?

[1] http://code.google.com/p/ocropus/source/browse/ocrolib/morph.py?repo=ocropy#7 [2] http://code.google.com/p/ocropus/source/detail?spec=svn.ocropy.ea3b103aa9b6e3cab71f939ce6c5a2a97136bcba&repo=ocropy&r=6e981b313f105386a2a6fccb925f81ed1ff8f721


--
You received this message because you are subscribed to the Google Groups 
"ocropus" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to