-
Notifications
You must be signed in to change notification settings - Fork 20
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
immich_auto_album.py error #104
Comments
What Python version are you running? |
Good question, I should have thought better than to post before I had checked everything up to date. Sent from my Galaxy
-------- Original message --------From: Salvoxia ***@***.***> Date: 2025-01-08 1:19 p.m. (GMT-05:00) To: Salvoxia/immich-folder-album-creator ***@***.***> Cc: mharvey500 ***@***.***>, Author ***@***.***> Subject: Re: [Salvoxia/immich-folder-album-creator] immich_auto_album.py error (Issue #104)
What Python version are you running?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I think the style of type-documentation in method headers require at least Python 3.9, developed and tested with Python >= Python 3.11 |
The python version was 3.8, of course I'm not even running it in the right place. It should be inside the immich docker container where the python version is 3.11. Of course root-path doesn't make sense anywhere else. I don't think bare python script is for the Truenas immich as pip3 is needed and not available. Will try the Docker method. Just shows I'm a newbie and I'm going to have to learn about Docker and git-hub before I can get anywhere with this.Sent from my Galaxy
-------- Original message --------From: Salvoxia ***@***.***> Date: 2025-01-08 1:51 p.m. (GMT-05:00) To: Salvoxia/immich-folder-album-creator ***@***.***> Cc: mharvey500 ***@***.***>, Author ***@***.***> Subject: Re: [Salvoxia/immich-folder-album-creator] immich_auto_album.py error (Issue #104)
I think the style of type-documentation in method headers require at least Python 3.9, developed and tested with Python >= Python 3.11
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
That's true, for TrueNAS the Docker container is ideal. I'm running it myself in my TrueNAS installation. |
For some reason this reply didn't make it to the issue (or you deleted it in the meantime?). Just to make sure: |
Sorry for deleting message, I just thought my question was not well formed.Sent from my Galaxy
-------- Original message --------From: Salvoxia ***@***.***> Date: 2025-01-11 8:37 a.m. (GMT-05:00) To: Salvoxia/immich-folder-album-creator ***@***.***> Cc: mharvey500 ***@***.***>, Author ***@***.***> Subject: Re: [Salvoxia/immich-folder-album-creator] immich_auto_album.py error (Issue #104)
I get this message:
Max retries exceeded with url: /api/server/version (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1000)')))
This command:
docker run
-e API_URL="https://192.168.1.111:443/api/"
-e API_KEY="the key"
-e ROOT_PATH="/external_libs/photos"
salvoxia/immich-folder-album-creator:latest
/script/immich_auto_album.sh
I have tested with openssl and it connects.
I am doing this from a powershell terminal window in Docker Desktop in Windows
For some reason this reply didn't make it to the issue (or you deleted it in the meantime?).
Just to make sure:
If you're using self-signed certificates (as the error message implies), you need to set environment variable INSECURE to true.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
No worries. Have you had a chance to test it with |
The IP address 192.168.1.111 and port 443 on the previous test belong to the Truenas server. That's why I said question was not properly formed. But anyways here is result of INSECURE="true". It appears it passed through the SSL negotiation but ran into other errors. During handling of the above exception, another exception occurred: Traceback (most recent call last): |
If |
https://192.168.1.111:2283 gives |
How do you access Immich? |
By the immich Android app, or Immich WEB UI through the Truenas WEB UI. |
Ok, I meant what URL do use for accessing the Immich Web UI? That's the one to use for |
The port is 30041, but when I try that through Chrome it says ERR_SSL_PROTOCOL_ERROR. |
That's indicative of Immich not using |
It's working now with http. Thanks a ton. |
I get error in immich_auto_album.py downloaded today Jan 8, 2025
Running in Windows 11 Ubuntu
python3 ./immich_auto_album.py -h
Traceback (most recent call last):
File "./immich_auto_album.py", line 57, in
class AlbumModel:
File "./immich_auto_album.py", line 128, in AlbumModel
def find_incompatible_properties(self, other) -> list[str]:
TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered: