Login | Register
My pages Projects Community openCollabNet

Discussions > Issues > [Issue 45] New - ProcessException is not correctly handled when caught in a check.

repoguard
Discussion topic

Back to topic list

[Issue 45] New - ProcessException is not correctly handled when caught in a check.

Author schlauch
Full name Tobias Schlauch
Date 2012-09-12 07:28:41 PDT
Message http://repoguard.tig​ris.org/issues/show_​bug.cgi?id=45
                 Issue #|45
                 Summary|ProcessException is not correctly handled when caught
                        |in a check.
               Component|repoguard
                 Version|0.2.0
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|repoguard
             Assigned to|issues@repoguard
             Reported by|schlauch






------- Additional comments from schlauch at tigris dot org Wed Sep 12 07:28:41 -0700 2012 -------
You end up with an AttributeError:
Commit failed (details follow):
Commit blocked by pre-commit hook (exit code 1) with output:
2012-09-12 16:27:31,063 - repoguard.tools.checker - ERROR - AttributeError
 exception cause: 'ProcessException instance has no attribute 'args''
Traceback (most recent call last):
  File
 "c:\python24\lib\​site-packages\repog​uard-0.3.0.dev_r124-​py2.4.egg\repoguard​\tools\checker.py"​,
 line 123, in checker
    result = repoguard.run()
  File
 "c:\python24\lib\​site-packages\repog​uard-0.3.0.dev_r124-​py2.4.egg\repoguard​\core\checker.py",​
 line 156, in run
    entry = check.run(config, interp)
  File
 "c:\python24\lib\​site-packages\repog​uard-0.3.0.dev_r124-​py2.4.egg\repoguard​\core\module.py",
 line 600, in run
    entry.msg = "Exception in check '%s': %s" % (name, exc.args)
AttributeError: ProcessException instance has no attribute 'args'

« Previous message in topic | 1 of 2 | Next message in topic »

Messages

Show all messages in topic

[Issue 45] New - ProcessException is not correctly handled when caught in a check. schlauch Tobias Schlauch 2012-09-12 07:28:41 PDT
     [Issue 45] ProcessException is not correctly handled when caught in a check. schlauch Tobias Schlauch 2012-09-12 07:32:42 PDT
Messages per page: