← Back to team overview

rapache-devel team mailing list archive

[Bug 242676] [NEW] No error notice system

 

Public bug reported:

At the moment there is no system which allows us to displas a nice
warning when something goes wrong.

There should also be checked if apache is installed at the start of rapache. Now you get this output when you do try it without the server:
qense@nott-virtual:~/rapache-stage0$ ./rapache
checking for same obj
checking for same obj
Traceback (most recent call last):
  File "./rapache", line 29, in <module>
    hwg = MainWindow()
  File "/home/qense/rapache-stage0/RapacheGtk/RapacheGui.py", line 68, in __init__
    self.load_lists()
  File "/home/qense/rapache-stage0/RapacheGtk/RapacheGui.py", line 111, in load_lists
    self.create_vhost_list()
  File "/home/qense/rapache-stage0/RapacheGtk/RapacheGui.py", line 128, in create_vhost_list
    treeview.load()        
  File "/home/qense/rapache-stage0/RapacheGtk/VhostsTreeView.py", line 41, in load
    dirList=os.listdir( Configuration.SITES_AVAILABLE_DIR )
OSError: [Errno 2] No such file or directory: '/etc/apache2/sites-available'

** Affects: rapache
     Importance: Undecided
     Assignee: Sense Hofstede (qense)
         Status: Confirmed

** Changed in: rapache
     Assignee: (unassigned) => Sense Hofstede (qense)
       Status: New => Confirmed

-- 
No error notice system
https://bugs.launchpad.net/bugs/242676
You received this bug notification because you are a member of Rapache
Developers, which is subscribed to Remote Apache Management tool .

Status in rapache: Confirmed

Bug description:
At the moment there is no system which allows us to displas a nice warning when something goes wrong.

There should also be checked if apache is installed at the start of rapache. Now you get this output when you do try it without the server:
qense@nott-virtual:~/rapache-stage0$ ./rapache
checking for same obj
checking for same obj
Traceback (most recent call last):
  File "./rapache", line 29, in <module>
    hwg = MainWindow()
  File "/home/qense/rapache-stage0/RapacheGtk/RapacheGui.py", line 68, in __init__
    self.load_lists()
  File "/home/qense/rapache-stage0/RapacheGtk/RapacheGui.py", line 111, in load_lists
    self.create_vhost_list()
  File "/home/qense/rapache-stage0/RapacheGtk/RapacheGui.py", line 128, in create_vhost_list
    treeview.load()        
  File "/home/qense/rapache-stage0/RapacheGtk/VhostsTreeView.py", line 41, in load
    dirList=os.listdir( Configuration.SITES_AVAILABLE_DIR )
OSError: [Errno 2] No such file or directory: '/etc/apache2/sites-available'



Follow ups

References