Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot() after close() changes the background of the plot #154

Open
danlipsa opened this issue Mar 24, 2017 · 16 comments
Open

plot() after close() changes the background of the plot #154

danlipsa opened this issue Mar 24, 2017 · 16 comments
Milestone

Comments

@danlipsa
Copy link
Contributor

The following script results in a red background on a mac and a black background on linux.

z=vcs.init()
z.open()
z.plot(s)
z.clear()
z.close()
z.plot(s)

@doutriaux1
Copy link
Contributor

doutriaux1 commented Mar 24, 2017

@danlipsa your SHA1 (73fb094d17ccdd594a6abf9ff8732149c88dc2e6) is not building on any of my macs xcode 7 or 8

@danlipsa
Copy link
Contributor Author

@doutriaux1 What are the errors? I just built that SHA on XCode 8.1. Make sure that you don't do 'source activate ...' before you build. Conda on mac has gcc (which it should not) and that screws up the build.

@doutriaux1
Copy link
Contributor

I'm home, i was still using anaconda3
back in a few

@doutriaux1
Copy link
Contributor

@danlipsa no luck this is what i get:

Compiling /Users/doutriaux1/miniconda/conda-bld/vtk-cdat_1490374588106/work/build/Wrapping/Python/twisted/protocols/ftp.py ...
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:18:0,
                 from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h:9,
                 from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:11,
                 from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35,
                 from /Users/doutriaux1/miniconda/conda-bld/vtk-cdat_1490374588106/work/ThirdParty/freetype/vtkfreetype/src/base/ftmac.c:101,
                 from /Users/doutriaux1/miniconda/conda-bld/vtk-cdat_1490374588106/work/ThirdParty/freetype/vtkfreetype/src/base/ftbase.c:38:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h:53:1: error: initializer element is not constant
 static const CGFontIndex kCGGlyphMax = kCGFontIndexMax;
 ^

@doutriaux1
Copy link
Contributor

doutriaux1@lapetitechipie:[conda-recipes]:[master*]:[8828]> xcodebuild -version
Xcode 8.2.1
Build version 8C1002

@doutriaux1
Copy link
Contributor

changing target to 10.12 rather than 10.11 back in a bit

@doutriaux1
Copy link
Contributor

nope... same issue....

@danlipsa
Copy link
Contributor Author

If you do 'which cc' what do you get?

@doutriaux1
Copy link
Contributor

hum...
/Users/doutriaux1/miniconda/bin/cc

@doutriaux1
Copy link
Contributor

removed cc from miniconda, trying again. Thanks for the hint

@doutriaux1
Copy link
Contributor

yes! seems to be going further!! Thanks @danlipsa

@danlipsa
Copy link
Contributor Author

Glad to help 😄

@doutriaux1
Copy link
Contributor

great i will finish porting your test to the new test suite

@doutriaux1
Copy link
Contributor

any progress on circleci seg faults?

@doutriaux1
Copy link
Contributor

maybe this build will work better it has the new mac tweaks

@danlipsa
Copy link
Contributor Author

@doutriaux1 No, I could not make the lldb to show me the source code. The same problem happens on a regular mac with the VTK conda libraries - I cannot see the source code. I'll spend a little more time on it maybe I can figure something out.

@doutriaux1 doutriaux1 modified the milestone: 3.0 May 5, 2017
@doutriaux1 doutriaux1 modified the milestones: 3.0, post 3.0 Mar 29, 2018
@doutriaux1 doutriaux1 modified the milestones: 8.1, 8.2 Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants