← Back to team overview

rapache-devel team mailing list archive

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

 

Thanks for this workaround folks, works a treat for me.
You can avoid the need to use save as and copying files by starting gedit with sudo and then opening the file you want to edit.

Alt-F2 to bring up run command
tick the "run in terminal" box
Type this into the command box

sudo gedit /usr/lib/python2.6/dist-packages/RapacheGtk/RapacheGui.py

Type in your password

Scroll down to Line 79 (line number is displayed at the bottom of the gedit window)
Copy the following lines from here and paste them into gedit at line 79

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

Save the file in gedit

close gedit

I know nothing of python, and all credit for the workaround goes to
those who already contributed in the thread. This just makes it a little
more convenient to install for newbies (like me).

-- 
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.