OpenAdapt icon indicating copy to clipboard operation
OpenAdapt copied to clipboard

[Bug]: Windows SmartScreen warning

Open abrichr opened this issue 1 year ago • 2 comments

Describe the bug

image

To Reproduce

Windows 10 (UTM):

  • Download installer

abrichr avatar Oct 28 '24 19:10 abrichr

Workaround:

  1. Right-click on downloaded file
  2. Click "Keep":
image
  1. Click "Show More": image

  2. Click "Keep Anyway"

abrichr avatar Oct 28 '24 19:10 abrichr

Possibly related, on Windows 11 Pro:

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

PS C:\Users\user> cd oa
PS C:\Users\user\oa> cd .\OpenAdapt\
PS C:\Users\user\oa\OpenAdapt> poetry install
Creating virtualenv openadapt-yEkGQRTF-py3.10 in C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs
Installing dependencies from lock file

Package operations: 317 installs, 1 update, 0 removals

  - Installing mdurl (0.1.2)
  - Installing typing-extensions (4.12.2)
  - Installing annotated-types (0.7.0)
  - Installing catalogue (2.0.10): Failed

  PermissionError

  [Errno 13] Permission denied: 'C:\\Users\\user\\AppData\\Local\\pypoetry\\Cache\\cache\\repositories\\PyPI\\_http\\c\\e\\b\\2\\7\\ceb271f982ba7bc38b5fe62012845ed4c519100bd7167450fb2b0e90'

  at C:\Python310\lib\site-packages\cachecontrol\caches\file_cache.py:108 in get
      104│
      105│     def get(self, key: str) -> bytes | None:
      106│         name = self._fn(key)
      107│         try:
    → 108│             with open(name, "rb") as fh:
      109│                 return fh.read()
      110│
      111│         except FileNotFoundError:
      112│             return None

Cannot install catalogue.

  - Installing colorama (0.4.6): Failed

  PermissionError

  [Errno 13] Permission denied: 'C:\\Users\\user\\AppData\\Local\\pypoetry\\Cache\\cache\\repositories\\PyPI\\_http\\f\\1\\f\\a\\1\\f1fa10111568cf3977cbca1285a636edbe346634bc9150a243be83a6'

  at C:\Python310\lib\site-packages\cachecontrol\caches\file_cache.py:108 in get
      104│
      105│     def get(self, key: str) -> bytes | None:
      106│         name = self._fn(key)
      107│         try:
    → 108│             with open(name, "rb") as fh:
      109│                 return fh.read()
      110│
      111│         except FileNotFoundError:
      112│             return None

Cannot install colorama.

  - Installing exceptiongroup (1.2.2)
  - Installing idna (3.10)
  - Installing markdown-it-py (3.0.0)
  - Installing pycparser (2.22): Failed

  PermissionError

  [Errno 13] Permission denied: 'C:\\Users\\user\\AppData\\Local\\pypoetry\\Cache\\cache\\repositories\\PyPI\\_http\\b\\3\\6\\8\\a\\b368ad2366cf29335388a6d0c366d3ad5d990d0fe960c1677d5e51b8'

  at C:\Python310\lib\site-packages\cachecontrol\caches\file_cache.py:108 in get
      104│
      105│     def get(self, key: str) -> bytes | None:
      106│         name = self._fn(key)
      107│         try:
    → 108│             with open(name, "rb") as fh:
      109│                 return fh.read()
      110│
      111│         except FileNotFoundError:
      112│             return None

Cannot install pycparser.

  - Installing pydantic-core (2.23.4)
  - Installing pygments (2.18.0)
  - Updating setuptools (75.2.0 -> 75.3.0)
  - Installing sniffio (1.3.1): Failed

  PermissionError

  [Errno 13] Permission denied: 'C:\\Users\\user\\AppData\\Local\\pypoetry\\Cache\\cache\\repositories\\PyPI\\_http\\a\\a\\4\\6\\d\\aa46d5e73597af8efd06dfc8f5633685b2f957efb630588a50b28eef'

  at C:\Python310\lib\site-packages\cachecontrol\caches\file_cache.py:108 in get
      104│
      105│     def get(self, key: str) -> bytes | None:
      106│         name = self._fn(key)
      107│         try:
    → 108│             with open(name, "rb") as fh:
      109│                 return fh.read()
      110│
      111│         except FileNotFoundError:
      112│             return None

Cannot install sniffio.

PS C:\Users\user\oa\OpenAdapt>

(workaround: run as administrator to poetry install)

abrichr avatar Nov 08 '24 15:11 abrichr