When I run pyinstaller --onefile --add-data.wavFiles;wavFiles myscript.py 
(or the same with --onedir) I get this message: "--add-data: invalid 
add-data_or_binary_value:'wavFiles:wavFiles."  This leaves me mystified.

I read   
http://pyinstaller.readthedocs.io/en/stable/runtime-information.html
but couldn't find anything helpful that I coul understand.

Thanks,

Owen Walker

On Friday, March 10, 2017 at 11:20:51 AM UTC-5, davecortesi wrote:

>
> > "pyinstaller --onefile --add-data.wavFiles;wavFiles myscript.py",which 
> fails.
>
> Fails how? When you bundle --onefile it is hard to know what is included 
> because the bundle is unpacked into a temp folder at execution. What was 
> bundled and then unpacked? If you are going by the behavior of the program, 
> e.g. it says it can't find its WAV files, then it could be that the files 
> were included, but the program does not look for them correctly. Have you 
> reviewed this section?
>
>     http://pyinstaller.readthedocs.io/en/stable/runtime-information.html
>
> Suggest you try the --onedir option instead, and poke around in the 
> dist/myscript folder to see what actually got bundled. Also review the log 
> or warnings file in build/myscript/
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to