-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in editing interface - multiple layers #2540
Comments
Anyone...? |
@kalbermattenm We need to plan some time and are looking for the best person. Probably @sbrunner :) |
No worries! Thanks for your reply! There is no emergency, but it would be good to get that fixed as it will reappear each time I update the c2cgeoportal egg... |
Good to know because we probably work on this after the 17/10. |
@kalbermattenm The trace you post is the trace you get when you get an error? |
Yes
Because there is no cache at the moment I get this error (and the cache is never supplied because I always get this error...) |
But when you remove the line https://github.com/camptocamp/c2cgeoportal/blob/1.6/c2cgeoportal/views/layers.py#L367 you don't have anymore an error? |
Exactly... And my knowledge of the dogpile cache is not good enough to really understand why... It is like it is trying to cache something twice or that something is already existing in the cache and cannot be overwritten (because having multiple layers will call this function multiple times), or... I do not know... |
Same for me, I will do a pull request ... |
Cool... (or not...) I think we could remove the cache on this function without loosing a lot of performance.... |
Effectively :-) I think also |
PR was merged, problem resolved, thanks @sbrunner |
In GMF 1.6.x, when using the editing interface and activating multiple layers at once, I get the hereunder error. I first thought it was related to #699, but it is something else.
It looks like things get mixed up between layers...
When running pserve, I do not get any error, thus I thought that this was due to the dogpile caching on arguments and I turned it off (I mainly just commented https://github.com/camptocamp/c2cgeoportal/blob/1.6/c2cgeoportal/views/layers.py#L367 out...)
Commenting this line makes things work... PR or not ? And does anyone understand what is really happening (I don't...)
The text was updated successfully, but these errors were encountered: