You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jservonnat I have finally solved one my problems, generated by a vicious python side effect. I had fortunately already run into this kind of error a few times
You have a loop on available_components in your code for component in available_components:
but you remove the component if you don't find the matching diagnostics_.py file.
print "Skipping component ", component, " which diagnostic file is not readable"
available_components.remove(component)
This can happen when the user has created some sub-directories of his own in the comparison directory. It was my case and I ended up with some legitimate components not taken into account (in the front page creation).
To be safe, you should never change the content of an object you are currently looping on!
This problem can be easily solved (in this particular case) by looping on a copy of the object for component in available_components[:]:
The text was updated successfully, but these errors were encountered:
@jservonnat I have finally solved one my problems, generated by a vicious python side effect. I had fortunately already run into this kind of error a few times
You have a loop on available_components in your code
for component in available_components:
but you remove the component if you don't find the matching diagnostics_.py file.
This can happen when the user has created some sub-directories of his own in the comparison directory. It was my case and I ended up with some legitimate components not taken into account (in the front page creation).
To be safe, you should never change the content of an object you are currently looping on!
This problem can be easily solved (in this particular case) by looping on a copy of the object
for component in available_components[:]:
The text was updated successfully, but these errors were encountered: