← Back to team overview

rapache-devel team mailing list archive

[Bug 346788] Re: Rapache freezes when creating a new virtual host

 

Alright all you 9.10 users here is the fix. Be aware that there are 2
levels of security that you are going though.

First part has been done for you #21 and all the others get the credit here by doing:
After lines:
    def __init__(self, *args, **kwargs):
        super (MainWindow, self).__init__ (*args, **kwargs)
        Master.register(self)

and before lines
        self.denormalized_virtual_hosts = {}
        self.plugin_manager = PluginManager()
        self.apache = Apache2()

insert lines:
        # HACK : work around bug @see https://bugs.launchpad.net/rapache/+bug/346788
        if not Shell.command.ask_password(): sys.exit(1)
        # HACK END

Second part is:  sudo gedit /usr/share/applications/rapache.desktop
Change line *** 5 ***
[Desktop Entry]
Name=rapache
Comment=Simple tool for managing and configuring an apache2 instance
TryExec=rapache
Exec=gksudo rapache
Icon=/usr/share/rapache/Glade/icon_cadsoft_eagle.svg
Type=Application
Categories=System;


Then reboot, please just reboot. When you access rapache in the system menu you will type root password twice. Then it works.

-- 
Rapache freezes when creating a new virtual host
https://bugs.launchpad.net/bugs/346788
You received this bug notification because you are a member of Rapache
Developers, which is subscribed to Remote Apache Management tool .

Status in rapache: New
Status in “rapache” package in Ubuntu: New

Bug description:
Binary package hint: rapache

On an up-to-date version of 9.04 alpha Rapache freezes when creating a new virtual host. 
No gksu dialogue is launched and if Compiz is enabled the main window gets the gray look busy applications get from Compiz. The Virtual Host editor doesn't.

rapache:
  Installed: 0.7-0ubuntu4
  Candidate: 0.7-0ubuntu4
  Version table:
 *** 0.7-0ubuntu4 0
        500 http://archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

Attached is the output of Rapache in the terminal.