View Single Post
Old 02-08-2010, 01:43 PM   #37
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,506
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Problem solved by using __init__.pyo instead of __init__.py. It could be that python on DrJanet's mac doesn't like intermixing the two formats. However, in the process of debugging I discovered some tab characters in __init_.py file which don't bother the windows interpreter but could have bothered the mac one. For completeness I have converted the tabs to the right number of spaces.

To make things easier, I also built separate .pyo files that don't use the environment variable, but instead directly implement the desired option. DrJanet is using one of these.
chaley is offline   Reply With Quote