}

Solved errors

Direct solutions to common programming errors and system issues.

Page 6 of 17

1 min readBeginner

Nginx 413: Request Entity Too Large Fix

If you got the error “413 Request Entity Too Large” in Nginx, set the value of “client_max_body_size” to a bigger value. The configuration is located at /etc/nginx/nginx.conf. Check here for more details on this solution.

1 min readBeginner

macOS Mojave pyenv: Install failed, "zlib not available"

If you are having the error

1 min readIntermediate

Fix for AMD-Vi: Event logged [IO_PAGE_FAULT device...

Ig you have the kernel error IO_PAGE_FAULT at boot, try to add the option iommu=soft to the grub on the GRUB_CMDLINE_LINUX_DEFAULT. Example GRUB_CMDLINE_LINUX_DEFAULT="quiet iommu=soft", check this articule for more information.

1 min readBeginner

Java: error: Double.MIN_NORMAL not found

When you see the error **Double.MIN_NORMAL not defined** you should use the following: Double.longBitsToDouble(0x0010000000000000L)

1 min readBeginner

windows 10 virtualbox stopped working

If virtualbox stopped to work on windows 10, try the following command: sc start vboxdrv

1 min readIntermediate

Solution to error SvcErr: DSID-03100754

When you try to authenticate using LDAP you get the following error, 000020D6: SvcErr: DSID-0310081B, problem 5012 (DIR_ERROR), data 0. this means that the base DN is not complete, it should be like dc=test,dc=com. Check here for more details

1 min readBeginner

[SOLVED] Could not find main GSSAPI shared library

If you have the error " Exception: Could not find main GSSAPI shared library. Please try setting GSSAPI_MAIN_LIB yourself or setting ENABLE_SUPPORT_DETECTION to 'false'", you can fix it by installing sudo apt-get install python-pip libkrb5-dev. check here for more details on the solution.

2 min readBeginner

Webpack: CommonsChunkPlugin Removed Error

If you upgrade to webpack 4 and got the error "Error: webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead.", try to add the new config section called optimization since on webpack 4 CommonsChunkPlugin was removed and it was replaced by optimization.splitChunks.

1 min readBeginner

Flask-Security: NoneType has no attribute send

Check here the solution of the flask-security error AttributeError: 'NoneType' object has no attribute 'send'. You need to configure flask-mail.

1 min readBeginner

python3 create new empty file

With python3 the best way to touch a file is by using the Path class from pathlib. Once you have an instance of Path (from pathlib import Path) you can use the touch method(): Path('empty_file').touch()