#1809 Fix MonQTask failing tests

v1.0.0
closed
sf-1 (616)
General
nobody
2015-08-20
2011-03-24
No

To QA: create a project, visit homepage, note no failures in taskd

Discussion

  • Dave Brondsema

    Dave Brondsema - 2011-03-24

    Also, got this just from creating a new project:

    17:31:21,228 INFO  [allura.model.monq_model] <MonQTask 4d8b7fe99c10402ef600002a (busy) P:10 allura.tasks.index_tasks.add_artifacts h7v7024.sb.sf.net pid 26136>
    17:31:21,243 ERROR [allura.model.monq_model] <MonQTask 4d8b7fe99c10402ef600002a (busy) P:10 allura.tasks.index_tasks.add_artifacts h7v7024.sb.sf.net pid 26136>
    Traceback (most recent call last):
      File "/home/dbrondsema/dbrondsema-7024/forge/Allura/allura/model/monq_model.py", line 164, in __call__
        c.user = M.User.query.get(_id=self.context.user_id)
      File "/home/dbrondsema/dbrondsema-7024/forge/Allura/allura/tasks/index_tasks.py", line 32, in add_artifacts
        raise CompoundError(*exceptions)
    CompoundError: (<type 'exceptions.TypeError'>, TypeError("'NoneType' object is unsubscriptable",), <traceback object at 0x1b08e758>)
    17:31:21,244 ERROR [allura.model.monq_model] <CompoundError>
        Traceback (most recent call last):
          File "/home/dbrondsema/dbrondsema-7024/forge/Allura/allura/tasks/index_tasks.py", line 28, in add_artifacts
        link.ref_id for link in find_shortlinks(s['text']) ]
        TypeError: 'NoneType' object is unsubscriptable
    </CompoundError>
    
     
  • Rick Copeland - 2011-03-24
    • Description has changed:

    Diff:

    --- old 
    +++ new 
    @@ -1,0 +1,1 @@
    +To QA: create a project, visit homepage, note no failures in taskd
    
    • status: open --> code-review
    • assigned_to: Rick Copéland --> Dave Brondsema
    • size: --> 1
     
  • Dave Brondsema

    Dave Brondsema - 2011-03-24
    • status: code-review --> in-progress
    • assigned_to: Dave Brondsema --> Rick Copéland
     
  • Dave Brondsema

    Dave Brondsema - 2011-03-24

    I don't see the functional difference in the commit. Moreover, i still get the error:

    Traceback (most recent call last):
      File "/home/dbrondsema/dbrondsema-7024/forge/Allura/allura/model/monq_model.py", line 164, in __call__
        self.result = func(*self.args, **self.kwargs)
      File "/home/dbrondsema/dbrondsema-7024/forge/Allura/allura/tasks/index_tasks.py", line 32, in add_artifacts
        raise CompoundError(*exceptions)
    CompoundError: (<type 'exceptions.TypeError'>, TypeError("'NoneType' object is unsubscriptable",), <traceback object at 0x1b088440>)
    21:23:42,104 ERROR [allura.model.monq_model] <CompoundError>
        Traceback (most recent call last):
          File "/home/dbrondsema/dbrondsema-7024/forge/Allura/allura/tasks/index_tasks.py", line 28, in add_artifacts
        link.ref_id for link in find_shortlinks(s['text']) ]
        TypeError: 'NoneType' object is unsubscriptable
    </CompoundError>
    
     
  • Dave Brondsema

    Dave Brondsema - 2011-03-25

    I merged rc/1809 to dev, but a few of the tests are still failing

     
  • Rick Copeland - 2011-03-25
    • status: in-progress --> validation
     
  • Rick Copeland - 2011-03-25
    • status: validation --> closed
     

Log in to post a comment.