Here's my humble first contribution to OCRopus...

I am trying to build OCRopus on a Bluehost server so I can use it as
part of a web service. Bluehost's version of Python is 2.3.4  (at
least on the machine my site is hosted on).

Their Python doesn't like the for loop inside the join statement.

Lines like this:
print "bin_PROGRAMS = " + s.join(" " + os.path.basename(b)[:-3] for b
in binaries)

become this:
print "bin_PROGRAMS = "
for b in binaries:
     print " " + os.path.basename(b)[:-3]



genAM.py modified this way and works for both iulib and ocropus on
Bluehost's servers.

Thank you,
-- 
Michael Moore
-------------------------
Share your families' genealogy and family history books. It's easy and
free : http://bookscanned.com

--~--~---------~--~----~------------~-------~--~----~
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 this group at 
http://groups.google.com/group/ocropus?hl=en
-~----------~----~----~----~------~----~------~--~---

Attachment: iulib_genAM.diff
Description: Binary data

Attachment: ocropus_genAM.diff
Description: Binary data

Reply via email to