Back to index

system-config-printer  1.3.9+20120706
Namespaces | Classes | Functions | Variables
troubleshoot Namespace Reference

Namespaces

namespace  base
namespace  CheckLocalServerPublishing
namespace  CheckNetworkServerSanity
namespace  CheckPPDSanity
namespace  CheckPrinterSanity
namespace  CheckSELinux
namespace  CheckUSBPermissions
namespace  ChooseNetworkPrinter
namespace  ChoosePrinter
namespace  DeviceListed
namespace  ErrorLogCheckpoint
namespace  ErrorLogFetch
namespace  ErrorLogParse
namespace  Locale
namespace  LocalOrRemote
namespace  NetworkCUPSPrinterShared
namespace  PrinterStateReasons
namespace  PrintTestPage
namespace  QueueNotEnabled
namespace  QueueRejectingJobs
namespace  RemoteAddress
namespace  SchedulerNotRunning
namespace  ServerFirewalled
namespace  Shrug
namespace  VerifyPackages
namespace  Welcome

Classes

class  Troubleshooter

Functions

def run

Variables

tuple cwd = os.getcwd()
list path = cwd+os.path.sep+sys.argv[0]
tuple sub = os.path.dirname(path)
tuple root = os.path.dirname(sub)
list QUESTIONS

Function Documentation

def troubleshoot.run (   quitfn = None,
  parent = None 
)

Definition at line 352 of file __init__.py.

00352 
00353 def run (quitfn=None, parent=None):
00354     troubleshooter = Troubleshooter (quitfn, parent=parent)
00355     modules_imported = []
00356     for module in QUESTIONS:
00357         try:
00358             if not module in modules_imported:
00359                 exec ("from %s import %s" % (module, module))
00360                 modules_imported.append (module)
00361 
00362             exec ("%s (troubleshooter)" % module)
00363         except:
00364             troubleshooter._report_traceback ()
00365     return troubleshooter


Variable Documentation

tuple troubleshoot.cwd = os.getcwd()

Definition at line 33 of file __init__.py.

list troubleshoot.path = cwd+os.path.sep+sys.argv[0]

Definition at line 34 of file __init__.py.

Definition at line 320 of file __init__.py.

tuple troubleshoot.root = os.path.dirname(sub)

Definition at line 38 of file __init__.py.

tuple troubleshoot.sub = os.path.dirname(path)

Definition at line 37 of file __init__.py.