While trying to use sphinx_panels in the rst (reStructuredText), I'm facing an error Could not import extension sphinx_panels.
I've added the extension in the conf.py file as mentioned in the docs still facing the issue
I even tried reinstalling but no help, can anyone tell me how to resolve the issue
Your sphinx version (2.0.1) is too old, SphinxPostTransform is introduced in 2.1.0.
Changelog: https://www.sphinx-doc.org/en/master/changes.html#release-2-1-0-released-jun-02-2019
Add a helper class sphinx.transforms.post_transforms.SphinxPostTransform
Related
i have upgraded my kedro to latest version.But i have used kedro.versioning in my project.And latest kedro has no module of this name.Can anyone please suggest anything
this was removed in 0.18.x what are you trying to retrieve we can think of a workaround?
I am upgrading magento 2.1.8 to 2.3.3 by command line it is showing below error when I run composer update command.
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/contain
Any one let me know where i need to change to solve this problem.
Thanks
Sanjeev
It comes up a lot during Composer installations. The module still installed, the message is just a false-positive. If it failed, the message would clearly state that.
Just tried to rebuild a container with DRF and drf-yasg. The exact same commit was passing all tests fine but is now falling over with the following exception:
ImportError: Could not import 'rest_framework.schemas.coreapi.AutoSchema' for API setting 'DEFAULT_SCHEMA_CLASS'. ModuleNotFoundError: No module named 'rest_framework.schemas.coreapi'.
Nothing else has changed, but it seems a newer package may have been included that broke the Swagger generator.
Anyone else experience similar?
So it seems pip was pulling DRF V3.10, which has some switch from CoreAPI to OpenAPI: https://www.django-rest-framework.org/community/3.10-announcement/ . Adding the line from the release documentation:
REST_FRAMEWORK = {
...
'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'
}
did not seem to make any difference.
I would presume your dependencies in requirements.txt are not specific enough, and rebuilding the container has installed a later version of djangorestframework.
Check for a line in your pipfile like djangorestframework>=3.9, and this should be changed to either pin a specific version djangorestframework==3.9, or pin it to a specific minor release so you will still receive bug fixes and security updates djangorestframework>=3.9,<3.10.
These lines can also be used directly with pip, incase your container build uses pip directly, e.g. pip install "djangorestframework>=3.9,<3.10"
It seems that installing coreapi seperately may help: pip install coreapi
pip3 install packaging
solve it!
I am trying to install 'vet' tool using go get, and I am getting this error:
root#ubuntu:~/docker# go get code.google.com/p/go.tools/cmd/vet
# code.google.com/p/go.tools/cmd/vet
../go/src/code.google.com/p/go.tools/cmd/vet/asmdecl.go:10: import /root/go/pkg/linux_amd64/bytes.a: not a package file
I tried to find the solution on internet, couldn't find anything helpful. Could you guys please help me figure out what could be causing this? TIA.
Okay, so the problem was I was using go 1.2.1, I upgraded it to 1.4.2 and everything is working fine now. Thanks, #Ainar-G for pointing it out.
I have a project using sass and i have a config.rb file setup to 'require' a gem (zen grids) which is then '#import'ed in my main .scss file but i'm getting errors File to import not found or unreadable: zen when I try to compile.
I'm running Mac OSX 10.8.3 and am using RVM and have 1.9.3-p362 as my default version.
Can anybody help? I would really appreciate any feedback on this.
I've resolved this. I think it was my structure. I let compass create a project for me and then I simply imported all the requires and #imports which I needed. No more errors and it all compiles fine.