Categories
Mastering Development

want to start ninja-ide but won’t start

install ninja-ide in my kali Linux, whenever I run this code “ninja-ide” to run it this error keeps on coming….. Traceback (most recent call last): File “/usr/bin/ninja-ide”, line 34, in <module> ninja_ide.setup_and_run() File “/usr/share/ninja-ide/ninja_ide/__init__.py”, line 71, in setup_and_run core.run_ninja() File “/usr/share/ninja-ide/ninja_ide/core/core.py”, line 48, in run_ninja from ninja_ide.gui import ide File “/usr/share/ninja-ide/ninja_ide/gui/ide.py”, line 45, in <module> […]

Categories
Development Linux

Can’t install Foxit Reader in Arch linux (`gstreamer0.10` error)

I’ve got Arch Linux and I can’t install Foxit Reader from AUR. It fails when building gstreamer0.10. The source of the error is that it can’t find a Python package called giscanner._giscanner. Here are what I think are the relevant lines for the error: /usr/include/glib-2.0/glib/deprecated/gthread.h:153:8: note: declared here 153 | struct _GStaticRecMutex | ^~~~~~~~~~~~~~~~ CCLD […]

Categories
Development System & Network

CentOS WOK / Kimchi keeps failing

I have been using app-kimchi on a few different servers, but i have gone to install it on another server and for some reason it’s failing, I can’t seem to figure it out. I am installing on ClearOS and the log that im seeing is as follows; Feb 12 10:48:16 host systemd: Dependency After=wokd.service dropped […]

Categories
Development

IBM Asset Monitor – Test Custom Function DLL load failed: The specified module could not be found

I am following the steps in this link, https://www.ibm.com/support/knowledgecenter/SSQP8H/iot/analytics/tutorials/as_adding_complex_function_tutorial.html, and have created a function successfully. My files can be found here, https://github.com/tiongghee/AssetMonitor I have created the test script, test_my_custom_function.py, to test my function and have encountered the under-mentioned error. C:\Users\TIONGGHEETAN\Desktop\projects>python3 test_my_custom_function.py Traceback (most recent call last): File “test_my_custom_function.py”, line 6, in from iotfunctions.base import BaseTransformer […]

Categories
Development

Issues with selenium in Python (Maybe installing chrome webdriver)

I think I’ve installed chrome web driver correctly although it may be the issue, but when i run command prompt and type “chromedriver” it runs, but when i go into sublime and just try to go to google and print the title and URL to verify that things are working i get this error I […]

Categories
Development

Can’t import urllib3 from the current directory using relative imports

When I am trying to run a compiled Python executable, I am running into a weird problem with the requests module. The exact Error message is as follows: File “tradingbot.py”, line 11, in init tradingbot File “C:\Users\igors\Downloads\olympian_(4)\bin3\lib\site-packages\requests\__init__.py”, line 60, in <module> from .packages.urllib3.exceptions import DependencyWarning File “C:\Users\igors\Downloads\olympian_(4)\bin3\lib\site-packages\requests\packages\__init__.py”, line 29, in <module> import urllib3 ImportError: No […]

Categories
Development Python

Python IOError: push_notifications.apns in _apns_create_socket

We are using django-push-notifications==1.6.0. We confirmed that the file is existing inside the docker container. The pem file is valid because we abled to sent device notification manually using the file. Below is the actual error log: IOError: [Errno 2] No such file or directory File “demoapp/tasks_helpers/notification.py”, line 216, in push certfile=apns_certfile File “push_notifications/models.py”, line […]

Categories
Development

Get attribute stored in another class

I have 2 Modules, the first module has class One with a function which returns a value. The second has 2 classes Two and Three with functions. I’ve imported the class from the first module into the second. In function i of Class Two I’ve assigned the function x from class One to y. from […]

Categories
Development Linux

Getting error installing virtualenvwrapper and distutils

I am trying to install virtualenv but getting the below error on ubuntu bionic rock64@rockpro64:~$ pip3 install virtualenv virtualenvwrapper Traceback (most recent call last): File “/usr/bin/pip3”, line 9, in <module> from pip import main File “/usr/lib/python3/dist-packages/pip/__init__.py”, line 29, in <module> from pip.utils import get_installed_distributions, get_prog File “/usr/lib/python3/dist-packages/pip/utils/__init__.py”, line 23, in <module> from pip.locations import ( […]

Categories
Development

Formatting issues using Regex and Pandas

I don’t exactly know how to describe the issue I’m having, so I’ll just show it. I have 2 data tables, and I’m using regex to search through and extract values in those tables based on if it matches with the correct word. I’ll put the whole script for reference. import re import os import […]