Hi Rajesh, A simple thing I would try first is to try to open a different image. I'm a bit suspicious about yours given the error messages you sent. Is this from a Pilatus detector? The line "pixelsize = 0.172 mm" suggests this is so, but at the bottom below all the warnings it looks like this value is being treated as a file: "No such file: 0.172".
ADXV can be used to open Pilatus images, in CBF format, but as I remember you need a special start up script to do it. To rule out the X display stuff as the source of your problems, perhaps try opening some images that we know should work with ADXV. Harry has a set of images as part of the iMosflm tutorial that would do: http://www.ccp4.ac.uk/autostruct/testdata/mosflm/hg_images.tar, linked from http://www.mrc-lmb.cam.ac.uk/harry/imosflm/ver105/. Cheers -- David On 22 November 2011 14:13, AFL <aln...@gmail.com> wrote: > Rajesh, > > I think there is a simpler explanation to your problems but we need to go > back to the installation of adxv on your linux machine. > > How did you extract adxv binary from the *.gz file? > > I've actually learned yesterday that if you use graphic tools to extract > the binary the resulting file will not be fully functional! Windows open > but the file selection dialogue is locked and the selection pattern is 0.*. > > Use command line 'gunzip' to extract the binary. > Don't forget to 'chmod +x' on the resulting file and you should have a > working adxv. > > Andrzej > > > On 11/22/11 3:07 PM, Ian Tickle wrote: > >> Rajesh >> >> I use adxv (as well as xemacs, xdsview, imosflm, hklview, ipdisp etc) >> over ssh/Cygwin X11 from Windows XP to a Centos (like RedHat) server >> with no problems at all. >> >> I suspect your xming either just doesn't have the requisite X11 libs >> or somehow they have not gotten installed on your system. Can you try >> Cygwin/X11, it's very easy to install. >> >> Cheers >> >> -- Ian >> >> On 22 November 2011 13:49, Rajesh kumar<ccp4...@hotmail.com> wrote: >> >>> Dear Tim, >>> Yes, I have windows 7 computer and use ccp4 and phenix through >>> xming/putty >>> and I run them over linux lab computer. >>> Sorry if I have confused you all with insufficient information. >>> On the lab linux system, I installed everything you suggested in BASH >>> and >>> it works but not completely. >>> Core manager kind of not interested to look in to it and I dont know >>> much to >>> understand everything you nice people saying here. >>> So instead I used idiffdisp and it opens the image. But wanted adxv to >>> work >>> thats all. >>> Thanks >>> Raj >>> >>>> Date: Tue, 22 Nov 2011 14:41:00 +0100 >>>> From: t...@shelx.uni-ac.gwdg.de >>>> To: ccp4...@hotmail.com >>>> CC: CCP4BB@JISCMAIL.AC.UK >>>> Subject: Re: [ccp4bb] adxv >>>> >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA1 >>>> >>>> Dear Rajesh, >>>> >>>> are you saying that the computer you are sitting in front of is a >>>> windows computer? >>>> Are you sure you have been using CCP4 and phenix through an >>>> ssh-connection and not the respective windows-binaries? >>>> >>>> I am not familiar with windows and the possible existence of >>>> X11-clients, but I would think that most suggestions to you assumed that >>>> your client computer was also a linux-machine. >>>> >>>> Cheers, >>>> Tim >>>> >>>> On 11/22/2011 02:27 PM, Rajesh kumar wrote: >>>> >>>>> >>>>> I don't know if I need that installed on my windows computer >>>>> terminal.On >>>>> the server also I could run adxv. Thought of using other ccp4 >>>>> utilities. >>>>> Thanks for everyone for the help. I give up. >>>>> Regards,Rajesh >>>>> >>>>> Date: Mon, 21 Nov 2011 11:36:14 -0500 >>>>>> From: ber...@upstate.edu >>>>>> Subject: Re: [ccp4bb] adxv >>>>>> To: CCP4BB@JISCMAIL.AC.UK >>>>>> >>>>>> yum install lesstif ? >>>>>> >>>>>> but wouldn't the motif stuff be required for the X-server, i.e. your >>>>>> terminal, not for the >>>>>> server running adxv? >>>>>> >>>>>> Rajesh kumar wrote: >>>>>> >>>>>>> Dear Mark, >>>>>>> >>>>>>> $ locate XKeysymDB - didnt come with any thing suggests probably >>>>>>> openmotif lib is not >>>>>>> installed. >>>>>>> I linux server has Fedora and I am using latest version of Adxv so >>>>>>> details on the sbgrid >>>>>>> suggest its same problem. >>>>>>> >>>>>>> So how would I fix this. >>>>>>> >>>>>>> Thanks for your time. >>>>>>> >>>>>>> Regards >>>>>>> Rajesh >>>>>>> >>>>>>> >>>>>>> Date: Sun, 20 Nov 2011 23:18:32 +0000 >>>>>>>> Subject: Re: [ccp4bb] adxv >>>>>>>> From: mark.x.bro...@gmail.com >>>>>>>> To: ccp4...@hotmail.com >>>>>>>> CC: CCP4BB@jiscmail.ac.uk >>>>>>>> >>>>>>>> Dear Rajesh, >>>>>>>> Are you using the Openmotif library? If so, do you >>>>>>>> have an XKeysymDB file installed? >>>>>>>> In as shell, issue: >>>>>>>> $ locate XKeysymDB >>>>>>>> You may need to symlink it to /usr/X11R6/lib/X11/XKeysymDB if it is >>>>>>>> elsewhere [1]. >>>>>>>> I suspect you're not the only one to have seen this [2]. >>>>>>>> >>>>>>>> I hope this helps. >>>>>>>> >>>>>>>> Mark >>>>>>>> [1] >>>>>>>> >>>>>>> >>>>>>> ftp://ftp.parallelgeo.com/SPW_**Products/Linux/Current_** >>>>>>> Release/ReadMe_for_recent_**Linux_distributions.txt<ftp://ftp.parallelgeo.com/SPW_Products/Linux/Current_Release/ReadMe_for_recent_Linux_distributions.txt> >>>>>>> >>>>>>>> [2] >>>>>>>> http://sbgrid.org/news/**newsletters/2009/06<http://sbgrid.org/news/newsletters/2009/06>(search >>>>>>>> for the >>>>>>>> string "adxv") >>>>>>>> >>>>>>>> >>>>>>>> On 20 November 2011 19:45, Rajesh kumar<ccp4...@hotmail.com> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> >>>>>>>>> Dear Tim, >>>>>>>>> Thanks. Your suggestion of adding to PATH works and its not >>>>>>>>> completely functional may >>>>>>>>> >>>>>>>> be due to the Ximg/ssh or some thing to do with display. >>>>>>> >>>>>>>> All three windows opened but couldn't open any image as it didn't >>>>>>>>> display in the list >>>>>>>>> >>>>>>>> of autoload window. Pattern shows *.0. >>>>>>> >>>>>>>> >>>>>>>>> $adxv pin8_1_180.img >>>>>>>>> >>>>>>>>> (standard_in) 1: parse error >>>>>>>>> (standard_in) 1: parse error >>>>>>>>> (standard_in) 1: parse error >>>>>>>>> beam_center x = pixels , mm >>>>>>>>> beam_center y = pixels , mm >>>>>>>>> distance = mm >>>>>>>>> overload = counts >>>>>>>>> pixelsize = 0.172 mm >>>>>>>>> wavelength = Angstroem >>>>>>>>> Adxv Version 1.9.4-beta >>>>>>>>> Copyright (C) 1994-2007 by Andrew Arvai, Area Detector Systems >>>>>>>>> Corporation >>>>>>>>> Using 24-bit TrueColor visual >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfActivate >>>>>>>>> Warning: ... found while parsing ':<Key>osfActivate: >>>>>>>>> ManagerParentActivate()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfBeginLine >>>>>>>>> Warning: ... found while parsing ':<Key>osfBeginLine: >>>>>>>>> ManagerGadgetTraverseHome()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfHelp >>>>>>>>> Warning: ... found while parsing ':<Key>osfHelp: >>>>>>>>> ManagerGadgetHelp()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfActivate >>>>>>>>> Warning: ... found while parsing ':<Key>osfActivate: >>>>>>>>> ManagerParentActivate()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfActivate >>>>>>>>> Warning: ... found while parsing ':<Key>osfActivate: >>>>>>>>> PrimitiveParentActivate()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfHelp >>>>>>>>> Warning: ... found while parsing ':<Key>osfHelp: Help()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfActivate >>>>>>>>> Warning: ... found while parsing ':<Key>osfActivate: >>>>>>>>> PrimitiveParentActivate()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfCancel >>>>>>>>> Warning: ... found while parsing ':<Key>osfCancel: MenuEscape()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfSelect >>>>>>>>> Warning: ... found while parsing ':<Key>osfSelect: >>>>>>>>> ArmAndActivate()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfActivate >>>>>>>>> Warning: ... found while parsing ':<Key>osfActivate: >>>>>>>>> PrimitiveParentActivate()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: Locale not supported for XmbTextListToTextProperty >>>>>>>>> Warning: Cannot convert XmString to compound text >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfPrimaryPaste >>>>>>>>> Warning: ... found while parsing ':m >>>>>>>>> <Key>osfPrimaryPaste:cut-**primary()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfActivate >>>>>>>>> Warning: ... found while parsing ':<Key>osfActivate: >>>>>>>>> PrimitiveParentActivate()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfActivate >>>>>>>>> Warning: ... found while parsing ':<Key>osfActivate: >>>>>>>>> PrimitiveParentActivate()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfSelect >>>>>>>>> Warning: ... found while parsing ':<Key>osfSelect: >>>>>>>>> ArmAndActivate()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfPrimaryPaste >>>>>>>>> Warning: ... found while parsing ':m >>>>>>>>> <Key>osfPrimaryPaste:cut-**primary()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfSelect >>>>>>>>> Warning: ... found while parsing ':<Key>osfSelect: >>>>>>>>> ManagerGadgetSelect()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfSelect >>>>>>>>> Warning: ... found while parsing ':<Key>osfSelect: >>>>>>>>> MenuBarGadgetSelect()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfActivate >>>>>>>>> Warning: ... found while parsing ':<Key>osfActivate: >>>>>>>>> ManagerParentActivate()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfHelp >>>>>>>>> Warning: ... found while parsing ':<Key>osfHelp: MenuHelp()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfActivate >>>>>>>>> Warning: ... found while parsing ':<Key>osfActivate: >>>>>>>>> PrimitiveParentActivate()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfActivate >>>>>>>>> Warning: ... found while parsing ':<Key>osfActivate: >>>>>>>>> DrawingAreaInput() >>>>>>>>> >>>>>>>> ManagerParentActivate()' >>>>>>> >>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfUp >>>>>>>>> Warning: ... found while parsing ':<Key>osfUp: DrawingAreaInput() >>>>>>>>> >>>>>>>> ManagerGadgetTraverseUp()' >>>>>>> >>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfSelect >>>>>>>>> Warning: ... found while parsing ':<Key>osfSelect: KeySelect()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfSelect >>>>>>>>> Warning: ... found while parsing ':<Key>osfSelect: KeySelect()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfCancel >>>>>>>>> Warning: ... found while parsing '<Key>osfCancel: MenuEscape()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfBeginLine >>>>>>>>> Warning: ... found while parsing ':s c<Key>osfBeginLine: >>>>>>>>> ListBeginDataExtend()' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: translation table syntax error: Unknown keysym name: >>>>>>>>> osfBeginLine >>>>>>>>> Warning: ... found while parsing ':c<Key>osfBeginLine: >>>>>>>>> ActionGrab(SWTopLine)' >>>>>>>>> Warning: String to TranslationTable conversion encountered errors >>>>>>>>> Warning: Locale not supported for XmbTextListToTextProperty >>>>>>>>> Warning: Cannot convert XmString to compound text >>>>>>>>> Warning: Locale not supported for XmbTextListToTextProperty >>>>>>>>> Warning: Cannot convert XmString to compound text >>>>>>>>> No such file: 0.172 >>>>>>>>> >>>>>>>>> Date: Sat, 19 Nov 2011 22:27:25 +0100 >>>>>>>>>> From: t...@shelx.uni-ac.gwdg.de >>>>>>>>>> To: ccp4...@hotmail.com >>>>>>>>>> CC: CCP4BB@JISCMAIL.AC.UK >>>>>>>>>> Subject: Re: [ccp4bb] adxv >>>>>>>>>> >>>>>>>>>> -----BEGIN PGP SIGNED MESSAGE----- >>>>>>>>>> Hash: SHA1 >>>>>>>>>> >>>>>>>>>> Dear Raj, >>>>>>>>>> >>>>>>>>>> your first two error messages are because your 'current working >>>>>>>>>> directory' is not part of your bash's PATH variable. As you >>>>>>>>>> login, type >>>>>>>>>> export PATH=$PATH:/full/path/to/your/**work/adxv >>>>>>>>>> then run adxv. >>>>>>>>>> >>>>>>>>>> I am not sure whether this will prevent the last error to occur, >>>>>>>>>> but >>>>>>>>>> since you can run other graphical programs there is a fair >>>>>>>>>> chance. >>>>>>>>>> >>>>>>>>>> Cheers, >>>>>>>>>> Tim >>>>>>>>>> >>>>>>>>>> On 11/19/2011 05:53 PM, Rajesh kumar wrote: >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Dear All, >>>>>>>>>>> >>>>>>>>>>> I have connected to unix server of the lab through >>>>>>>>>>> ssh/xming/x11. I can run open >>>>>>>>>>> >>>>>>>>>> phenix and CCP4 GUI. >>>>>>> >>>>>>>> >>>>>>>>>>> I am trying to adxv to see images but I am unable to do so. >>>>>>>>>>> >>>>>>>>>>> I have got two files adxv and adxv.i686FC2 sitting in my >>>>>>>>>>> work/adxv/. >>>>>>>>>>> >>>>>>>>>>> when i run adxv in bash >>>>>>>>>>> bash: adxv: command not found >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> when i run ./adxv in bash >>>>>>>>>>> $ ./adxv /home/raj/work/wen/pin8/pin8_**1_001.img >>>>>>>>>>> (standard_in) 1: parse error >>>>>>>>>>> (standard_in) 1: parse error >>>>>>>>>>> (standard_in) 1: parse error >>>>>>>>>>> beam_center x = pixels , mm >>>>>>>>>>> beam_center y = pixels , mm >>>>>>>>>>> distance = mm >>>>>>>>>>> overload = counts >>>>>>>>>>> pixelsize = 0.172 mm >>>>>>>>>>> wavelength = Angstroem >>>>>>>>>>> >>>>>>>>>>> ./adxv: line 39: adxv.i686FC2_static: command not found >>>>>>>>>>> >>>>>>>>>>> when i do >>>>>>>>>>> $ ./adxv.i686FC2_static /home/raj/work/wen/pin8/pin8_**1_001.img >>>>>>>>>>> >>>>>>>>>>> -X11TransSocketINETConnect() cnat get address for >>>>>>>>>>> loaclhost:6011: name or service >>>>>>>>>>> >>>>>>>>>> not known >>>>>>> >>>>>>>> error: cannot open display >>>>>>>>>>> >>>>>>>>>>> I cant use Nxclient. >>>>>>>>>>> >>>>>>>>>>> Thanks >>>>>>>>>>> Raj >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> - -- >>>>>>>>>> Dr Tim Gruene >>>>>>>>>> Institut fuer anorganische Chemie >>>>>>>>>> Tammannstr. 4 >>>>>>>>>> D-37077 Goettingen >>>>>>>>>> >>>>>>>>>> >>>>> >>>> - -- >>>> - -- >>>> Dr Tim Gruene >>>> Institut fuer anorganische Chemie >>>> Tammannstr. 4 >>>> D-37077 Goettingen >>>> >>>> GPG Key ID = A46BEE1A >>>> >>>> -----BEGIN PGP SIGNATURE----- >>>> Version: GnuPG v1.4.10 (GNU/Linux) >>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >>>> >>>> iD8DBQFOy6ZnUxlJ7aRr7hoRAkD3AJ**0VRmtj8Pn6RGZAX3u/**PxKwiciQpQCg8W+U >>>> tV2tzFimkaeI8dZu0Nj1FxE= >>>> =EztH >>>> -----END PGP SIGNATURE----- >>>> >>> >>> > -- > 0660 56 54 52 2 mobile > aln...@gmail.com e-mail home > andrzej.lyskow...@gmail.com e-mail work >