-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
TypeError: gen_id() takes 2 positional arguments but 3 were given #1184
Comments
I cannot reproduce this issue. Can you put more information?
|
Installation is from python.org . Also i only encountered the problem in version cx-freeze 6.7. |
Can you put a complete traceback? |
|
Can you test for me with the previous beta versions, I believe that the bug was introduced between 6.7b1 6.7b or 6.7b3 but I release 8 betas. Test and put the traceback if necessary (see the previous comment edited). |
i tested 6.7b1,6.7b2....6.7b8(all the 6.7betas) and they all gave the same error . Traceback (most recent call last): then i tested 6.8b1 and it gave me the below error: Traceback (most recent call last): |
6.8b1 has this bug. |
I think the issue is an msilib that’s not up to date, no? It should look like this, not like This was fixed 2 years ago, see python/cpython@c8d5bf6 |
@Dennis-Asamoah What is the version of python 3.7? You should upgrade to 3.7.4 or up (3.7.9 is the last with an installer). |
Ok thanks @marcelotduarte and @Cimbali . |
I did not understand your question. Are you looking for a way to protect the installation, for example, against piracy? So to confirm the issue: What is your installed version of python 3.7? |
My python version is 3.7.2. Yes to prevent against piracy. I want the software created to run only on one single pc. Meaning after installation, is there a way to prevent the .msi from being run on other pc after the first installation on an initial pc. In other words the .msi becomes unusable after using it only once .I would be happy if you help me. |
This is off-topic. You should find some package or a method to license your program. |
I think the only thing you can do with msi is add signatures, and I don’t know how you’d do that with But that’s indeed unrelated to the bug. |
In #203 has a method |
@Cimbali and @marcelotduarte , |
Documentation updated: https://cx-freeze.readthedocs.io/en/latest/setup_script.html#cmdoption-arg-extensions |
Describe the bug
the command "python setup.py bdist_msi" gives this error "TypeError: gen_id() takes 2 positional arguments but 3 were given". However when i use python setup.py build it builds successfully
To Reproduce
in the setup.py
#########################################################
############################################
and run "python setup.py bdist_msi"
Expected behavior
an msi installer output
**Desktop Info
The text was updated successfully, but these errors were encountered: