Skip to content

Issues with package -p zip #1881

Answered by freakboy3742
JPHutchins asked this question in Q&A
Jun 20, 2024 · 3 comments · 10 replies
Discussion options

You must be logged in to vote

Thanks for the report. I haven't seen that one before; I'm guessing the MSI installer is setting whatever flags are required as part of the installation process. I can't say I know what the workaround for this is (other than the manual unblock that you've already found).

I'm guessing the fix will be one of two things:

  1. Modifying the stub to allow for unsafe loads. It's not clear to me from the docs pages that are linked in the error message where we'd need to set that flag
  2. Modify the python.net usage of clr.AddReference() to allow an "unsafe load" of the Python and WebKit binaries.

If you're able to find a programmatic change that makes this work, I'm happy to integrate it into Briefcase.

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
2 replies
@JPHutchins
Comment options

@freakboy3742
Comment options

Answer selected by JPHutchins
Comment options

You must be logged in to vote
7 replies
@JPHutchins
Comment options

@JPHutchins
Comment options

@rmartin16
Comment options

@JPHutchins
Comment options

@rmartin16
Comment options

Comment options

You must be logged in to vote
1 reply
@rmartin16
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants