DTOcean / dtocean

Design and techno-economic assessment of marine renewable energy arrays
https://dtocean.github.io
GNU General Public License v3.0
4 stars 6 forks source link

Enviro Module - Incorrect CSV filename #7

Closed davidbould closed 7 years ago

davidbould commented 7 years ago

The file "chemicalpollution_weighting.csv" in "C:\dtocean\Lib\site-packages\dtocean_environment\data\operation and maintenance" is incorrectly named "chemicalpollution_weighting.csv0000666" using the DTOcean installer.

Solution: rename file.

H0R5E commented 7 years ago

Confirmed. And on the 32bit installation I produced it as well. Be interesting to narrow down where this is happening. It doesn't appear in the Ananconda package, so its either Constructor or inno setup.

H0R5E commented 7 years ago

So, this appears to be the same as the issue reported here: ContinuumIO/anaconda-issues#3264

Essentially, there is an issue when constructor is trying to unpack a file path that is exactly 100 characters long.

I think a short term fix for this will be to rename the effected folder, which should bring all the files below 100. The reference to the folder in the source code will also require modification.

H0R5E commented 7 years ago

Solved by https://github.com/DTOcean/dtocean-environment/pull/1