The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

issues with Opera from command line (Centos)

Forums » Opera for Windows/Mac/Linux » Opera for *nix - Linux/FreeBSD

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

5. October 2011, 19:08:40

JeanLucOpera

Posts: 10

issues with Opera from command line (Centos)

Hi all,
I repeatedly call a shell script (make_thumb.sh) that contains this:
#!/bin/sh
# After : http://nathan.crause.name/entries/programming/linux-bash-script-to-preview-websites
SITE=$1
DESTIN=$2
TMPFILE=$3
USEDISP=$4
DISPLAY=:$USEDISP opera --nosession --fullscreen --geometry 1024x2048+0+0 &
OP3_PID=$!
sleep 15
DISPLAY=:$USEDISP opera -remote "openURL($SITE)" &
OP4_PID=$!
sleep 20
import -display :$USEDISP -window root $TMPFILE
kill -1 $OP3_PID
sleep 10
convert $TMPFILE -crop 1024x768+0+34 -resize 160 $DESTIN


It works most of the time, but after a while (from a few minutes to a few hours), I get this:
17773 0.0 % 10:35 [make_thumb.sh] <defunct> 
18246 0.0 % 10:35 /usr/lib64/opera/opera -remote openURL(http://www.some_domain.com/)

And it stays at this point forever...

When I have several users running the script, the problem appears much faster.

I also get the following messages at each execution of the script:
Failed to discover whether data is available [select]: Interrupted system call
FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.

I read somewhere that I should not worry about them, but I prefered to copy them here, just in case.

Do you have any idea on how to solve or debug the above problem ? Thanks.

Jean-Luc

Forums » Opera for Windows/Mac/Linux » Opera for *nix - Linux/FreeBSD