Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 401 #380

Open
PaulaPacheco72 opened this issue Oct 31, 2024 · 7 comments
Open

Error 401 #380

PaulaPacheco72 opened this issue Oct 31, 2024 · 7 comments

Comments

@PaulaPacheco72
Copy link

Hello. First of all, congratulations, this program looks amazing.
I think i have a bug somewhere... or not! I'm starting GIS...
I try to import the satellite imagery and this error appears:
"2024-10-31T09:41:02 WARNING Python error : An error has occurred while executing Python code: See message log (Python Error) for more details."
and the message:
" File "C:\PROGRA1\QGIS331.11\apps\Python312\Lib\urllib\request.py", line 639, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 401: Unauthorized".

I put my NASA and Copernicus credentials, I don't think that's the error. The images appear, simply when I click on RUN, this error appears.

Can you give some advice? I'm just starting in this world... tks

@semiautomaticgit
Copy link
Owner

Hello @PaulaPacheco72 ,
thank you very much, I'm glad that you appreciate my work.

About your issue, it could be a server issue or an installation issue.
In case it was a server issue, you can wait a few hours and try again.

However, I suggest to reinstall the plugin following these installation steps https://semiautomaticclassificationmanual.readthedocs.io/en/latest/installation.html (in case of installation issues, please try this alternative method of installation dependencies https://semiautomaticclassificationmanual.readthedocs.io/en/latest/faq.html#plugin-installation-4 ).

@PaulaPacheco72
Copy link
Author

Hello, @semiautomaticgit:

qpip:
2024-11-01T09:31:26 INFO Loading SemiAutomaticClassificationPlugin (GUI is no yet ready).
2024-11-01T09:31:26 INFO Check on startup disabled. Normal loading of SemiAutomaticClassificationPlugin.

I think everything is ok, but I still can't run... and I do not know how to solve the problem... Ideas?

@semiautomaticgit
Copy link
Owner

Hello @PaulaPacheco72 ,

you can try to uninstall the SCP, then reinstall it.
If the SCP is loaded, please enable "Records detailed events in a log file" and copy the log file as described here https://semiautomaticclassificationmanual.readthedocs.io/en/latest/faq.html#how-can-i-report-an-error

@PaulaPacheco72
Copy link
Author

Hi, @semiautomaticgit. Sorry...

It's already been done. Apparently there are no bugs.

image

Tks

@semiautomaticgit
Copy link
Owner

Please repeat the search process, then open the tab Debug and click the button to export Recorded events in a log file , which is a text file containing information about the Plugin processes.

@PaulaPacheco72
Copy link
Author

debug1.txt

@semiautomaticgit
Copy link
Owner

Thank you @PaulaPacheco72 .
The error is related to authentication, therefore I suggest to check the username and password.
Also, you could try to search and download the product Sentinel-2_MLP (the same Sentinel-2 images, but from a different service that doesn't require authentication).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants