Page 2 of 2

Re: Beta 4.2 & web issue

PostPosted: Mon Jul 19, 2010 3:28 pm
by seb1435
Finally I've got it working ! Do not know exactly how but here what I've done:

-Erase ".java" directory from home folder
-Erase ALL ".lock-test" files from home folder

But now I'am getting when I access the Web admin :

Code: Select all
Error: Client version does not match server, please contact administrator


I think it's an error because I've built rev7585 next a "svn update" command. I'll rebuildind rev7587 from scratch I'll post here to confirm or not the error :)

Best regards,
Seb

Re: Beta 4.2 & web issue

PostPosted: Mon Jul 19, 2010 4:11 pm
by atarkowska
All seems to be set up ok. I am not sure why it happens.
I can only think of one solution now, copying both: custom_settings.py and .pyc to omero_dist/lib/python/omeroweb
This is not how we want people to do it but must work.

line 44 just exit because import failed:
Code: Select all
37   try:
38       from custom_settings import *
39   except ImportError:
40       sys.stderr.write("Error: Can't find the file 'omero/var/lib/custom_settings.py'" \
41           "It appears you haven't customized things.\nYou'll have to run 'bin/omero web settings', " \
42           "passing it your settings module.\n(If the file custom_settings.py does indeed exist, " \
43           "it's causing an ImportError somehow.)\n")
44       sys.exit(1)

Re: Beta 4.2 & web issue

PostPosted: Mon Jul 19, 2010 4:18 pm
by seb1435
Hi,

Thanks for your answer. Now, I get it working without moving custom_settings.py&pyc. I am stuck with an other problem (rev7587). When I access WebUi, I get:

Code: Select all
Error: Client version does not match server, please contact administrator


I've rebuild entirely rev7587, but still here. I've managed to get Omero 4.2.0 working doing:

seb1435 wrote:-Erase ".java" directory from home folder
-Erase ALL ".lock-test" files from home folder


Best regards,
Seb

Re: Beta 4.2 & web issue

PostPosted: Tue Jul 20, 2010 8:58 am
by atarkowska
Sorry haven't seen your next response.

If you use one package there is no conflict. The message bellow
Code: Select all
Error: Client version does not match server, please contact administrator

is also related to the wrong password. This but will be fixed in 4.2.1.

You also might want to check OMEROweb.log file is wrong.