jneilliii / OctoPrint-WindowsInstaller

72 stars 21 forks source link

Pillow request #27

Open fourpower opened 3 months ago

fourpower commented 3 months ago

When attempting to install Slicer Thumbnails plugin I run into an issue with pillow missing. Can we include this dependency in a future release? I have an offline installation of octoprint and have been unsuccessful in manually installing pillow and it's dependencies.

jneilliii commented 3 months ago

When installing the plugin that should install on it's own as a dependency. What error are you getting during install?

fourpower commented 3 months ago

I get an error. It might install if there was an internet connection but this is something I don't have on that instance of octoprint. So pillow needs to already be installed with OctoPrint-WinodwsInstaller or I need a workaround to install it. Here is the error log:

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x00000226FCEE1D50>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/pillow/WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x00000226FCEE2080>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/pillow/WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x00000226FCEE2230>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/pillow/WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x00000226FCEE23E0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/pillow/WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x00000226FCEE2590>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/pillow/ERROR: Could not find a version that satisfies the requirement Pillow>=9.5.0 (from slicer-thumbnails) (from versions: none)ERROR: No matching distribution found for Pillow>=9.5.0

On Sat, Mar 30, 2024 at 1:12 PM jneilliii @.***> wrote:

When installing the plugin that should install on it's own as a dependency. What with are you getting during install?

— Reply to this email directly, view it on GitHub https://github.com/jneilliii/OctoPrint-WindowsInstaller/issues/27#issuecomment-2028308310, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWC5USH2WSSKNDZKTHVFX4DY23W6JAVCNFSM6AAAAABFPUVQDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGMYDQMZRGA . You are receiving this because you authored the thread.Message ID: @.***>

jneilliii commented 3 months ago

Oh, that makes more sense being an offline instance. I'm only familiar with installing via pip, which does require a connection. The slicer thumbnails plugin is not the only plugin that has other external dependencies that would also require Internet access. Is there no way to temporarily connect the machine just for the install process? I'd hate to include a library in the installer that may not ever be used and just bloat the file size.

jneilliii commented 3 months ago

https://github.com/jneilliii/OctoPrint-WindowsInstaller/releases/tag/1.10.0rc3%2B

Should have pillow embedded, but is running the latest RC3 version of OctoPrint.

jneilliii commented 3 months ago

I've moved the install containing pillow to the other release to avoid some automation issues.

https://github.com/jneilliii/OctoPrint-WindowsInstaller/releases/tag/1.10.0rc3