Hi,

I'm totally new to PyInstaller, thanks for the fantastic program! Even 
though I am a newbee, I feel I got to share a very specific Git + Windows + 
PyInstaller issue that I've been lucky to solve rapidly.

Context: I wanted to PyInstall, on Windows (i.e. to produce a win 
executable) a program I am developing on Linux.

The source of this program is on Github, so I first installed Git for 
Windows:

http://code.google.com/p/msysgit/ 

When the installer asks about the "line ending conversions", I chose 
"Checkout as-is, commit Unix-style line endings" (2nd one).

Next I git clone (1) PyInstaller (latest version) and (2) my program.

I went to compile it, but I got this error: "TypeError: ('compile() 
expected string without null bytes', ) during install"

Reading some comments about this error, I began to suspect that it might be 
related to the line endings Git option, so I went back and reinstalled it 
with the first option (Checkout Windows-style) and re-cloned my two git 
repos. And it worked..

I thought I might share this information, in the hope that it might be 
useful; really sorry if it's been already discussed elsewhere.

Christian

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pyinstaller/-/yvb1HZvbXG4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to