I'm using the Arelle project to implement validation of my Xbrl files.
http://arelle.org/documentation/api-web-services/
When i try to start the webserver that i can call from my code i receive following error.
Been looking up how to fix this and it all points to disabling my antivirus. Got it disabled and i still get this error. Arelle is a Python project
This should start a webservice that i can reach on www.localhost:8082/rest/xbrl
Appearently this was an issue with the previous release of the project.
I installed the latest version 2013-07-25 and no longer had this socket error
Related
My pc recently started giving error in installing Django.... Look at the error message, what could be the cause please?
I tried installing Django for my project, and it just throw an unexpected error message.
I have the right Venv activation code so I expected it to work.
This could be due to a weak internet connection, i.e it takes time to download, or slow internet connection. Check your internet speed and try again. If it still persists, on your virtual env try to install it manually, you can use this video as a guide here.
I am trying to edit my jupyter notebook which is in Azure ML Workspace. I use the 'edit-in vscode' option, it opens the vs-code or when I try to connect to compute instance directly from vs code, then I am getting the following error:
[Info - 2021-11-08 07:06:06.885] Using commit id "b3318bc0524af3d74034b8bb8a64df0ccf35549a" and quality "stable" for server
[Error - 2021-11-08 07:06:06.971] Invalid response: 405 Method Not Allowed
[Error - 2021-11-08 07:06:06.971] Cannot communicate with the Jupyter endpoint.
[Error - 2021-11-08 07:06:07.981] Maximum retries exhausted. Could not install VS Code server on saksham-dubey: Cannot communicate with the Jupyter endpoint.
Earlier it was working fine and I had no issues with vs-code, I was able to edit/run files directly but without changing anything, it started giving me problem.
So far, I have tried uninstalling/removing vscode completely, reinstall it, deleting Azure compute instance and creating a fresh instance but nothing worked, I am still facing the issue.
What is the problem here and how to resolve this?
ps- saksham-dubey is my compute instance name, which is a Azure Compute Instance (Nvidia Tesla K80 GPU)
Been dealing with the same issue since Friday, tried pretty much anything to no avail.
Luckily I found a workaround by enabling SSH on a new GPU instance & connecting to the instance through Remote SSH from VS Code.
Will keep posted if I found a solution for the UI access.
I found the fix to the problem.
The problem was caused due to some backend error in the 'Azure Machine Learning' vs-code extension.
The issue was caused in the version: 0.6.26
The fix was implemented on the version: 0.6.27
Updating your vs-code extension will make it work.
For any further information you can refer: Github Link to vscode-tools-for-ai
Also you can open an issue on same Github page, if anything like this happens again.
GOAL : I am trying to deploy my Flask app to make it public on the web. I have my own server which runs on Ubuntu 18.04
TUTORIAL : As it is the first time I am doing this, I am following this tutorial. All his steps are perfectly working for me except the last one. However, in this tutorial he used Linode and I use my own server so I directly code on my terminal
PROBLEM : In his last step after systemctl reload apache2 when I go on the my browser and type my ip address (found using ifconfig) that I put in webApp.conf (192.168.1.25) I get the following error :
ERROR LOGS : As asked I went into the error.log which outputs the following :
You can find the code here : https://pastebin.com/g2rzRUXE
POTENTIAL PROBLEMS: From what I understand I am having two issues :
Set the 'ServerName' directive globally to suppress this message . So I tried to solve it using this tutorial and I changed my private ip address to my public ip address (found on whatismyip.com) but when doing so I received the following error:
It does not seem to like my prints:
. Am I not allowed to keep prints
Please let me know how I could solve these problems or the other ones in the error log that I might not have seen.
I hope I was clear enough. If you need any additional info I can edit my question. I am running out of ideas so if you have any tips I would be grateful.
In the logs, I can read:
Apache/2.4.29 (Ubuntu) mod_wsgi/4.5.17 Python/2.7 configured -- resuming normal operations
So, you are using Python 2 instead of Python 3.
You need to install a mod_wsgi module compatible with Python 3.
Follow the instruction available here : https://modwsgi.readthedocs.io/en/develop/user-guides/quick-installation-guide.html
The following link can also help: https://stackoverrun.com/fr/q/12335951 (in French).
Last year I wrote a Python script to query the SEC's EDGAR database to retrieve their index of company filings for various years and quarters. At the time, the script worked fine but I recently picked it back up only to find that now I receive SSL: CERTIFICATE_VERIFY_FAILED errors whenever running it.
I did an SSL Server test on the the following path:
https://www.sec.gov/Archives/edgar/full-index/2018/QTR2/company.idx
The report indicates all passes for the certificate (linked here)
Also interestingly, if you navigate directly to the path in browser, an "Access Denied" error is returned. If I'm remembering correctly, in the past this would have led to the index file being downloaded. I know that the SEC's EDGAR database has recently gone through some restructuring as they no longer support FTP services.
Does anyone have any idea what might be happening here and why I get SSL errors?
For further background, I'm using urllib.request.urlopen()
Thanks in advance.
Took a bit of digging, but I found the answer to this question. Full credit to Craig Glennie who posted the answer in a response to a question elsewhere on Stack Overflow:
urllib and "SSL: CERTIFICATE_VERIFY_FAILED" Error
I didn't realize that the out of the box Python 3.6 installed on OS-X does not have any certificates (as detailed in the ReadMe.rtf file with Python 3.6). Running /Applications/Python\ 3.6/Install\ Certificates.command got everything squared away.
I'm currently trying to run python UI automations using selenium grid and nosetest. I finished setting up the hub and two nodes. I tried to run the tests by the command below:
nosetests-2.7 --tests=ui_tests/sample_tests.py --tc-file=conf/config.ini --nologcapture -v --with-holmium --holmium-browser=chrome --holmium-remote=http://<my_hub_ip>:4444/wd/hub --process-timeout=600 --holmium-browser-per-test --holmium-ignore-ssl-errors --processes=2
I get the error message on nodes below after some test cases finished running:
INFO:I/O exception (org.apache.http.nohttpresponseexception) caught when processing request to <>->http://<my_hub_ip>:4444: The target server failed to respond
I have done searching for this issue, but didn't find anything useful to solve the problem. I'm wondering if it is because the VM that is acting as the hub is not powerful enough.
I'm using selenium-server-standalone-2.53.1 and nosetests-2.7.
So I finally figured out the problem. Just download the newest version of selenium-server-standalone, it works perfectly. The version I'm using now is 3.0.1. They had a fix of the I/O exception in this version.