RE: [fluka-discuss]: numpy dependence during FLAIR v2.0 installation

From: Vasilis Vlachoudis <Vasilis.Vlachoudis_at_cern.ch>
Date: Tue, 18 Mar 2014 14:06:57 +0000

Hi Angelo

you could try to re-download the new version. I've modified the name of the dependency
since on ubuntu the numpy has the name python-numpy

Best Regards
Vasilis Vlachoudis
Dep EN, CERN
CH-1211 GENEVA 23
SWITZERLAND

Phone: +41-22 767 9851
GSM: +41-76 487 4378
Fax: +41-22 766 9644

________________________________
From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of Vasilis Vlachoudis [Vasilis.Vlachoudis_at_cern.ch]
Sent: 18 March 2014 12:20
To: Angelo Infantino; Fluka discussion
Subject: RE: [fluka-discuss]: numpy dependence during FLAIR v2.0 installation

Hi Angelo,

I would guess there is a missmatch on the libraries on your machine, with the version I compiled on my machine.
In this case the best is to download the .tar.gz with the source (of the geoviewer only)
and recompile it your self.
Its very easy, look on the README for the additional development libraries that
are needed.

make
make install

Best Regards
Vasilis Vlachoudis
Dep EN, CERN
CH-1211 GENEVA 23
SWITZERLAND

Phone: +41-22 767 9851
GSM: +41-76 487 4378
Fax: +41-22 766 9644

________________________________
From: Angelo Infantino [angeloinfa_at_hotmail.com]
Sent: 18 March 2014 10:38
To: Vasilis Vlachoudis; Fluka discussion
Subject: RE: [fluka-discuss]: numpy dependence during FLAIR v2.0 installation

Dear Vasilis,
I tried the apt-get install. Flair/geoviewer were installed but when I close Flair I get this error:
The geoviewer not works (he try to load the geometry but nothing appears).

Version : flair 2.0-0
Revision : 3087
Last Change : 2014-03-17 15:34:14
Platform : linux2
Python : 2.7.4 (default, Sep 26 2013, 03:20:26)
[GCC 4.7.3]
TkVersion : 8.5
TclVersion : 8.5

Traceback:
Traceback (most recent call last):
  File "/usr/local/flair/tkFlair.py", line 1210, in __call__
    return self.func(*args)
  File "/usr/local/flair/Ribbon.py", line 872, in changePage
    page.create(self)
  File "/usr/local/flair/Ribbon.py", line 332, in create
    self.refresh()
  File "/usr/local/flair/GeometryEditor.py", line 2454, in refresh
    self.show()
  File "/usr/local/flair/GeometryEditor.py", line 2474, in show
    self.loadProject()
  File "/usr/local/flair/GeometryEditor.py", line 2490, in loadProject
    self.fillRuns()
  File "/usr/local/flair/GeometryEditor.py", line 2514, in fillRuns
    self.runCombo.set(self.runCombo.get(0))
  File "/usr/local/flair/lib/tkExtra.py", line 2678, in set
    self.invoke()
  File "/usr/local/flair/lib/tkExtra.py", line 2630, in invoke
    self.command()
  File "/usr/local/flair/GeometryEditor.py", line 2524, in runChanged
    self.redraw()
  File "/usr/local/flair/GeometryEditor.py", line 4839, in redraw
    self.viewers.redraw()
  File "/usr/local/flair/GeometryViewer.py", line 5290, in redraw
    frame.redraw()
  File "/usr/local/flair/GeometryViewer.py", line 3496, in redraw
    self.layer()
  File "/usr/local/flair/GeometryViewer.py", line 3526, in layer
    self.layerCombo.set(self.activeLayer)
  File "/usr/local/flair/lib/tkExtra.py", line 2678, in set
    self.invoke()
  File "/usr/local/flair/lib/tkExtra.py", line 2630, in invoke
    self.command()
  File "/usr/local/flair/GeometryViewer.py", line 3502, in changeLayer
    self.layer()
  File "/usr/local/flair/GeometryViewer.py", line 3542, in layer
    _viewer.set("projection",0)
SyntaxError: 'projection' is not a valid type option

Traceback (most recent call last):
  File "/usr/local/flair/tkFlair.py", line 1210, in __call__
    return self.func(*args)
  File "/usr/local/flair/ProjectPage.py", line 658, in newInput
    self.openInputTemplate(basic)
  File "/usr/local/flair/ProjectPage.py", line 676, in openInputTemplate
    self.flair.openInputTemplate(template)
  File "/usr/local/flair/flair.py", line 1050, in openInputTemplate
    self.redraw()
  File "/usr/local/flair/flair.py", line 1091, in redraw
    self.tabs.redraw()
  File "/usr/local/flair/flair.py", line 416, in redraw
    page.redraw()
  File "/usr/local/flair/GeometryEditor.py", line 4839, in redraw
    self.viewers.redraw()
  File "/usr/local/flair/GeometryViewer.py", line 5290, in redraw
    frame.redraw()
  File "/usr/local/flair/GeometryViewer.py", line 3496, in redraw
    self.layer()
  File "/usr/local/flair/GeometryViewer.py", line 3542, in layer
    _viewer.set("projection",0)
SyntaxError: 'projection' is not a valid type option

Best

Angelo




________________________________
From: Vasilis.Vlachoudis_at_cern.ch
To: angeloinfa_at_hotmail.com; georgek_at_jlab.org
CC: fluka-discuss_at_fluka.org
Subject: RE: [fluka-discuss]: numpy dependence during FLAIR v2.0 installation
Date: Tue, 18 Mar 2014 07:44:48 +0000

Hi Angelo, George

the error in both of you comes from the installer.
The numpy is used for the DICOM processing and visualization.

George if flair starts then it means:
either that it finds normally the numpy: so everything functions ok and it is only an installer issue
either you have not installed the pydicom libraries: then the Dicom module is disabled therefore it doesn't require the numpy

Did you install the num using the rpm (george) or the apt-get (angelo)?
If you install it with a different way the rpm or apt-get installer will not be able to find the requirement even if the
library is there and working.

Cheers
Vasilis

________________________________
From: Angelo Infantino [angeloinfa_at_hotmail.com]
Sent: 18 March 2014 08:35
To: George Kharashvili; Vasilis Vlachoudis
Cc: Fluka discussion
Subject: RE: [fluka-discuss]: numpy dependence during FLAIR v2.0 installation

Dear Vasilis, Dear users,

I have the same problem reported by George with the installation of the .deb files (on Linux Mint).
After the installation of numpy, the dependencies error still appears and not allow the installation of the package.
Best

Angelo

> Date: Mon, 17 Mar 2014 17:09:57 -0400
> From: georgek_at_jlab.org
> To: Vasilis.Vlachoudis_at_cern.ch
> CC: fluka-discuss_at_fluka.org
> Subject: [fluka-discuss]: numpy dependence during FLAIR v2.0 installation
>
> Dear Vasilis,
>
> FLAIR v2.0 looks great!
> Many compliments to you and everyone involved in development!
>
> I would like to report about a potential problem:
> When I tried installing flair 2.0 rpm package, I got the following error message:
> error: Failed dependencies:
> numpy is needed by flair-2.0-0.x86_64
> I installed numpy-1.8.0. It seems as it got located in /root/local/lib64/python2.6/site-packages/numpy/ and /usr/lib64/python2.6/site-packages/numpy/
> However, flair rpm would still fail to install due to the same error (numpy needed).
> Then I installed it with --nodeps and everything looks good: input, geometry, run, plot tabs all seem to work just fine.
> Was the "Failed dependencies" message given by mistake, or is there possibly some functionality of flair that may not be working and I just haven't discovered it yet?
>
> Thank you!
>
> - George
>
>
>
>
> ----- Original Message -----
> From: "Vasilis Vlachoudis" <Vasilis.Vlachoudis_at_cern.ch>
> To: fluka-discuss_at_fluka.org, fluka-users_at_fluka.org
> Sent: Monday, March 17, 2014 10:50:37 AM
> Subject: [fluka-discuss]: FLAIR v2.0 Announcement
>
> Dear flair/fluka users
>
> I am happy to announce to you that "flair V2.0" has just been released on the
> web site http://www.fluka.org/flair
>
> Its a brand new version featuring a major face lift on its user interface
> focusing on usability. There are plenty of new features in this version,
> which are fully documented in the flair manual.
>
> I would appreciate if your could test the new version and provide me with
> feedback on problems, comments and suggestions in order to be improved.
>
> Best Regards
> Vasilis Vlachoudis
>
> P.S. This message is sent to the fluka-users and fluka-discuss lists as
> well as to some other lists internal to the FLUKA Collaboration. I
> apologize to all those who will get it twice or more
>
>
Received on Tue Mar 18 2014 - 16:20:03 CET

This archive was generated by hypermail 2.3.0 : Tue Mar 18 2014 - 16:20:04 CET