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
I already start by apologising beforehand because I may be reporting this issue to the wrong team and wrong place.
I have a custom quetz-based conda channel which is used internally in conjunction with conda-forge only.
Until recently we have been using conda 4.11 and everything was working normally/fine. This week we tried to update to the latest version of conda, and we started having a JSONDecodeError error in conda when loading the repodata from our quetz-based channel. I tried conda version 4.12 and the error is also present on that version. Rolling back to conda version 4.11 puts everything working again.
I did a quick investigation and it seems that the quetz server is returning a 304 response (suggesting the resource hasn't changed), and then some debug logging utility for conda is causing the problem when calling stringify() which raises the JSONDecodeError exception (because the json contents of the response being a blank bytes b'')
I already start by apologising beforehand because I may be reporting this issue to the wrong team and wrong place.
I have a custom quetz-based conda channel which is used internally in conjunction with
conda-forge
only.Until recently we have been using conda 4.11 and everything was working normally/fine. This week we tried to update to the latest version of conda, and we started having a JSONDecodeError error in conda when loading the repodata from our quetz-based channel. I tried conda version 4.12 and the error is also present on that version. Rolling back to conda version 4.11 puts everything working again.
I did a quick investigation and it seems that the quetz server is returning a 304 response (suggesting the resource hasn't changed), and then some debug logging utility for conda is causing the problem when calling
stringify()
which raises theJSONDecodeError
exception (because the json contents of the response being a blank bytesb''
)https://github.com/conda/conda/blob/fc92ea3353cce71df24fac31ce333ec9f8cf7ba7/conda/auxlib/logz.py#L141
That
stringify()
call is made by some attempt to debug logging:https://github.com/conda/conda/blob/fc92ea3353cce71df24fac31ce333ec9f8cf7ba7/conda/core/subdir_data.py#L527-L528
If I comment out locally those two lines:
The problem does not manifest and everything works normally.
The log traceback is as pasted below:
The text was updated successfully, but these errors were encountered: