Opened 15 years ago

Closed 15 years ago

#140 closed defect (fixed)

"check server " in PT_SERVER_ADMIN produces "arb_who" file not found

Reported by: meierh Owned by: devel
Priority: normal Milestone:
Component: PT server Version: SVN
Keywords: Cc:

Description

"check server " in PT_SERVER_ADMIN produces "arb_who" file not found

Change History (10)

comment:1 Changed 15 years ago by meierh

the usage of "check server" in the GUI "PT_SERVER_ADMIN" does not work. It tries to call arb_who with a wrong PATH --> error message "file not found"

comment:2 Changed 15 years ago by baderk

  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 15 years ago by westram

  • Resolution fixed deleted
  • Status changed from closed to reopened

The backslash was inserted intentionally before $ARBHOME. The call to arb_who (and other calls) will possibly be executed on remote machines using ssh. In that case it needs the remote value of $ARBHOME (not the value set on the local machine as it does now).

comment:4 Changed 15 years ago by baderk

  • Owner changed from devel to baderk
  • Status changed from reopened to new

Running the check server function as described above results in my case (Ubuntu 9.04 AMD64) in a segfault. Will further observe this…

comment:5 Changed 15 years ago by westram

  • Owner changed from baderk to westram

comment:6 follow-up: Changed 15 years ago by westram

  • Owner changed from westram to devel
  • fixed internal buffer problem by [5987]
  • please test again and post "[Action:…" written to console if error still occurs

comment:7 Changed 15 years ago by westram

comment:8 in reply to: ↑ 6 ; follow-up: Changed 15 years ago by baderk

Replying to westram:

  • fixed internal buffer problem by [5987]
  • please test again and post "[Action:…" written to console if error still occurs

If no xterm package is installed (which is default in Ubuntu) an [Action:... message is displayed in the console:

[Action: '(xterm -sl 1000 -sb -geometry 140x30 -e sh -c 'LD_LIBRARY_PATH="/usr/local/lib:/home/baderk/Projekte/Arb1/src/ARB1.svn/lib:";export LD_LIBRARY_PATH; (echo Contents of directory ARBHOME/lib/pts:;echo;(cd $ARBHOME/lib/pts; ls -l);echo; echo Disk Space for PT_server files:; echo;df $ARBHOME/lib/pts;echo;echo Running ARB Programms:;($ARBHOME/bin/arb_who)  ; echo; echo Press RETURN to close Window; read a)' ) &']
sh: xterm: not found

After installing xterm, the function works in my case as intended.

comment:9 in reply to: ↑ 8 Changed 15 years ago by westram

Replying to baderk:

After installing xterm, the function works in my case as intended.

Any proposals for a useful substitution for 'xterm', working by default on different operation systems?

comment:10 Changed 15 years ago by meierh

  • Resolution set to fixed
  • Status changed from new to closed

works with SVN 5995 on Opensuse 10.3 64-bit!

as obviously no alternative is available, i added "xterm" to the list of required programs/packages in "arb_install.txt" and "arb_UBUNTU.txt" !

If somebody disagrees, please reopen the ticket.

Note: See TracTickets for help on using tickets.