Solved_errors Index Page 5

gohugo: How to exclude content from sitemap.xml

When you use hugo there is no built in way to exclude pages from the sitemap. In this short solution we explain how to exclude 404 page from the sitemap when using gohugo. Our solution is to use a custom sitemap template, check here for a gohugo example sitemap template.

How to install a dependency with pip from github using setup.py

Steps to install a python dependency from git in the setup.py using dependency_links. Make sure the user is using this format: git+https://github.com/user/repo.git#egg=project_name . Check here for more details.

Python3 and Pillow: ValueError: --enable-jpeg requested but jpeg not found, aborting.

Check here how to solve the error "ValueError: --enable-jpeg requested but jpeg not found, aborting." while installing Pillow with Python3

Android how to disable 2g, 3g or change preferred network type

On the phone dialer type in *#*#4636#*#* and you will be able to change settings. See our article for more details.

Python Pip: No matching distribution found for Twisted/Pillow

When you try to install Twisted you could get the error: "No matching distribution found for Twisted". One couse could be that you python is missing some extension, like bz2. You will need to change your pytohn interpreter or recompile it.

Python cryptography: ImportError: No module named setuptools_ext

When you install cryptography with the command `pip install cryptography --upgrade`, the following error is raised: ImportError: No module named setuptools_ext. Try to upgrade cffi with: pip install -U cffi. Check here for all steps to solve this issue.

Python scrapy: libxml/xmlversion.h: No such file or directory

If you have the error Python cryptography: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 while installing python cryptography, try the following SOLUTION: sudo apt-get install python3 python-dev python3-dev build-essential libssl-dev libffi-dev libxml2-dev libxslt1-dev zlib1g-dev python-pip. Check here for full details

UniFi VoIP: No Sound on Phone Call

If you have problems with no sound with UniFI VoIP. Make sure you have the option PBX delivers audio enabled. Check here for full solution.

MySQL: Error in query (1548): Cannot load from mysql.proc. The table is probably corrupted

When you get the error: Error in query (1548): Cannot load from mysql.proc. The table is probably corrupted. You can try to repair MySQL using "mysqlcheck -r mysql proc -u root -p", if the error persists check our full solution here.

Fixing Virtualbox error “Kernel driver not installed rc= 1908”

When you try to start Virtualbox you get the following runtime error: Kernel driver not installed (rc=-1908). To fix it execute: sudo apt install dkms and then sudo /etc/init.d/vboxdrv setup. Check here for more details.