<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Vanni<div><br></div><div>I can't help with the localhost error, but for Django, it seems like you are missing PIL.</div><div>PIL is mentioned on the install pages as one of the optional Python libraries used by OMERO for various rendering tasks in the web client (E.g. split channel view in Image viewer).</div><div><a href="http://www.pythonware.com/products/pil/">http://www.pythonware.com/products/pil/</a></div><div><br></div><div>If you need any help installing PIL, let us know.&nbsp;</div><div><br></div><div>&nbsp;&nbsp;Cheers,</div><div><br></div><div>&nbsp;&nbsp;Will.&nbsp;</div><div><br></div><div><br><div><div>On 1 Dec 2010, at 12:19, Galli Vanni wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear All,<div>I've just upgraded my OMERO installation to 4.2.1, but it seems something went wrong.&nbsp;Actually, I'm not really able to understand if my installation is working correctly or not.</div><div><br></div><div><br></div><div>I can normally start the OMERO admin:</div><div><br></div><div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D30FA">omerouser@isin09 /home/OMERO/OMERO.server-Beta-4.2.1/bin&gt; ./omero admin start</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D30FA"><br></font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D30FA">Creating /home/OMERO/OMERO.server-Beta-4.2.1/var/master</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D30FA">Creating /home/OMERO/OMERO.server-Beta-4.2.1/var/registry</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D30FA">No descriptor given. Using etc/grid/default.xml</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D30FA">Waiting on startup. Use CTRL-C to exit</font></font></div></div><div><br></div><div><br></div><div>This seem to work fine (no errors on the console), but if I look at the <b>Blitz-0-log</b>&nbsp;I notice some errors:</div><div><br></div><div><div><font class="Apple-style-span" color="#2D31FA"><div><font class="Apple-style-span" face="Courier">omerouser@isin09 /home/OMERO/OMERO.server-Beta-4.2.1/var/log&gt; tail -500f Blitz-0.log&nbsp;</font></div><div><font class="Apple-style-span" face="Courier"><br></font></div><div><font class="Apple-style-span" face="Courier">2010-12-01 12:53:30,641 INFO &nbsp;[ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ome.services.blitz.Entry] ( &nbsp; &nbsp; &nbsp;main) Creating OMERO.blitz. Please wait...</font></div><div><font class="Apple-style-span" face="Courier">2010-12-01 12:53:44,756 INFO &nbsp;[ng.ShutdownSafeEhcacheManagerFactoryBean] ( &nbsp; &nbsp; &nbsp;main) Initializing EHCache CacheManager</font></div><div><font class="Apple-style-span" face="Courier">2010-12-01 12:53:44,981 ERROR [ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;net.sf.ehcache.Cache] ( &nbsp; &nbsp; &nbsp;main) Unable to set localhost. This prevents creation of a GUID. Cause was: isin09: isin09</font></div><div><font class="Apple-style-span" face="Courier">java.net.UnknownHostException: isin09: isin09</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">at java.net.InetAddress.getLocalHost(InetAddress.java:1354)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">at net.sf.ehcache.Cache.&lt;clinit&gt;(Cache.java:126)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">at net.sf.ehcache.config.ConfigurationHelper.createCache(ConfigurationHelper.java:418)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">at net.sf.ehcache.config.ConfigurationHelper.createDefaultCache(ConfigurationHelper.java:334)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">at net.sf.ehcache.CacheManager.configure(CacheManager.java:306)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">at net.sf.ehcache.CacheManager.init(CacheManager.java:226)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">at net.sf.ehcache.CacheManager.&lt;init&gt;(CacheManager.java:213)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">at org.springframework.cache.ehcache.EhCacheManagerFactoryBean.afterPropertiesSet(EhCacheManagerFactoryBean.java:115)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1400)</font></div><div><font class="Apple-style-span" color="#2D30FA"><font class="Apple-style-span" color="#2D31FA"><br></font></font></div><div><font class="Apple-style-span" color="#2D30FA"><font class="Apple-style-span" color="#2D31FA"><br></font></font></div></font></div></div><div>What is the meaning of "<b>unable to set localhost</b>"?</div><div><br></div><div><br></div><div>In any case, after this error, OMERO seems correctly working:</div><div><br></div><div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">2010-12-01 12:54:03,748 INFO &nbsp;[ &nbsp; &nbsp;ome.services.util.ServerVersionCheck] ( &nbsp; &nbsp; &nbsp;main) -------------------------------------------------</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">2010-12-01 12:54:03,748 INFO &nbsp;[ &nbsp; &nbsp;ome.services.util.ServerVersionCheck] ( &nbsp; &nbsp; &nbsp;main) OMERO Version: Beta4.2.1-r8614-Beta4.2-b41 Ready.</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">2010-12-01 12:54:03,748 INFO &nbsp;[ &nbsp; &nbsp;ome.services.util.ServerVersionCheck] ( &nbsp; &nbsp; &nbsp;main) -------------------------------------------------</font></font></div></div><div><br></div><div>I'm able to start the django server:</div><div><br></div><div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">omerouser@isin09 /home/OMERO/OMERO.server-Beta-4.2.1/bin&gt; ./omero web start</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA"><br></font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">Starting OMERO.web... Validating models...</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">0 errors found</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA"><br></font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">Django version 1.1.1, using settings 'omeroweb.settings'</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">Development server is running at <a href="http://0.0.0.0:4080/">http://0.0.0.0:4080/</a></font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">Quit the server with CONTROL-C.</font></font></div></div><div><br></div><div><br></div><div>But, as soon as a client connects, this message is printed on the console:</div><div><br></div><div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">Traceback (most recent call last):</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/servers/basehttp.py", line 279, in run</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp; &nbsp;self.result = application(self.environ, self.start_response)</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/servers/basehttp.py", line 651, in __call__</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp; &nbsp;return self.application(environ, start_response)</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/handlers/wsgi.py", line 241, in __call__</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp; &nbsp;response = self.get_response(request)</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/handlers/base.py", line 73, in get_response</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp; &nbsp;response = middleware_method(request)</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/middleware/common.py", line 56, in process_request</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp; &nbsp;if (not _is_valid_path(request.path_info) and</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/middleware/common.py", line 142, in _is_valid_path</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp; &nbsp;urlresolvers.resolve(path)</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/urlresolvers.py", line 303, in resolve</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp; &nbsp;return get_resolver(urlconf).resolve(path)</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/urlresolvers.py", line 218, in resolve</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp; &nbsp;sub_match = pattern.resolve(new_path)</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/urlresolvers.py", line 216, in resolve</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp; &nbsp;for pattern in self.url_patterns:</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/urlresolvers.py", line 245, in _get_url_patterns</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp; &nbsp;patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/urlresolvers.py", line 240, in _get_urlconf_module</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp; &nbsp;self._urlconf_module = import_module(self.urlconf_name)</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/utils/importlib.py", line 35, in import_module</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp; &nbsp;__import__(name)</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/omeroweb/webadmin/urls.py", line 30, in ?</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp; &nbsp;from omeroweb.webadmin import views</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/omeroweb/webadmin/views.py", line 71, in ?</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp; &nbsp;from webclient.webclient_gateway import OmeroWebGateway</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 36, in ?</font></font></div><div><font class="Apple-style-span" face="Courier"><font class="Apple-style-span" color="#2D31FA">&nbsp;&nbsp; &nbsp;logger.error("You need to install the Python Imaging Library. Get it at <a href="http://www.pythonware.com/products/pil/">http://www.pythonware.com/products/pil/</a>")</font></font></div></div><div><br></div><div><br></div><div><br></div><div>Can anyone help me?</div><div><br></div><div>Thank you very much for your help!</div><div><br></div><div>Best,</div><div>Vanni</div><div><br></div><div><br><div> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--&nbsp;<br>Scuola Universitaria Professionale della Svizzera Italiana<br>Dipartimento Tecnologie Innovative<br><b>Istituto Sistemi Informativi e Networking</b></div><div><b><br></b>Vanni Galli<br>Ricercatore</div><div><br>Galleria 2<br>CH - 6928 Manno<br><br></div><div>T +41 (0)58 666 65 92</div><div><a href="mailto:vanni.galli@supsi.ch">vanni.galli@supsi.ch</a><br><a href="http://www.supsi.ch/dti">www.supsi.ch/dti</a></div></div></div></div></div></div> </div> <br></div></div>_______________________________________________<br>ome-devel mailing list<br><a href="mailto:ome-devel@lists.openmicroscopy.org.uk">ome-devel@lists.openmicroscopy.org.uk</a><br>http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel<br></blockquote></div><br><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>William Moore</div><div><div>Wellcome Trust Centre for Gene Regulation &amp; Expression</div><div>College of Life Sciences</div><div>MSI/WTB/JBC Complex</div><div>University of Dundee</div><div>Dow Street</div><div>Dundee&nbsp; DD1 5EH</div><div>United Kingdom</div><div><br></div><div>Phone 01382 386364</div></div><div><a href="http://openmicroscopy.org.uk">http://openmicroscopy.org.uk</a></div></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"> </div><br></div></body></html>