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

[Bug]: Windows SmartScreen warning #902

Open
abrichr opened this issue Oct 28, 2024 · 2 comments
Open

[Bug]: Windows SmartScreen warning #902

abrichr opened this issue Oct 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@abrichr
Copy link
Member

abrichr commented Oct 28, 2024

Describe the bug

image

To Reproduce

Windows 10 (UTM):

  • Download installer
@abrichr abrichr added the bug Something isn't working label Oct 28, 2024
@abrichr
Copy link
Member Author

abrichr commented Oct 28, 2024

Workaround:

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

@abrichr abrichr changed the title [Bug]: SmartScreen warning [Bug]: Windows SmartScreen warning Oct 28, 2024
@abrichr
Copy link
Member Author

abrichr commented Nov 8, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant