Comments (10)
In GitLab by @valentjn on Mar 28, 2017, 13:03
Most likely he's having some umlauts in his environment variables. (Congrats on being the first user with this :first_place:) He can check with export | grep -P "[\x80-\xFF]"
, which displays all variables with non-ASCII characters in it.
I can reproduce this if I do export BLA="täst"
before the scons
.
In the original snippet, the SCons people seem to convert unicode
strings to standard str
strings. I seem to have replaced that with that ASCII re-encoding, probably because it didn't work on my system. (See, that's how I work: Just do random stuff until it's fixed.) I just checked and all the variables of spawnEnv
are already str
s before doing anything, at least for my Ubuntu.
Maybe someone can confirm that (print type(spawnEnv[var])
before converting)? We might not need the conversion for
loop at all in this case. It seems to work just fine on my system without it.
Florian might try removing that for
loop; if it works, I'll check on Windows and if that works, I'll push a fix, probably to codingdays
.
from sgpp.
In GitLab by @krsgpp on Mar 31, 2017, 12:37
Florian told me, that he is able to compile when there are no env-vars with umlauts.
from sgpp.
In GitLab by @valentjn on Mar 31, 2017, 14:06
Excellent! But since we want that SG++ runs even on platforms with umlauts in their environment (and we want to solve bugs here and not just post workarounds), it'd be nice if someone can check if we need that conversion for
loop at all.
from sgpp.
In GitLab by @valentjn on Aug 29, 2017, 15:16
This bug seems to be current in master
. @krsgpp had problems pushing a MR since Jenkins's GitLab plugin injected his name in the environment.
from sgpp.
In GitLab by @valentjn on Aug 31, 2017, 07:49
mentioned in merge request !25
from sgpp.
In GitLab by @krsgpp on Sep 6, 2017, 12:12
Ok, I tried around and your proposed solution (removing the for loop that does the conversion) works at my system.
I suggest that I create a separate MR for this one and push it, so that the ENV is again "bad" and we can see how jenkins handles this. Ok?
from sgpp.
In GitLab by @krsgpp on Sep 6, 2017, 12:18
mentioned in merge request !26
from sgpp.
In GitLab by @krsgpp on Sep 6, 2017, 12:22
closed via commit 45b122e
from sgpp.
In GitLab by @krsgpp on Sep 6, 2017, 12:22
closed via merge request !26
from sgpp.
In GitLab by @krsgpp on Sep 15, 2017, 15:57
mentioned in commit 45b122e
from sgpp.
Related Issues (20)
- Issues Installing on Windoze HOT 4
- Travis Minimal. Job Boost Libraries Missing HOT 1
- SG++ lacks clear contributing policies
- Condense evalDx & evalDxDx for certain Bsplines
- Copyright & style (& linter?) checks for Python code
- Python 3.8 support on Windows HOT 2
- Issue With MatLab Binaries HOT 9
- error: ‘n’ not specified in enclosing ‘parallel’ HOT 4
- Better release automation with travis HOT 1
- MinGW and localtime_r HOT 3
- DataMatrix::resizeToSubMatrix off-by-two error
- DataMatrix::resizeRowsCols returns wrong matrix HOT 3
- pysgpp fails to import on linux HOT 3
- Avoiding LF/CRLF line terminations issues
- Missing extensions directory (compiling with GCC under Linux) HOT 1
- build fails on AArch64, Fedora 33
- pysgpp does not work on Windows with Python 3.8+ HOT 1
- Several compiler warnings with MSVC++ HOT 1
- Julia API HOT 2
- Compilation problem newer versions because of depreceated "distutils" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sgpp.