Hi Rob,

At this point, "Gremlins" appear to be the best answer from what I'm able
to see right now. The output in that error is directly contradicting the
conditional that allows the error to be shown, so something really bizarre
is happening that absolutely should not be able to happen. It's not normal.

There's one last thing I want to see... I don't think it's going to give me
any answers directly, but let's see where this goes.

Change the code to:

    import inspect
    has_attr = hasattr(current_object, attr)
    print '%r (%s): %s' % (current_object.__class__, id(current_object),
has_attr)
    if not has_attr:
        raise SearchFieldError("The model '%s' ('%s' -- %s.%s at %s --
%s:%s) does not have a model_attr '%s' (%s -- %s)." %
(obj.__class__.__name__, current_object.pk,
current_object.__class__.__module__,
current_object.__class__.__name__, inspect.getfile(obj.__class__), id(obj),
id(current_object), attr, hasattr(current_object, attr), has_attr))

Christian

On Fri, Oct 13, 2017 at 2:41 AM, 'Rob Backhurst' via reviewboard <
reviewboard@googlegroups.com> wrote:

> No probs - where do we go from here?
>
> Thanks
> Rob
>
> On Thursday, 12 October 2017 19:58:13 UTC+1, Stephen Gallagher wrote:
>>
>> Ok, I just wanted to rule out an easy solution.
>> On Thu, Oct 12, 2017 at 5:47 AM 'Rob Backhurst' via reviewboard <
>> revie...@googlegroups.com> wrote:
>>
>>> Just to add, the haystack version shown in the reviewboard shell is
>>> looking better now though.
>>>
>>> >>> import reviewboard
>>> >>> print reviewboard.VERSION
>>> (2, 5, 16, 0, u'final', 0, True)
>>> >>> print reviewboard.__file__
>>> /usr/lib/python2.7/site-packages/reviewboard/__init__.pyc
>>> >>> import haystack
>>> >>> print haystack.__version__
>>> (2, 4, 1)
>>> >>> print haystack.__file__
>>> /usr/lib/python2.7/site-packages/haystack/__init__.pyc
>>>
>>>
>>> Thanks
>>> Rob
>>>
>>> On Thursday, 12 October 2017 10:41:59 UTC+1, Rob Backhurst wrote:
>>>>
>>>> Hi Stephen,
>>>>
>>>> I've installed that on our test system and re-run the index -
>>>> unfortunately the same problem.
>>>>
>>>> Thanks
>>>> Rob
>>>>
>>>> On Wednesday, 11 October 2017 19:21:22 UTC+1, Stephen Gallagher wrote:
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Oct 11, 2017 at 7:40 AM 'Rob Backhurst' via reviewboard <
>>>>> revie...@googlegroups.com> wrote:
>>>>>
>>>>>> Hi Christian,
>>>>>>
>>>>>> Ok, lets hope this can tell you something useful...
>>>>>>
>>>>>> <snip>
>>>>>
>>>>> Rob, I just packaged up Haystack 2.4.1 (and did rudimentary testing to
>>>>> see that ReviewBoard still works). Would you mind installing the RPM at
>>>>> https://bodhi.fedoraproject.org/updates/python-django-
>>>>> haystack-2.4.1-1.el7 , restarting httpd and seeing if that fixes
>>>>> things?
>>>>>
>>>>> I'd like to see if this issue might just already be fixed in the newer
>>>>> release.
>>>>>
>>>> --
>>> Supercharge your Review Board with Power Pack:
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons:
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to reviewboard...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to