TresAmigosSD / SMV

Spark Modularized View
Apache License 2.0
42 stars 22 forks source link

Error when running `smv-init` #1448

Closed jacobdr closed 5 years ago

jacobdr commented 5 years ago

Output:

$./tools/smv-init blah 

-- creating project directory
-- substituting tokens with project info
sed: RE error: illegal byte sequence
-- copying template data
-- creating python packages
-- creating library folder

The folder blah still gets created and seems to have everything I need to start a project and run the CLI tools, so need to figure out what the issue is

jacobdr commented 5 years ago

Substitution of binary file contents.... My templates .py files got converted to .pyc.

Solution is the following in smv-init:

local files="$(cd ${PROJ_DIR}; find . -type f -not -name "*.pyc")"