Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
9fbbd157
Commit
9fbbd157
authored
Jan 11, 2016
by
Maxime Perrotin
Browse files
Fix detection of missing LLVM
parent
f29833c3
Changes
2
Show whitespace changes
Inline
Side-by-side
README.md
View file @
9fbbd157
...
...
@@ -141,6 +141,9 @@ The background pattern was downloaded from www.subtlepatterns.com
Changelog
=========
1.
3.8 (01/2016)
-
Fix logging when LLVM is not installed
1.
3.7 (12/2015)
-
Added icon to use Continuous Signals from the GUI
...
...
opengeode/opengeode.py
View file @
9fbbd157
...
...
@@ -117,7 +117,7 @@ except ImportError:
__all__
=
[
'opengeode'
,
'SDL_Scene'
,
'SDL_View'
,
'parse'
]
__version__
=
'1.3.
7
'
__version__
=
'1.3.
8
'
if
hasattr
(
sys
,
'frozen'
):
# Detect if we are running on Windows (py2exe-generated)
...
...
@@ -2171,7 +2171,6 @@ def init_logging(options):
# Set log level for all libraries
LOG
.
setLevel
(
level
)
try
:
modules
=
(
sdlSymbols
,
genericSymbols
,
...
...
@@ -2193,11 +2192,12 @@ def init_logging(options):
CGenerator
,
StgBackend
)
for
module
in
modules
:
module
.
LOG
.
addHandler
(
handler_console
)
module
.
LOG
.
setLevel
(
level
)
except
(
NameError
,
AttributeError
)
as
err
:
# Some modules may not be loaded (like llvm on Windows)
for
each
in
modules
:
try
:
each
.
LOG
.
addHandler
(
handler_console
)
each
.
LOG
.
setLevel
(
level
)
except
AttributeError
as
err
:
# Discard unloaded modules (e.g. if LLVM is missing on target)
LOG
.
info
(
str
(
err
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment