On Wed, Aug 25, 2010 at 11:10:37AM -0500, Ry4an Brase wrote:
On Wed, Aug 25, 2010 at 12:07:16PM -0400, Nate Coraor wrote:
>> message=util.sanitize_text( message ), Module galaxy.util:138 in sanitize_text view >> for c in text: TypeError: 'NoneType' object is not iterable
could that be resulting in the stuff half-imported?
Sure could, this is an interface error but it's masking a deeper problem. There's an error occurring somewhere higher up, but 'message' is somehow set to None, and then in trying to display the error to you, it fails to sanitize the message text since it's not a string.
Are you importing via a server directory or filesystem paths?
It's an import from a filesystem path to a specific file (not a directory). I've tried with the message box containing both the empty string and some text.
As I'm sure you found the message text box was a red herring, and I was running into HTTP return code + return message errors. In the correct case the statuscode was None instead of 200 in lib/galaxy/web/controllers/library_common.py's get_path_paste_uploaded_datasets. Greg fixed it in on line 1270 in changeset a2680959be31. We have an upgrade scheduled, but for now I changed 'None' to 200 and got it going. Thanks a ton for your help, -- Ry4an Brase 612-626-6575 University of Minnesota Supercomputing Institute for Advanced Computational Research http://www.msi.umn.edu