Pyinstaller windowed and noconsole is not working
I'm using pyinstaller 3.3.1 and python 3.6.My problem is I cant run pyinstaller script in both no-console and windowed mode. My project is a web application built using Django 1.9.
Error Log:
Error: [<class 'OSError'>, OSError(9, 'The handle is invalid', None, 6, None), <traceback object at 0x03B098A0>]
Traceback (most recent call last):
File "site-packagesdjangocorehandlersbase.py", line 149, in get_response
File "site-packagesdjangocorehandlersbase.py", line 147, in get_response
File "crumbs_tableauviews.py", line 1603, in parser
File "site-packagesdjangoshortcuts.py", line 67, in render
File "site-packagesdjangotemplateloader.py", line 96, in render_to_string
File "site-packagesdjangotemplateloader.py", line 43, in get_template
django.template.exceptions.TemplateDoesNotExist: helpers/error.html
Internal Server Error: /
Traceback (most recent call last):
File "crumbs_tableauviews.py", line 286, in parser
File "crumbs_tableauviews.py", line 248, in mac_list
File "subprocess.py", line 336, in check_output
File "subprocess.py", line 403, in run
File "subprocess.py", line 667, in __init__
File "subprocess.py", line 905, in _get_handles
File "subprocess.py", line 955, in _make_inheritable
OSError: [WinError 6] The handle is invalid
python django python-3.x pyinstaller
add a comment |
I'm using pyinstaller 3.3.1 and python 3.6.My problem is I cant run pyinstaller script in both no-console and windowed mode. My project is a web application built using Django 1.9.
Error Log:
Error: [<class 'OSError'>, OSError(9, 'The handle is invalid', None, 6, None), <traceback object at 0x03B098A0>]
Traceback (most recent call last):
File "site-packagesdjangocorehandlersbase.py", line 149, in get_response
File "site-packagesdjangocorehandlersbase.py", line 147, in get_response
File "crumbs_tableauviews.py", line 1603, in parser
File "site-packagesdjangoshortcuts.py", line 67, in render
File "site-packagesdjangotemplateloader.py", line 96, in render_to_string
File "site-packagesdjangotemplateloader.py", line 43, in get_template
django.template.exceptions.TemplateDoesNotExist: helpers/error.html
Internal Server Error: /
Traceback (most recent call last):
File "crumbs_tableauviews.py", line 286, in parser
File "crumbs_tableauviews.py", line 248, in mac_list
File "subprocess.py", line 336, in check_output
File "subprocess.py", line 403, in run
File "subprocess.py", line 667, in __init__
File "subprocess.py", line 905, in _get_handles
File "subprocess.py", line 955, in _make_inheritable
OSError: [WinError 6] The handle is invalid
python django python-3.x pyinstaller
add a comment |
I'm using pyinstaller 3.3.1 and python 3.6.My problem is I cant run pyinstaller script in both no-console and windowed mode. My project is a web application built using Django 1.9.
Error Log:
Error: [<class 'OSError'>, OSError(9, 'The handle is invalid', None, 6, None), <traceback object at 0x03B098A0>]
Traceback (most recent call last):
File "site-packagesdjangocorehandlersbase.py", line 149, in get_response
File "site-packagesdjangocorehandlersbase.py", line 147, in get_response
File "crumbs_tableauviews.py", line 1603, in parser
File "site-packagesdjangoshortcuts.py", line 67, in render
File "site-packagesdjangotemplateloader.py", line 96, in render_to_string
File "site-packagesdjangotemplateloader.py", line 43, in get_template
django.template.exceptions.TemplateDoesNotExist: helpers/error.html
Internal Server Error: /
Traceback (most recent call last):
File "crumbs_tableauviews.py", line 286, in parser
File "crumbs_tableauviews.py", line 248, in mac_list
File "subprocess.py", line 336, in check_output
File "subprocess.py", line 403, in run
File "subprocess.py", line 667, in __init__
File "subprocess.py", line 905, in _get_handles
File "subprocess.py", line 955, in _make_inheritable
OSError: [WinError 6] The handle is invalid
python django python-3.x pyinstaller
I'm using pyinstaller 3.3.1 and python 3.6.My problem is I cant run pyinstaller script in both no-console and windowed mode. My project is a web application built using Django 1.9.
Error Log:
Error: [<class 'OSError'>, OSError(9, 'The handle is invalid', None, 6, None), <traceback object at 0x03B098A0>]
Traceback (most recent call last):
File "site-packagesdjangocorehandlersbase.py", line 149, in get_response
File "site-packagesdjangocorehandlersbase.py", line 147, in get_response
File "crumbs_tableauviews.py", line 1603, in parser
File "site-packagesdjangoshortcuts.py", line 67, in render
File "site-packagesdjangotemplateloader.py", line 96, in render_to_string
File "site-packagesdjangotemplateloader.py", line 43, in get_template
django.template.exceptions.TemplateDoesNotExist: helpers/error.html
Internal Server Error: /
Traceback (most recent call last):
File "crumbs_tableauviews.py", line 286, in parser
File "crumbs_tableauviews.py", line 248, in mac_list
File "subprocess.py", line 336, in check_output
File "subprocess.py", line 403, in run
File "subprocess.py", line 667, in __init__
File "subprocess.py", line 905, in _get_handles
File "subprocess.py", line 955, in _make_inheritable
OSError: [WinError 6] The handle is invalid
python django python-3.x pyinstaller
python django python-3.x pyinstaller
asked Mar 10 at 7:41
Sanu K yadav
15814
15814
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Pyinstaller is not compatable with python 3.6 i was also getting the same issue and after some research i found that pyinstaller is only supported upto python 3.4 also your error logs is showing that
django.template.exceptions.TemplateDoesNotExist: helpers/error.html
that HTML file is missing which you have to add manually with "--add-data"
param in pyinstaller
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f49206585%2fpyinstaller-windowed-and-noconsole-is-not-working%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Pyinstaller is not compatable with python 3.6 i was also getting the same issue and after some research i found that pyinstaller is only supported upto python 3.4 also your error logs is showing that
django.template.exceptions.TemplateDoesNotExist: helpers/error.html
that HTML file is missing which you have to add manually with "--add-data"
param in pyinstaller
add a comment |
Pyinstaller is not compatable with python 3.6 i was also getting the same issue and after some research i found that pyinstaller is only supported upto python 3.4 also your error logs is showing that
django.template.exceptions.TemplateDoesNotExist: helpers/error.html
that HTML file is missing which you have to add manually with "--add-data"
param in pyinstaller
add a comment |
Pyinstaller is not compatable with python 3.6 i was also getting the same issue and after some research i found that pyinstaller is only supported upto python 3.4 also your error logs is showing that
django.template.exceptions.TemplateDoesNotExist: helpers/error.html
that HTML file is missing which you have to add manually with "--add-data"
param in pyinstaller
Pyinstaller is not compatable with python 3.6 i was also getting the same issue and after some research i found that pyinstaller is only supported upto python 3.4 also your error logs is showing that
django.template.exceptions.TemplateDoesNotExist: helpers/error.html
that HTML file is missing which you have to add manually with "--add-data"
param in pyinstaller
answered Nov 20 at 14:15
arslanmughal
23
23
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f49206585%2fpyinstaller-windowed-and-noconsole-is-not-working%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown