run-mozilla.sh: not found

Bug #155505 reported by PerJensen
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kompozer (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: kompozer

Installed kompozer on fully updated Gutsy (upgraded from Dapper,Edgy,Feisty).

When starting the application it prints an errormessage about missing file: "run-mozilla.sh"

pj@nazgul:~$ sudo aptitude install kompozer
Indlæser pakkelisterne... Færdig
Opbygger afhængighedstræ
Reading state information... Færdig
Læser information om udvidet tilstand
klargører pakketilstande... Færdig
Opbygger database over mærkater... Færdig
Følgende NYE pakker vil blive installeret:
  kompozer
0 pakker opgraderet, 1 nyinstalleret, 0 til afinstallering og 0 ikke opgraderet.
Skal hente 8715kB arkiver. Efter udpakning vil 26,8MB blive brugt.
Skriver information om udvidet tilstand... Færdig
Hent:1 http://dk.archive.ubuntu.com gutsy/universe kompozer 0.7.10-0ubuntu1 [8715kB]
Hentede 8715kB på 24s (350kB/s)
Vælger tidligere fravalgt pakke kompozer.
(Læser database... 222217 filer og mapper aktuelt installeret.)
Udpakker kompozer (fra .../kompozer_0.7.10-0ubuntu1_i386.deb)...
Sætter kompozer (0.7.10-0ubuntu1) op...
Indlæser pakkelisterne... Færdig
Opbygger afhængighedstræ
Reading state information... Færdig
Læser information om udvidet tilstand
klargører pakketilstande... Færdig
Skriver information om udvidet tilstand... Færdig
Opbygger database over mærkater... Færdig
pj@nazgul:~$ kompozer
exec: 121: /usr/lib/mozilla-firefox//run-mozilla.sh: not found

/usr/lib/mozilla-firefox is not found on this system.

but

/usr/lib/firefox/ is

creating symlink:
sudo mkdir /usr/lib/mozilla-firefox
sudo ln -s /usr/lib/firefox/run-mozilla.sh /usr/lib/mozilla-firefox/run-mozilla.sh

and then running 'kompozer' gives:

pj@nazgul:~$ kompozer
run-mozilla.sh: Cannot execute /usr/lib/mozilla-firefox//kompozer-bin

pj@nazgul:~$ ls -l /usr/lib/mozilla-firefox//kompozer-bin
ls: /usr/lib/mozilla-firefox//kompozer-bin: No such file or directory

Related branches

Revision history for this message
Tony Yarusso (tonyyarusso) wrote :

I am unable to reproduce this. Could you please give the output of 'apt-cache policy kompozer', try purging and re-installing it, and perhaps try installing the package from a different mirror?

On my system the run-mozilla.sh script is located at /usr/lib/kompozer/run-mozilla.sh, not where you describe it.

Revision history for this message
PerJensen (per-net-es) wrote :

1.
With regards to run-mozilla.sh the line
"exec: 121: /usr/lib/mozilla-firefox//run-mozilla.sh: not found" is actual output from kompozer when I start the application.

2.
Here is the output from apt-get:
pj@nazgul:~$ sudo apt-cache policy kompozer
[sudo] password for pj:
kompozer:
  Installeret: 0.7.10-0ubuntu1
  Kandidat: 0.7.10-0ubuntu1
  Versionstabel:
 *** 0.7.10-0ubuntu1 0
        500 http://dk.archive.ubuntu.com gutsy/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Kevin McGuinness (kevin-mcguinness) wrote :

I had this problem too. It apparently occurs if you have the MOZILLA_FIVE_HOME environment variable set (some apps need this, ex. those that use the Java SWT browser widget). The kompozer startup script looks for a run-mozilla.sh script in the directory specified by MOZILLA_FIVE_HOME if it is set. I guess for firefox 3 it's no longer there.

The workaround is to unset MOZILLA_FIVE_HOME before running kompozer, or to alter the /usr/bin/kompozer script and add a export MOZILLA_FIVE_HOME="" to the start of it.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10?

Changed in kompozer:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Konstantinos Kostarellis (kostacooker) wrote :

This problem is definitly caused by a set MOZILLA_FIVE_HOME env variable.

I think it would be very apropriate to change the script in a way that it does not check the MOZILLA_FIVE_HOME env-variable or at least calls some "unset MOZILLA_FIVE_HOME" as first command.
Even though the later could have site-effects when kompozer ist called from the command line before another app is called from the same command-line that need MOZILLA_FIVE_HOME.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kompozer - 1:0.7.10-0ubuntu5

---------------
kompozer (1:0.7.10-0ubuntu5) jaunty; urgency=low

  * Removed debian/kompozer.dirs, never needed.
  * debian/kompozer.desktop
   - Moved to "Development" category in desktop file. (LP: #148935)
   - Added some common mimetypes for a web editor. (LP: #175563)
   - Added the generic name.
   - Added Spanish translation
  * debian/mozconfig.debian
   - Added --with-system-nspr (LP: #312972)
   - Added default mozilla five home (LP: #155505)
  * debian/rules
   - Added dh_desktop to updates the MIME type cache
  * debian/kompozer-config.1 and debian/kompozer.manpages
   - Added manpage from upstream to kompozer-config binary

 -- Surfaz Gemon Meme <email address hidden> Mon, 09 Mar 2009 23:03:45 +0000

Changed in kompozer:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.