Opened 8 years ago

Closed 7 years ago

#778 closed defect (fixed)

_handle error at non-opencl platform when data is loaded

Reported by: wojciech Owned by: wojciech
Priority: major Milestone: SasView 4.1.0
Component: sasmodels Keywords:
Cc: Work Package: SasView Bug Fixing

Description

When data is loaded first time model computation raise _handle error:
AttributeError: 'NoneType' object has no attribute '_handle'.

It is most like triggered by kernell.dll release() fucntion (line 336). I activated this function to make plugin models recompiled. It doesn't seem to cause any trouble apart from anoying message but needs to be fixed. This may be tcc issue only.

Change History (6)

comment:1 Changed 8 years ago by wojciech

  • Owner set to wojciech
  • Status changed from new to assigned

comment:2 Changed 8 years ago by wojciech

In 880e84561dc182c3b191ad7eba368a7725abcc72/sasview:

Adding short time delay upon model loading to prevent double compilation. It is releated to _handle error reported in #778

comment:3 Changed 8 years ago by wojciech

In def512c24c49b6fd47e37a8368e15a18642f2949/sasview:

Fixing double compilation for all Windows (regardless if OpenCL installed tor not). Related to #778

comment:4 Changed 8 years ago by pkienzle

See also ticket #667. If you can avoid evaluating the model twice then it won't try to compile twice and there will be no conflict and no need for an artificial sleep.

comment:5 Changed 7 years ago by GitHub <noreply@…>

In 06a4306baf90c3345a5d88692dd195f436f59ab6/sasview:

Merge pull request #16 from SasView?/ticket778

Ticket778

comment:6 Changed 7 years ago by wojciech

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.