When trying to install PyDev on eclipse I get the following error message:
An error occurred while collecting items to be installed session context was: (profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://pydev.org/updates/plugins/org.python.pydev_2.6.0.2012062818.jar.
Read timed out
Unable to read repository at http://pydev.org/updates/plugins/org.python.pydev.jython_2.6.0.2012062818.jar.
Read timed out
I don't know what that means, can someone elaborate please?
Thanks.
Just that Eclipse can't reach the site to fetch that JAR. You can check it manually by entering the name into the browser address bar:
http://pydev.org/updates/plugins/org.python.pydev_2.6.0.2012062818.jar
Possible causes:
server overload
DNS failure
company firewall refusing to download (had this happen to me)
connectivity problems
Related
im a little new to coding and stuff but i keep getting this error trying to use chromedriver, and the website is coming up with a 502 error (bad gateway)
I've downloaded pywin32, checked for the line "resource_path" and there aren't any, instead there are executable paths, and i haven't found any fix at all on the internet.
[15:18:59.410] USB: usb_device_handle_win.cc:1056 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
i found a fix!! first download this chrome extension then click the extension, and set the user-agent to "Chrome on Mac"
also open cmd and type:
pip install pywin32
I'm actually learning to use the Django framework with PostgreSQL with Docker and docker-compose.
Regularly, when I make a mistake (for example a syntax error in the views.py file), I cannot reach my Django app anymore trough my web browser.
Firefox tells me:
Unable to connect
Firefox can't establish a connection to the server at localhost:8000
Chrome tells me:
This site can’t be reached
localhost refused to connect.
ERR_CONNECTION_REFUSED
I had this several times and I always managed to find the error in my code, to correct it and then everything went well again.
Currently, my code is working fine. But if I encounter this again (and this happens very often), I would like to be able to find the error quickly by myself.
So here is my question:
How can I see which file at which line contains the error ?
I would like to have a correct error message telling me what went wrong instead of that annoying ERR_CONNECTION_REFUSED browser page over and over.
I hope I explained my issue well because I struggled to describe it to Google.
Thanks a lot in advance. :)
FYI:
Ubuntu 18.04.3 LTS Bionic (window manager i3wm)
Docker 19.03.4
docker-compose 1.17.1
python 3.7 (docker image)
Django 2.2.6 (inside the python 3.7 image)
PostgreSQL 12.0 (docker image)
Visual Studio Code 1.39.2
I finally found a solution.
I had the bad habit to run my docker-compose in detached mode.
When attached, the syntax errors are shown directly from the terminal when de container is stopped.
I also added a script where I run my server in a loop. This way, the server will relaunch automatically over and over until I correct the error. I don't have to restart my Django server manually.
Thank you for helping me anyway.
I'm getting the below error when trying to run the command heroku run python manage.py migrate from the terminal.
ECONNRESET: read ECONNRESET
I followed the link in the heroku docs to check if there was a firewall issue, but I had a successful telnet connection. I haven't been able to find any other examples of anyone running into this issue unless they are having a proxy/firewall issue but according to the telnet test it doesn't seem like I have a problem right?
I've also tried testing any other heroku run command I can think of and I get the same result.
After reading the logs it showed that there was an Error Code R13. I was able to follow this thread to get what I needed to be fixed but was unable to run anything that needs to actually be attached (like an interactive shell).
Tried filing something with Heroku support but they basically said that it's outside the scope of free support. Disappointing.
The problem is related with a proxy in your internet connection.
Try to connect to heroku by using another internet connection, for example your mobile phone tethering.
It worked for me.
The problem is as a result of your internet connection provider blocking Heroku server. Change the source or provider of your internet and you will be able to connect to the Heroku Django console.
Hey I'm trying to install some packages from a requires file on a new virtual environment (2.7.4), but I keep running into the following error:
CertificateError: hostname 'pypi.python.org' doesn't match either of '*.addvocate.com', 'addvocate.com'
I cannot seem to find anything helpful on the error when I search. What is going wrong here? Who in the world is addvocate.com and what are they doing here?
The issue is being documented on the python status site at http://status.python.org/incidents/jj8d7xn41hr5
When I try to connect to pypi I get the following error:
pypi.python.org uses an invalid security certificate.
The certificate is only valid for the following names:
*.addvocate.com , addvocate.com
So either pypi is using the wrong ssl certificate or somehow my connection is being routed to the wrong server.
In the meantime I have resorted to downloading directly from source URLs. See http://www.pip-installer.org/en/latest/usage.html#pip-install
I had the same error, I fixed it by downgrading my pip version to 1.2.1:
easy_install pip==1.2.1
Changing your DNS settings should solve it for now.
For my Ubuntu 12.04 Amazon AWS Instance I did the following:
sudo pico /etc/dhcp/dhclient.conf
supersede domain-name-servers 8.8.8.8, 8.8.4.4;
Save the file and it was fine after a few seconds.
I run several python scripts as Windows Services on Windows XP. Just now they all died. They will not restart. I have no clue what is going on. I can't seem to get an error message to give me more insight. I haven't tried to reinstall any modules yet. What Modules are used by Windows Services in python?
EDIT:
When I reinstall pywin32 I do get this error:
However after clicking the 'ok' button, module does continue to install
Found the Issue. Windows Error Log was full... So the script could not even send a message to log saying that service restarted thus it would fail and not log any error messages to boot.