Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

clr throws (File is blocked (NTFS Security)) error when trying to AddReference on Mac #732

Closed
Labels
@davidguaita

Description

@davidguaita

Environment

  • Pythonnet version: 2.4.0
  • Python version: 3.5.4
  • Operating System: Mac OS Sierra 10.12.1

Details

  • Describe what you were trying to get done.

    I'm trying to add the reference of a dll to clr.
    The problem is, when trying to add the reference, it throws an error message:
    System.Exception: File is blocked (NTFS Security)
    The same dll files work with pythonnet correctly in a windows environment.
    I've sent the files to the mac from the pc via smb protocol.

  • What commands did you run to trigger this issue?

importclrclr.AddReference(r'TestLibrary.dll')
  • If there was a crash, please include the traceback here.
File"/Users/pfsteam/Desktop/XXXX/YYYY/ZZZZ/server/handler.py",line76,insimulator_handlerclr.AddReference(r'TestLibrary.dll')System.Exception:Fileisblocked (NTFSSecurity)atPython.Runtime.CLRModule.AddReference (System.Stringname) [0x00053]in<839f97acd45d4def8bcdb1c7938a79c0>:0at (wrappermanaged-to-native)System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)atSystem.Reflection.MonoMethod.Invoke (System.Objectobj,System.Reflection.BindingFlagsinvokeAttr,System.Reflection.Binderbinder,System.Object[]parameters,System.Globalization.CultureInfoculture) [0x0003b]in<2774478d59ae47bd8b8bfafb23c3364c>:0Processfinishedwithexitcode1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp