Problem with xcode/El Capitan update

Asked by Navin

Hi,

I recently updated El Capitan. ROOT is running fine but I am getting the following error when trying to open madanalysis5:

*************************************************************
* *
* W E L C O M E to M A D A N A L Y S I S 5 *
* ______ ______ *
* /'\_/`\/\ __ \/\ ___\ *
* /\ \ \ \_\ \ \ \__/ *
* \ \ \__\ \ \ __ \ \___``\ *
* \ \ \_/\ \ \ \/\ \/\ \_\ \ *
* \ \_\\ \_\ \_\ \_\ \____/ *
* \/_/ \/_/\/_/\/_/\/___/ *
* *
* MA5 release : 1.3 2016/03/01 *
* *
* Comput. Phys. Commun. 184 (2013) 222-256 *
* Eur. Phys. J. C74 (2014) 3103 *
* *
* The MadAnalysis Development Team - Please visit us at *
* https://launchpad.net/madanalysis5 *
* *
* Type 'help' for in-line help. *
* *
*************************************************************
Platform: Darwin 15.4.0 [MAC/OSX mode]
Reading user settings ...
Checking mandatory packages:
     - python [OK]
     - python library: numpy [OK]
     - g++ [OK]
     - GNU Make [OK]
     - Root [OK]
     - PyRoot libraries fatal error: file
      '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/set'
      modified since it was first processed
Error in <TClingCallFunc::make_wrapper>: Failed to compile
  ==== SOURCE BEGIN ====
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wformat-security"
__attribute__((used)) extern "C" void __cf_9(void* obj, int nargs, void** args, void* ret)
{
   if (ret) {
      (*(TGQuartz**)ret) = new TGQuartz(*(const char**)args[0], *(const char**)args[1]);
      return;
   }
   else {
      new TGQuartz(*(const char**)args[0], *(const char**)args[1]);
      return;
   }
}
#pragma clang diagnostic pop
  ==== SOURCE END ====
Error in <TClingCallFunc::ExecT>: Called with no wrapper, not implemented!

 *** Break *** segmentation violation
 Generating stack trace...
atos[97425]: [fatal] 'pid_for_task' failed: (os/kern) failure (5)

I am currently running xcode 7. I tried 1) uninstalling xcode7 and running xcode6.4 and 2) running both versions of xcode simultaneously with no luck. Any help with this would be greatly appreciated.

Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Benjamin Fuks (fuks) said :
#1

Hi Navin,

It looks like there are possible issues with your pyroot installation. Could you please start a fresh python shell and try to import pyroot. What is the output you get?

Cheers,

Benjamin

On 30 Mar 2016, at 01:02 , Navin <email address hidden> wrote:

> New question #289532 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/289532
>
> Hi,
>
> I recently updated El Capitan. ROOT is running fine but I am getting the following error when trying to open madanalysis5:
>
> *************************************************************
> * *
> * W E L C O M E to M A D A N A L Y S I S 5 *
> * ______ ______ *
> * /'\_/`\/\ __ \/\ ___\ *
> * /\ \ \ \_\ \ \ \__/ *
> * \ \ \__\ \ \ __ \ \___``\ *
> * \ \ \_/\ \ \ \/\ \/\ \_\ \ *
> * \ \_\\ \_\ \_\ \_\ \____/ *
> * \/_/ \/_/\/_/\/_/\/___/ *
> * *
> * MA5 release : 1.3 2016/03/01 *
> * *
> * Comput. Phys. Commun. 184 (2013) 222-256 *
> * Eur. Phys. J. C74 (2014) 3103 *
> * *
> * The MadAnalysis Development Team - Please visit us at *
> * https://launchpad.net/madanalysis5 *
> * *
> * Type 'help' for in-line help. *
> * *
> *************************************************************
> Platform: Darwin 15.4.0 [MAC/OSX mode]
> Reading user settings ...
> Checking mandatory packages:
> - python [OK]
> - python library: numpy [OK]
> - g++ [OK]
> - GNU Make [OK]
> - Root [OK]
> - PyRoot libraries fatal error: file
> '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/set'
> modified since it was first processed
> Error in <TClingCallFunc::make_wrapper>: Failed to compile
> ==== SOURCE BEGIN ====
> #pragma clang diagnostic push
> #pragma clang diagnostic ignored "-Wformat-security"
> __attribute__((used)) extern "C" void __cf_9(void* obj, int nargs, void** args, void* ret)
> {
> if (ret) {
> (*(TGQuartz**)ret) = new TGQuartz(*(const char**)args[0], *(const char**)args[1]);
> return;
> }
> else {
> new TGQuartz(*(const char**)args[0], *(const char**)args[1]);
> return;
> }
> }
> #pragma clang diagnostic pop
> ==== SOURCE END ====
> Error in <TClingCallFunc::ExecT>: Called with no wrapper, not implemented!
>
> *** Break *** segmentation violation
> Generating stack trace...
> atos[97425]: [fatal] 'pid_for_task' failed: (os/kern) failure (5)
>
>
>
> I am currently running xcode 7. I tried 1) uninstalling xcode7 and running xcode6.4 and 2) running both versions of xcode simultaneously with no luck. Any help with this would be greatly appreciated.
>
> Thanks!
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Navin (navinmcginnis) said :
#2

Hi Benjamin,

This is the output I get:

Python 2.7.11 (default, Jan 22 2016, 08:29:18)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ROOT
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named ROOT
>>>

Thanks,
Navin

Revision history for this message
Navin (navinmcginnis) said :
#3

Also, as a note, I have root6 installed via homebrew.

Revision history for this message
Benjamin Fuks (fuks) said :
#4

Hi,

That means that either pyroot is not installed, or the environment variables are not correctly setup. In any cases, I would recommend installing root from source.

Cheers,

Benjamin

On 30 Mar 2016, at 14:47 , Navin <email address hidden> wrote:

> Question #289532 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/289532
>
> Navin posted a new comment:
> Hi Benjamin,
>
> This is the output I get:
>
> Python 2.7.11 (default, Jan 22 2016, 08:29:18)
> [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import ROOT
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named ROOT
>>>>
>
> Thanks,
> Navin
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
SUBHASISH BEHERA (subhparasara) said :
#5

Dear Navin,
      I think you have to set the following in your " .bashrc " file which can be open from Home folder by typing :
                              vi .bashrc
Now write the following :

# Root path and libraries:

source <PATH TO ROOT FOLDER>/bin/thisroot.sh

export ROOTSYS=<PATH TO ROOT FOLDER>
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH

then type this in the terminal :
:wq
source .bashrc

Now close all terminals and run ma5 in normal mode for all library installation. Hope will work...

P.S. : Benjamin can correct if I don't understand the problem .

Thanks,

Subhasish

Revision history for this message
Benjamin Fuks (fuks) said :
#6

Hi Subhasish,

This could help but I am not sure (let's wait for Navin's answer). I am never confident with automated root installation, and I prefer to always recommend an installation from source in the case of problems.

Cheers,

Benj

On 05 Apr 2016, at 08:52 , SUBHASISH BEHERA <email address hidden> wrote:

> Question #289532 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/289532
>
> SUBHASISH BEHERA proposed the following answer:
> Dear Navin,
> I think you have to set the following in your " .bashrc " file which can be open from Home folder by typing :
> vi .bashrc
> Now write the following :
>
> # Root path and libraries:
>
> source <PATH TO ROOT FOLDER>/bin/thisroot.sh
>
> export ROOTSYS=<PATH TO ROOT FOLDER>
> export PATH=$ROOTSYS/bin:$PATH
> export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
>
>
> then type this in the terminal :
> :wq
> source .bashrc
>
>
> Now close all terminals and run ma5 in normal mode for all library installation. Hope will work...
>
> P.S. : Benjamin can correct if I don't understand the problem .
>
>
> Thanks,
>
> Subhasish
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
SUBHASISH BEHERA (subhparasara) said :
#7

Dear Benj,
        Yes you have to install Root from Source file but after that you have to set the address in the ".bashrc" file to access the Library of installed Root. This is mandatory to do. otherwise other programs who are using Root Library mayn't access this, if you have installed Root Locally. Or there may be some alternative...

Thanks,

Subhasish

Revision history for this message
SUBHASISH BEHERA (subhparasara) said :
#8

Okk, I think you are confuse with this : "source .bashrc" ? This is the statement for setting the Root library address , not installation !!!

Revision history for this message
Benjamin Fuks (fuks) said :
#9

Hi,

That's correct. We have two possible issues here: one is related to the installation and another is related to the settings of the environment variables. It is not clear for the moment which one is the real problem (maybe both).

Cheers,

Benjamin

On 05 Apr 2016, at 09:43 , SUBHASISH BEHERA <email address hidden> wrote:

> Question #289532 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/289532
>
> SUBHASISH BEHERA proposed the following answer:
> Okk, I think you are confuse with this : "source .bashrc" ? This is the
> statement for setting the Root library address , not installation !!!
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Oliver Fischer (oliver-fischer) said :
#10

Hi Benj,

sorry to bother you with this problem, it seems similar to the one above from Navin;
I am also on El Capitan and cannot get pyroot to work properly.
Root was installed fresh from source, the environment variables are set as outlined above and in the manual.
I can run root and python, and "import ROOT" in the latter without error messages.

Nevertheless, madanalysis5 cannot install the PyRoot libraries with the following non conclusive error message:
- PyRoot libraries [FAILURE]
 ** ERROR: 'root-config --libdir' indicates a wrong path for ROOT libraries. Please specify the ROOT library path into the environnement variable $PYTHONPATH

Mind, that my python path is set appropriately, at least as far as I can tell.
Any ideas?

(Sorry if this is the wrong please for this question, feel free to move it around.)
Cheers and thanks!
Oli

Revision history for this message
Benjamin Fuks (fuks) said :
#11

Hi Oliver,

Can you type
 root-config --libdir
and verify that the output is consistent with the location of your root libraries? If not, can you execute the thisroot.sh script before and retry?

Cheers,

Benjamin

On 03 May 2016, at 01:52 , Oliver Fischer <email address hidden> wrote:

> Question #289532 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/289532
>
> Oliver Fischer requested more information:
> Hi Benj,
>
> sorry to bother you with this problem, it seems similar to the one above from Navin;
> I am also on El Capitan and cannot get pyroot to work properly.
> Root was installed fresh from source, the environment variables are set as outlined above and in the manual.
> I can run root and python, and "import ROOT" in the latter without error messages.
>
> Nevertheless, madanalysis5 cannot install the PyRoot libraries with the following non conclusive error message:
> - PyRoot libraries [FAILURE]
> ** ERROR: 'root-config --libdir' indicates a wrong path for ROOT libraries. Please specify the ROOT library path into the environnement variable $PYTHONPATH
>
> Mind, that my python path is set appropriately, at least as far as I can tell.
> Any ideas?
>
> (Sorry if this is the wrong please for this question, feel free to move it around.)
> Cheers and thanks!
> Oli
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Oliver Fischer (oliver-fischer) said :
#12

Hi Benj,

thanks for your help. The "root-config --libdir" command results in the right root library path.

Cheers,
Oliver.

Revision history for this message
Benjamin Fuks (fuks) said :
#13

Hi Oliver,

Interesting. Can you open a python shell and type:
  from ROOT import gROOT
Does it work? If not, this may mean that pyroot has not been correctly installed.

Cheers,

Benjamin

On 05 May 2016, at 04:13 , Oliver Fischer <email address hidden> wrote:

> Question #289532 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/289532
>
> Oliver Fischer posted a new comment:
> Hi Benj,
>
> thanks for your help. The "root-config --libdir" command results in the
> right root library path.
>
> Cheers,
> Oliver.
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Benjamin Fuks (fuks) said :
#14

Hi Oliver,

Interesting. Can you open a python shell and type:
  from ROOT import gROOT
Does it work? If not, this may mean that pyroot has not been correctly installed.

Cheers,

Benjamin

On 05 May 2016, at 04:13 , Oliver Fischer <email address hidden> wrote:

> Question #289532 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/289532
>
> Oliver Fischer posted a new comment:
> Hi Benj,
>
> thanks for your help. The "root-config --libdir" command results in the
> right root library path.
>
> Cheers,
> Oliver.
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Oliver Fischer (oliver-fischer) said :
#15

I am unsure if it works. I can open python and type in the command, without feedback:

Olivers-MacBook-Pro:~ oliver$ python
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 12:54:16)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from ROOT import gROOT
>>>

Is that what you would expect for a working installation?

Revision history for this message
Benjamin Fuks (fuks) said :
#16

Hi Oliver,

I am expecting no error message which is what you get, isn't it?

Cheers,

Benj

On 05 May 2016, at 08:13 , Oliver Fischer <email address hidden> wrote:

> Question #289532 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/289532
>
> Oliver Fischer posted a new comment:
> I am unsure if it works. I can open python and type in the command,
> without feedback:
>
> Olivers-MacBook-Pro:~ oliver$ python
> Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 12:54:16)
> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from ROOT import gROOT
>>>>
>
> Is that what you would expect for a working installation?
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Oliver Fischer (oliver-fischer) said :
#17

You are right, I do not get any error message.
I copy-pasted the terminal output as it appears.

Cheers,
Oli.

Revision history for this message
Benjamin Fuks (fuks) said :
#18

Hi Oli,

That's weird. Can you please dump the screen output when you start ma5 in the debug mode (with the --debug flag).

Cheers,

Benj

On 05 May 2016, at 12:13 , Oliver Fischer <email address hidden> wrote:

> Question #289532 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/289532
>
> Oliver Fischer posted a new comment:
> You are right, I do not get any error message.
> I copy-pasted the terminal output as it appears.
>
> Cheers,
> Oli.
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Oliver Fischer (oliver-fischer) said :
#19

There you go:

*************************************************************
* *
* W E L C O M E to M A D A N A L Y S I S 5 *
* ______ ______ *
* /'\_/`\/\ __ \/\ ___\ *
* /\ \ \ \_\ \ \ \__/ *
* \ \ \__\ \ \ __ \ \___``\ *
* \ \ \_/\ \ \ \/\ \/\ \_\ \ *
* \ \_\\ \_\ \_\ \_\ \____/ *
* \/_/ \/_/\/_/\/_/\/___/ *
* *
* MA5 release : 1.3 2016/03/01 *
* *
* Comput. Phys. Commun. 184 (2013) 222-256 *
* Eur. Phys. J. C74 (2014) 3103 *
* *
* The MadAnalysis Development Team - Please visit us at *
* https://launchpad.net/madanalysis5 *
* *
* Type 'help' for in-line help. *
* *
*************************************************************
 ** DEBUG:
 ** DEBUG: DEBUG MODE ACTIVATED
 ** DEBUG:
 ** DEBUG:
 ** DEBUG: Machine - Cross platform information
 ** DEBUG: Machine type: x86_64
 ** DEBUG: Processor name: i386
 ** DEBUG: Platform: Darwin-15.3.0-x86_64-i386-64bit
 ** DEBUG: Platform release: 15.3.0
 ** DEBUG: System: Darwin
 ** DEBUG: Node: Olivers-MacBook-Pro.local
 ** DEBUG: Number of cores: 8
 ** DEBUG:
 ** DEBUG: Machine - OS-specific information
 ** DEBUG: Java version: ('', '', ('', '', ''), ('', '', ''))
 ** DEBUG: Windows version: ('', '', '', '')
 ** DEBUG: Mac Os version: ('10.11.3', ('', '', ''), 'x86_64')
 ** DEBUG: Unix distribution: Darwin-15.3.0-x86_64-i386-64bit
 ** DEBUG:
Reading user settings ...
 ** DEBUG: Opening the file: /Users/oliver/Work/madanalysis5/madanalysis/input/installation_options.dat
 ** DEBUG: Lines to interpret:
 ** DEBUG: Closing the file: /Users/oliver/Work/madanalysis5/madanalysis/input/installation_options.dat
 ** DEBUG:
 ** DEBUG: User
 ** DEBUG: User name: oliver
 ** DEBUG: User ID: 501
 ** DEBUG: Expanding folder ~/: /Users/oliver/
 ** DEBUG: Variable $USER: oliver
 ** DEBUG: Variable $USERNAME:
 ** DEBUG: Variable $LNAME:
 ** DEBUG: Variable $LOGNAME: oliver
 ** DEBUG: Variable $HOME: /Users/oliver
 ** DEBUG: Variable $HOMEDRIVE:
 ** DEBUG: Variable $posix:
 ** DEBUG: Variable $HOMEPATH:
 ** DEBUG:
 ** DEBUG: Web access
 ** DEBUG: enable
 ** DEBUG:
 ** DEBUG: Temporary folder
 ** DEBUG: Variable $TMPDIR: /var/folders/l7/321hsfl9587590z37ddlvldw0000gn/T/
 ** DEBUG: Check if the folder /var/folders/l7/321hsfl9587590z37ddlvldw0000gn/T exists ...
 ** DEBUG: -> found
 ** DEBUG: Variable $TMP:
 ** DEBUG: Variable $TEMP:
 ** DEBUG: temporary folder will be used for MA5: /var/folders/l7/321hsfl9587590z37ddlvldw0000gn/T
 ** DEBUG:
 ** DEBUG: Download dir
 ** DEBUG: Check if the folder /var/folders/l7/321hsfl9587590z37ddlvldw0000gn/T/MA5_downloads exists ...
 ** DEBUG: -> found
 ** DEBUG: download folder will be used for MA5: /var/folders/l7/321hsfl9587590z37ddlvldw0000gn/T/MA5_downloads
 ** DEBUG:
 ** DEBUG: Text editor
 ** DEBUG: Look for the global variable $EDITOR ...
 ** DEBUG: -> variable not found. VI editor is set by default.
 ** DEBUG:
Checking mandatory packages:
 ** DEBUG:
 ** DEBUG: Python release: 2.7.11
 ** DEBUG: Python build: ('v2.7.11:6d1b6a68f775', 'Dec 5 2015 12:54:16')
 ** DEBUG: Python compiler: GCC 4.2.1 (Apple Inc. build 5666) (dot 3)
 ** DEBUG: Python prefix: /Library/Frameworks/Python.framework/Versions/2.7
 ** DEBUG: Python executable used: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
 ** DEBUG: which: /usr/local/bin/python
 ** DEBUG: which-all:
 ** DEBUG: - /usr/local/bin/python
 ** DEBUG: - /usr/bin/python
 ** DEBUG: Python internal paths:
 ** DEBUG: - /Users/oliver/Work/madanalysis5/tools/ReportGenerator/Services
 ** DEBUG: - /Users/oliver/Work/madanalysis5
 ** DEBUG: - /Users/oliver/Work/madanalysis5/bin
 ** DEBUG: - /opt/local/root/lib
 ** DEBUG: - /Users/oliver/Downloads/numpy-1.11.0
 ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
 ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
 ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
 ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
 ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
 ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old
 ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
 ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
 ** DEBUG: - /Library/Python/2.7/site-packages
 ** DEBUG: $PYTHONPATH:
 ** DEBUG: - /opt/local/root/lib
 ** DEBUG: - /Users/oliver/Downloads/numpy-1.11.0
 ** DEBUG:
 ** DEBUG:
 ** DEBUG: which: /usr/bin/g++
 ** DEBUG: which-all:
 ** DEBUG: - /usr/bin/g++
 ** DEBUG: version: 4.2.1
 ** DEBUG:
 ** DEBUG: which: /usr/bin/make
 ** DEBUG: which-all:
 ** DEBUG: - /usr/bin/make
 ** DEBUG: version: GNU Make 3.81
 ** DEBUG:
 ** DEBUG:
 ** DEBUG: which: /opt/local/root/bin
 ** DEBUG: which-all:
 ** DEBUG: - /opt/local/root/bin/root-config
 ** DEBUG: Try to detect root-config ...
 ** DEBUG: -> root-config found
 ** DEBUG: -> root header folder: /opt/local/root/include
 ** DEBUG: -> root library folder: /opt/local/root/lib
 ** DEBUG: Try to find /opt/local/root/lib/libCore.so ...
 ** DEBUG: Try to find /opt/local/root/include/TH1F.h ...
 ** DEBUG: features: ['asimage', 'astiff', 'bonjour', 'builtin_afterimage', 'builtin_freetype', 'builtin_ftgl', 'builtin_glew', 'builtin_llvm', 'builtin_pcre', 'cocoa', 'explicitlink', 'fink', 'genvector', 'krb5', 'ldap', 'libcxx', 'memstat', 'opengl', 'python', 'rpath', 'search_usrlocal', 'shared', 'sqlite', 'thread', 'tmva', 'vdt', 'xml']
 ** DEBUG:
 ** DEBUG: Try to find /opt/local/root/lib/libPyROOT.so ...
 ** DEBUG: Try to find /opt/local/root/lib/ROOT.py ...
 ** DEBUG: Try to import the gROOT module ...
 ** ERROR: 'root-config --libdir' indicates a wrong path for ROOT libraries. Please specify the ROOT library path into the environnement variable $PYTHONPATH

