Yannik / qnap-letsencrypt

Let's Encrypt on QNAP
318 stars 59 forks source link

QPython 3.10 #124

Open LennyM8472 opened 1 year ago

LennyM8472 commented 1 year ago

H,

can you support the new QPython 3.10 in your script:

[QPython310] Name = QPython310 Class = null Status = complete store = a79684706c9e3282fd9972d6737d6287 Build = 20220523 Display_Name = Python 3.10.x Version = 3.10.2.1 Author = QoolBox QPKG_File = QPython310.qpkg Date = 2022-09-04 Shell = /share/CE_CACHEDEV2_DATA/.qpkg/QPython310/QPython310.sh Volume_Select = 3 Install_Path = /share/CE_CACHEDEV2_DATA/.qpkg/QPython310 RC_Number = 109 FW_Ver_Min = 4.3.0 Enable = TRUE

all binaries must be called from /opt/QPython310/bin

Best regards Lenny

Yannik commented 1 year ago

Can you confirm that

/share/CE_CACHEDEV2_DATA/.qpkg/QPython310/bin/python3 HTTPServer.py

Works without errors?

Yannik commented 1 year ago

Also, where did you install this qpkg from? QNAP Store, entware, Qnapclub?

LennyM8472 commented 1 year ago

/share/CE_CACHEDEV2_DATA/.qpkg/QPython310/bin/python3 HTTPServer.py

[/share/Applications/qnap-letsencrypt] # /share/CE_CACHEDEV2_DATA/.qpkg/QPython310/bin/python3 HTTPServer.py Traceback (most recent call last): File "/share/CE_CACHEDEV2_DATA/Applications/qnap-letsencrypt/HTTPServer.py", line 28, in main() File "/share/CE_CACHEDEV2_DATA/Applications/qnap-letsencrypt/HTTPServer.py", line 10, in main serve() File "/share/CE_CACHEDEV2_DATA/Applications/qnap-letsencrypt/HTTPServer.py", line 20, in serve server = HTTPServerV6(('::', 80), SimpleHTTPRequestHandler) File "/share/CE_CACHEDEV2_DATA/.qpkg/QPython310/lib/python3.10/socketserver.py", line 452, in init self.server_bind() File "/share/CE_CACHEDEV2_DATA/.qpkg/QPython310/lib/python3.10/http/server.py", line 138, in server_bind socketserver.TCPServer.server_bind(self) File "/share/CE_CACHEDEV2_DATA/.qpkg/QPython310/lib/python3.10/socketserver.py", line 466, in server_bind self.socket.bind(self.server_address) OSError: [Errno 98] Address already in use

LennyM8472 commented 1 year ago

Also, where did you install this qpkg from? QNAP Store, entware, Qnapclub?

Qnapclub over the last few months. Now from myqnap.org