rapache-devel team mailing list archive
-
rapache-devel team
-
Mailing list archive
-
Message #00336
[Bug 1097055] [NEW] Rapache crashes and cannot restart if favicon is 0 bytes
Public bug reported:
Rapache has been working great (I've commented on the blog before that
its working in 12.04). I'm not 100% sure I'm running the latest code.
But, I was debugging a site and got annoyed with log messages about a
missing favicon from Apache.
So I just did `touch favicon.ico` so Apache would stop complaining, it
does.
Rapache though appears to not like this because its trying to load a favicon that doesnt exist and crashes. At the CLI I get:
reloading vhosts..
Traceback (most recent call last):
File "/home/dgurba/apps/rapache/RapacheGtk/VirtualHostGui.py", line 525, in on_button_save_clicked
self.parent.refresh_vhosts()
File "/home/dgurba/apps/rapache/RapacheGtk/RapacheGui.py", line 381, in refresh_vhosts
self.vhosts_treeview.load()
File "/home/dgurba/apps/rapache/RapacheGtk/VhostsTreeView.py", line 73, in load
pixbuf = gtk.gdk.pixbuf_new_from_file( favicon )
glib.GError: Image file '/var/www/2013/debug/projects/eap-live-01042013/www/favicon.ico' contains no data
Errors status: -1
And the GUI paints the vhost list upto the alphabetical ordinal of the vhost in question, then stops painting the table list.
I was able to fix it on my end by just getting a valid favicon file --
but my "sysadmin" hack of an empty favicon shouldnt hose Rapache.
I use Rapache daily as my lean MAMP Dashboard or OSX VirtualHostX linux
admin UI. It's great, thanks for all the work.
** Affects: rapache
Importance: Undecided
Status: New
** Attachment added: "plaintext error message"
https://bugs.launchpad.net/bugs/1097055/+attachment/3476378/+files/error_msg.txt
--
You received this bug notification because you are a member of Rapache
Developers, which is subscribed to Remote Apache Management tool .
https://bugs.launchpad.net/bugs/1097055
Title:
Rapache crashes and cannot restart if favicon is 0 bytes
Status in rapache:
New
Bug description:
Rapache has been working great (I've commented on the blog before that
its working in 12.04). I'm not 100% sure I'm running the latest code.
But, I was debugging a site and got annoyed with log messages about a
missing favicon from Apache.
So I just did `touch favicon.ico` so Apache would stop complaining, it
does.
Rapache though appears to not like this because its trying to load a favicon that doesnt exist and crashes. At the CLI I get:
reloading vhosts..
Traceback (most recent call last):
File "/home/dgurba/apps/rapache/RapacheGtk/VirtualHostGui.py", line 525, in on_button_save_clicked
self.parent.refresh_vhosts()
File "/home/dgurba/apps/rapache/RapacheGtk/RapacheGui.py", line 381, in refresh_vhosts
self.vhosts_treeview.load()
File "/home/dgurba/apps/rapache/RapacheGtk/VhostsTreeView.py", line 73, in load
pixbuf = gtk.gdk.pixbuf_new_from_file( favicon )
glib.GError: Image file '/var/www/2013/debug/projects/eap-live-01042013/www/favicon.ico' contains no data
Errors status: -1
And the GUI paints the vhost list upto the alphabetical ordinal of the vhost in question, then stops painting the table list.
I was able to fix it on my end by just getting a valid favicon file --
but my "sysadmin" hack of an empty favicon shouldnt hose Rapache.
I use Rapache daily as my lean MAMP Dashboard or OSX VirtualHostX
linux admin UI. It's great, thanks for all the work.
To manage notifications about this bug go to:
https://bugs.launchpad.net/rapache/+bug/1097055/+subscriptions
Follow ups
References