I'm afraid I am at a bit of a loss here, too. This error (or lack
thereof) doesn't make much sense to me - I can't think of any reason
you would be seeing the behaviour you are seeing. The code in question
here is lines 208-210 of
django_evolution/management/commands/evolve.py:
except Exception, ex:
transaction.rollback()
print self.style.ERROR('Error applying
evolution: %s' % str(ex))
If you're seeing nothing after the "Error applying evolution" step,
then it means that whatever exception is being raised, it can't be
printed - either because the __str__ method is deliberately empty, or
printing the error is itself raising an error.
All I can suggest here is that you put some extra debug code into this
exception block, and try and find out anything you can about the
exception that is being raised - the class of exception, and
attributes of the exception, etc. As an end, this will hopefully show
you what is going wrong in your evolution; more generally, it may
provide some suggestions as to what needs to be improved in the way
Evolution outputs error messages in this case.
Yours,
Russ Magee %-)
Excellent! Thanks for the debug work here, Russ. A full and complete
solution for #30 will be complex, but as you say, the simple case of
checking for an empty string should be a relatively simple improvment.
I don't know when I'll get a chance to look at this, but I'll put it
on the list :-)
Yours
Russ Magee %-)