I've been working on app for the last few months using the built-in wep2py rocket webengine.
Since "all" was working fine so I decided to give it go and see if I could put up into production. So I've hosted it through apache, but my problem is actually that it fails on some python library (which works fine in development). I have my own methods split across 3 Classes that I stuck on a file in the " *modules/*" folder and at the top of the file I have my necessary imports... ... import sys, re, subprocess from decimal import * import fisher as f import networkx as nx import statsmodels ... However my app gets stopped and I run across errors like: ... correction = statsmodels.sandbox.stats.multicomp.multipletests(pvals, alpha=alpha, method='fdr_by', returnsorted=False) AttributeError: 'module' object has no attribute 'sandbox' ... On the other hand can run it on a normal python console and I have no issue whatsoever with it. I've been trying also to mess about with the local_import() but without much success, although I seem to have read somewhere that the "import" should work. It's probably something very simple, but I've been at it all day... and can't seem to get around it. :s -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.