Re: Troubles with Flair GeoViewer on Ubuntu

From: <wurth_at_ipno.in2p3.fr>
Date: Thu, 19 May 2011 08:15:47 +0200

Hello Ali and everyone.

Here is an answer from Vasilis to one of my own problems with geoviewer.
It could do the trick for you although you were not very specific in
terms of error messages.

Hope it helps and best regrads.

Sebastien.

-------- Message original --------
Sujet: RE: Problem to load geoviewer when starting flair
Date : Tue, 8 Feb 2011 09:20:08 +0000
De : Vasilis Vlachoudis<Vasilis.Vlachoudis_at_cern.ch>
Pour : Sébastien Wurth<wurth_at_ipno.in2p3.fr>

Hi Sebastien,

after compiling the geoviewer did you issue the command "make install"?
If you are using other directories for the installation, then you have to manually copy the geoviewer.so (the output from the compilation) to the same directory where flair is located.

PIL is the python-imaging and python-imaging-tk libraries. They are needed if you want to export any viewport into a bitmap graphics likes png, jpg, gif etc.. as well to import graphics and use them as background to your geometry for example a technical drawing.

If you need this functionality then you have to install the two packages, depending on your system can be
sudo yum -y install python-imaging python-imaging-tk
or
sudo apt-get install python-imaging python-imaging-tk

Cheers

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: Sébastien Wurth [wurth_at_ipno.in2p3.fr]
Sent: 08 February 2011 10:05
To: Vasilis Vlachoudis
Subject: Problem to load geoviewer when starting flair

Hello Vasilis,

I hate to bother you with such insignificant problems, but it is the
second time and it does not solve.

In short :
- No problem in installing flair
- No problem in compiling geoviewer
- Then I want to install geoviewer in another path than the default one
: I follow your procedure (in the README file), and everything is OK

=> When I start flair, I got in the output window :
"Geometry viewer not found"
"Error: no module named geoviewer"
"PIL.Image and PIL.ImageTk not found"

So is there something else to do for flair to find the path of geoviewer ?

Thank you very much.

Regards.

Sebastien.

**** previous message from Ali Koosha ********
Hi
I've installed Flair GeoViewer (*.deb files) on (various versions of)
Ubuntu. But Flair could not find the files and so GeoViewer don't work
anymore.
However I'll be glade to find the reason of this inconsistency.

Cheers

***********************

--------------090808000502050104010403
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
   <head>

     <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
   </head>
   <body text="#000000" bgcolor="#ffffff">
     <pre wrap="">**** previous message from Ali Koosha ********
Hi
I've installed Flair GeoViewer (*.deb files) on (various versions of)
Ubuntu. But Flair could not find the files and so GeoViewer don't work
anymore.
However I'll be glade to find the reason of this inconsistency.

Cheers
</pre>
     ***********************<br>
     <br>
     <br>
     Hello Ali and everyone.<br>
     <br>
     Here is an answer from Vasilis to one of my own problems with
     geoviewer. It could do the trick for you although you were not very
     specific in terms of error messages.<br>
     <br>
     Hope it helps and best regrads.<br>
     <br>
     Sebastien.<br>
     <br>
     -------- Message original --------
     <table class="moz-email-headers-table" border="0" cellpadding="0"
       cellspacing="0">
       <tbody>
         <tr>
           <th valign="BASELINE" align="RIGHT" nowrap="nowrap">Sujet:</th>
           <td>RE: Problem to load geoviewer when starting flair</td>
         </tr>
         <tr>
           <th valign="BASELINE" align="RIGHT" nowrap="nowrap">Date&nbsp;:</th>
           <td>Tue, 8 Feb 2011 09:20:08 +0000</td>
         </tr>
         <tr>
           <th valign="BASELINE" align="RIGHT" nowrap="nowrap">De&nbsp;:</th>
           <td>Vasilis Vlachoudis<a class="moz-txt-link-rfc2396E" href="mailto:Vasilis.Vlachoudis_at_cern.ch">&lt;Vasilis.Vlachoudis_at_cern.ch&gt;</a></td>
         </tr>
         <tr>
           <th valign="BASELINE" align="RIGHT" nowrap="nowrap">Pour&nbsp;:</th>
           <td>S&eacute;bastien Wurth<a class="moz-txt-link-rfc2396E" href="mailto:wurth_at_ipno.in2p3.fr">&lt;wurth_at_ipno.in2p3.fr&gt;</a></td>
         </tr>
       </tbody>
     </table>
     <br>
     <br>
     <pre>Hi Sebastien,

after compiling the geoviewer did you issue the command "make install"?
If you are using other directories for the installation, then you have to manually copy the geoviewer.so (the output from the compilation) to the same directory where flair is located.

PIL is the python-imaging and python-imaging-tk libraries. They are needed if you want to export any viewport into a bitmap graphics likes png, jpg, gif etc.. as well to import graphics and use them as background to your geometry for example a technical drawing.

If you need this functionality then you have to install the two packages, depending on your system can be
sudo yum -y install python-imaging python-imaging-tk
or
sudo apt-get install python-imaging python-imaging-tk

Cheers

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: S&eacute;bastien Wurth [<a class="moz-txt-link-abbreviated" href="mailto:wurth_at_ipno.in2p3.fr">wurth_at_ipno.in2p3.fr</a>]
Sent: 08 February 2011 10:05
To: Vasilis Vlachoudis
Subject: Problem to load geoviewer when starting flair

Hello Vasilis,

I hate to bother you with such insignificant problems, but it is the
second time and it does not solve.

In short :
- No problem in installing flair
- No problem in compiling geoviewer
- Then I want to install geoviewer in another path than the default one
: I follow your procedure (in the README file), and everything is OK

=&gt; When I start flair, I got in the output window :
"Geometry viewer not found"
"Error: no module named geoviewer"
"PIL.Image and PIL.ImageTk not found"

So is there something else to do for flair to find the path of geoviewer ?

Thank you very much.

Regards.

Sebastien.

</pre>
   </body>
</html>

--------------090808000502050104010403--
Received on Thu May 19 2011 - 09:32:07 CEST

This archive was generated by hypermail 2.2.0 : Thu May 19 2011 - 09:32:16 CEST