Hi Dennis, I just take a look at your zip file. I think it is a simple fix. Download the .spec file in this email, and then use the following command:
> pyinstaller --onedir TestPyQtGraph.spec
Noticed that I use .spec instead of .py. Take a look at what I changed in
the .spec file too (datas=[("Data\\TestData_0050.csv", "Data")]). Feel free
to ask more question :).
Thanks & Regards
Anh Tran
On Fri, 14 Aug 2020 at 01:20, Dennis Jensen <[email protected]> wrote:
> Hi again -- I have done the compile with --onedir ... just in case my
> system is missing something crucial that is not getting included ... would
> you like me to zip that up and send that. Not sure if you received the MUC
> (Minimal Usable Code) I zipped and sent to you earlier. Please advise as I
> have not found any information that gives me any insights on why the script
> (exe) is failing to execute -- and running the executable from the command
> line as opposed to double clicking it gives me the same error message
>
>
> On Tue, Aug 11, 2020 at 5:34 PM Trần Anh <[email protected]> wrote:
>
>> Ok, I will look at this problem closer when I got back from work (8am
>> here in Australia).
>> In the meantime, it would be very helpful if you can compile it with
>> --onedir instead of --onefile. More importantly, I would like to see the
>> output of your app when you *run it from console, not by double click*.
>> I myself have done quite a bit of pyqtgraph and multithreading plus using
>> pyinstaller. I'm not saying that it's smooth as butter but I have never
>> occurred anything that I cannot get it to work with Pyinstaller.
>> Thanks & Regards
>> Anh Tran
>>
>>
>> On Wed, 12 Aug 2020 at 07:22, Dennis Jensen <[email protected]> wrote:
>>
>>> Well here is the installer line I run: pyinstaller --noconsole
>>> --onefile --windowed TestPyQtGraph.py
>>>
>>> I get the same results with or without the `--noconsole` reference
>>>
>>> I have attached the Spec file it creates and the warn-.txt file it
>>> creates if those will help any
>>>
>>> On Tuesday, August 11, 2020 at 4:39:41 PM UTC-5, Matt Liberty wrote:
>>>>
>>>> If you haven't already, you can try configuring PyInstaller for EXE
>>>> console=True. You can then run from a command prompt and may see some
>>>> debug information about the error.
>>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "pyqtgraph" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/pyqtgraph/J2gWS5MpoEA/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/pyqtgraph/8bca894d-e03a-4a18-85ef-2f8279f0232ao%40googlegroups.com
>>> <https://groups.google.com/d/msgid/pyqtgraph/8bca894d-e03a-4a18-85ef-2f8279f0232ao%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "pyqtgraph" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/pyqtgraph/CA%2BJyws7q-UdEbha-3_jY7KKBkHyGYtZogBascd23j-qS_Shdog%40mail.gmail.com
>> <https://groups.google.com/d/msgid/pyqtgraph/CA%2BJyws7q-UdEbha-3_jY7KKBkHyGYtZogBascd23j-qS_Shdog%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "pyqtgraph" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pyqtgraph/CAJnEJx2UXs%2B3dBL9iDDk4siQXBq%3D--mTPWTGnSTe74tAD_9VaA%40mail.gmail.com
> <https://groups.google.com/d/msgid/pyqtgraph/CAJnEJx2UXs%2B3dBL9iDDk4siQXBq%3D--mTPWTGnSTe74tAD_9VaA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyqtgraph/CA%2BJyws5wagK9Cs5A6w04sL0Eftfr49hgaQ_951-MNsJU9hb3%3DA%40mail.gmail.com.
TestPyQtGraph.spec
Description: Binary data
