Solved_errors Index Page 1

Mac OSX: OSError: MoviePy Error missing magick font

If you are trying to render font using moviepy you will need to install ghost script with brew install Ghostscript to have all the required fonts by moviepy. Check here for full details.

SAP

Error message Posting only possible in periods DATE and DATE in company code CODE M7053

The error is common when *Actual GI date* was not given by the user, in this case, SAP will use the current system date. Usually, the current system date is not in the valid period and the error *M7053* is raised. Check the full solution to know how to check the valid period.

SOLVED: ImportError: No module named Cython.Build

When you try to install a python package and you get the error "ImportError: No module named Cython", try to install cython with "pip install --upgrade cython". Check here for more solutions.

Regex for validate two letter country

Here we provide a long regex to validate ISO 3166-1 alpha-2 two letter country codes.

OSX MAC Solution to SSH Broken Pipe

In this article, we explain how to avoid the "Broken Pipe" error. You will need to edit you sh config file /etc/ssh/ssh_config or ~/.ssh/config and set the ServerAliveInterval to 120 and TCPKeepAlive to no for all hosts. Check here for the complete information.

Pygame blank screen with python3 and osx

Here is the solution when using pygame with OSX and you get a blank screen or not loading. You will need to uninstall and then install pygame from source code. In this article, we explain step by step how to fix pygame not loading in mac.

OSX Solution: No package 'gobject-introspection-1.0' found

The error: PKG_CONFIG_PATH environment variable No package 'glib-2.0' found, could be easy solved when using brew by settings the PKG_CONFIG_PATH to the following value: export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/Cellar/gobject-introspection/VERSION/lib/pkgconfig

OSX Solution: PKG_CONFIG_PATH environment variable No package 'glib-2.0' found

The error: PKG_CONFIG_PATH environment variable No package 'glib-2.0' found, could be easy solved when using brew by settings the PKG_CONFIG_PATH to the following value: export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/Cellar/glib/VERSION/lib/pkgconfig. Check this solution for more information

django rest framework: type object 'Token' has no attribute 'objects'

When you are using auth token with Django rest framework and you get the error type object 'Token' has no attribute 'objects', this means that didn't add the auth token in the settings' INSTALLED_APPS.

Django SOLUTION: TEST_DATABASE_PREFIX TypeError: can only concatenate str (not "NoneType") to str

In this article we explain how to fix the error "TypeError: can only concatenate str (not "NoneType") to str", when you execute unit tests. You need to specify sqlite database engine! check here for the full solution