Revision history for this message
Benjamin Fuks (fuks) said :
#20

Hi Oli,

Have you checked the paths at the end of the logfile? Are they correct? If yes, maybe should we discuss over skype because I need you to perform dedicated tests (I cannot reproduce the issue on my machine).

Cheers,

Benj

On 05 May 2016, at 23:08 , Oliver Fischer <email address hidden> wrote:

> Question #289532 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/289532
>
> Oliver Fischer posted a new comment:
> There you go:
>
> *************************************************************
> * *
> * W E L C O M E to M A D A N A L Y S I S 5 *
> * ______ ______ *
> * /'\_/`\/\ __ \/\ ___\ *
> * /\ \ \ \_\ \ \ \__/ *
> * \ \ \__\ \ \ __ \ \___``\ *
> * \ \ \_/\ \ \ \/\ \/\ \_\ \ *
> * \ \_\\ \_\ \_\ \_\ \____/ *
> * \/_/ \/_/\/_/\/_/\/___/ *
> * *
> * MA5 release : 1.3 2016/03/01 *
> * *
> * Comput. Phys. Commun. 184 (2013) 222-256 *
> * Eur. Phys. J. C74 (2014) 3103 *
> * *
> * The MadAnalysis Development Team - Please visit us at *
> * https://launchpad.net/madanalysis5 *
> * *
> * Type 'help' for in-line help. *
> * *
> *************************************************************
> ** DEBUG:
> ** DEBUG: DEBUG MODE ACTIVATED
> ** DEBUG:
> ** DEBUG:
> ** DEBUG: Machine - Cross platform information
> ** DEBUG: Machine type: x86_64
> ** DEBUG: Processor name: i386
> ** DEBUG: Platform: Darwin-15.3.0-x86_64-i386-64bit
> ** DEBUG: Platform release: 15.3.0
> ** DEBUG: System: Darwin
> ** DEBUG: Node: Olivers-MacBook-Pro.local
> ** DEBUG: Number of cores: 8
> ** DEBUG:
> ** DEBUG: Machine - OS-specific information
> ** DEBUG: Java version: ('', '', ('', '', ''), ('', '', ''))
> ** DEBUG: Windows version: ('', '', '', '')
> ** DEBUG: Mac Os version: ('10.11.3', ('', '', ''), 'x86_64')
> ** DEBUG: Unix distribution: Darwin-15.3.0-x86_64-i386-64bit
> ** DEBUG:
> Reading user settings ...
> ** DEBUG: Opening the file: /Users/oliver/Work/madanalysis5/madanalysis/input/installation_options.dat
> ** DEBUG: Lines to interpret:
> ** DEBUG: Closing the file: /Users/oliver/Work/madanalysis5/madanalysis/input/installation_options.dat
> ** DEBUG:
> ** DEBUG: User
> ** DEBUG: User name: oliver
> ** DEBUG: User ID: 501
> ** DEBUG: Expanding folder ~/: /Users/oliver/
> ** DEBUG: Variable $USER: oliver
> ** DEBUG: Variable $USERNAME:
> ** DEBUG: Variable $LNAME:
> ** DEBUG: Variable $LOGNAME: oliver
> ** DEBUG: Variable $HOME: /Users/oliver
> ** DEBUG: Variable $HOMEDRIVE:
> ** DEBUG: Variable $posix:
> ** DEBUG: Variable $HOMEPATH:
> ** DEBUG:
> ** DEBUG: Web access
> ** DEBUG: enable
> ** DEBUG:
> ** DEBUG: Temporary folder
> ** DEBUG: Variable $TMPDIR: /var/folders/l7/321hsfl9587590z37ddlvldw0000gn/T/
> ** DEBUG: Check if the folder /var/folders/l7/321hsfl9587590z37ddlvldw0000gn/T exists ...
> ** DEBUG: -> found
> ** DEBUG: Variable $TMP:
> ** DEBUG: Variable $TEMP:
> ** DEBUG: temporary folder will be used for MA5: /var/folders/l7/321hsfl9587590z37ddlvldw0000gn/T
> ** DEBUG:
> ** DEBUG: Download dir
> ** DEBUG: Check if the folder /var/folders/l7/321hsfl9587590z37ddlvldw0000gn/T/MA5_downloads exists ...
> ** DEBUG: -> found
> ** DEBUG: download folder will be used for MA5: /var/folders/l7/321hsfl9587590z37ddlvldw0000gn/T/MA5_downloads
> ** DEBUG:
> ** DEBUG: Text editor
> ** DEBUG: Look for the global variable $EDITOR ...
> ** DEBUG: -> variable not found. VI editor is set by default.
> ** DEBUG:
> Checking mandatory packages:
> ** DEBUG:
> ** DEBUG: Python release: 2.7.11
> ** DEBUG: Python build: ('v2.7.11:6d1b6a68f775', 'Dec 5 2015 12:54:16')
> ** DEBUG: Python compiler: GCC 4.2.1 (Apple Inc. build 5666) (dot 3)
> ** DEBUG: Python prefix: /Library/Frameworks/Python.framework/Versions/2.7
> ** DEBUG: Python executable used: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
> ** DEBUG: which: /usr/local/bin/python
> ** DEBUG: which-all:
> ** DEBUG: - /usr/local/bin/python
> ** DEBUG: - /usr/bin/python
> ** DEBUG: Python internal paths:
> ** DEBUG: - /Users/oliver/Work/madanalysis5/tools/ReportGenerator/Services
> ** DEBUG: - /Users/oliver/Work/madanalysis5
> ** DEBUG: - /Users/oliver/Work/madanalysis5/bin
> ** DEBUG: - /opt/local/root/lib
> ** DEBUG: - /Users/oliver/Downloads/numpy-1.11.0
> ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
> ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
> ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
> ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
> ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
> ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old
> ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
> ** DEBUG: - /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
> ** DEBUG: - /Library/Python/2.7/site-packages
> ** DEBUG: $PYTHONPATH:
> ** DEBUG: - /opt/local/root/lib
> ** DEBUG: - /Users/oliver/Downloads/numpy-1.11.0
> ** DEBUG:
> ** DEBUG:
> ** DEBUG: which: /usr/bin/g++
> ** DEBUG: which-all:
> ** DEBUG: - /usr/bin/g++
> ** DEBUG: version: 4.2.1
> ** DEBUG:
> ** DEBUG: which: /usr/bin/make
> ** DEBUG: which-all:
> ** DEBUG: - /usr/bin/make
> ** DEBUG: version: GNU Make 3.81
> ** DEBUG:
> ** DEBUG:
> ** DEBUG: which: /opt/local/root/bin
> ** DEBUG: which-all:
> ** DEBUG: - /opt/local/root/bin/root-config
> ** DEBUG: Try to detect root-config ...
> ** DEBUG: -> root-config found
> ** DEBUG: -> root header folder: /opt/local/root/include
> ** DEBUG: -> root library folder: /opt/local/root/lib
> ** DEBUG: Try to find /opt/local/root/lib/libCore.so ...
> ** DEBUG: Try to find /opt/local/root/include/TH1F.h ...
> ** DEBUG: features: ['asimage', 'astiff', 'bonjour', 'builtin_afterimage', 'builtin_freetype', 'builtin_ftgl', 'builtin_glew', 'builtin_llvm', 'builtin_pcre', 'cocoa', 'explicitlink', 'fink', 'genvector', 'krb5', 'ldap', 'libcxx', 'memstat', 'opengl', 'python', 'rpath', 'search_usrlocal', 'shared', 'sqlite', 'thread', 'tmva', 'vdt', 'xml']
> ** DEBUG:
> ** DEBUG: Try to find /opt/local/root/lib/libPyROOT.so ...
> ** DEBUG: Try to find /opt/local/root/lib/ROOT.py ...
> ** DEBUG: Try to import the gROOT module ...
> ** ERROR: 'root-config --libdir' indicates a wrong path for ROOT libraries. Please specify the ROOT library path into the environnement variable $PYTHONPATH
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Oliver Fischer (oliver-fischer) said :
#21

The paths are correct.

Can you help with this problem?

Provide an answer of your own, or ask Navin for more information if necessary.

To post a message you must log in.