in reply to Re: Code fails without any reason?
in thread Code fails without any reason?

Thanks a lot. I must have overseen that second call :(. I thought the error was produced by the first call. I should have inserted a print command after the loop and probably would have found the error myself.