Re: Index failure after upgrade to ReviewBoard 2.5.16

2017-10-16 Thread Christian Hammond
Can you show me all the code within about 5 lines of your modification? Christian On Mon, Oct 16, 2017 at 18:01 'Rob Backhurst' via reviewboard < reviewboard@googlegroups.com> wrote: > Hi Christian, > > It crashes straight away with this error... > > Removing all documents from your index

Re: Index failure after upgrade to ReviewBoard 2.5.16

2017-10-16 Thread 'Rob Backhurst' via reviewboard
Hi Christian, It crashes straight away with this error... Removing all documents from your index because you said so. All documents removed. Indexing 558 users ERROR:root:Error updating auth using default Traceback (most recent call last): File

Re: Index failure after upgrade to ReviewBoard 2.5.16

2017-10-16 Thread 'Rob Backhurst' via reviewboard
Hi Christian, It crashes straight away with this error... Removing all documents from your index because you said so. All documents removed. Indexing 558 users ERROR:root:Error updating auth using default Traceback (most recent call last): File

Re: Exporting Reviewboard contents

2017-10-16 Thread Gene Paul Quevedo
Thank you Christian! We're erunning 2.0.25 . I'll have a go on that powerpack and once it's done Maybe I can retrieve that beta package Get Outlook for iOS From: reviewboard@googlegroups.com on behalf of

Re: Index failure after upgrade to ReviewBoard 2.5.16

2017-10-16 Thread Christian Hammond
Hi Rob, Actually, this should function as a workaround for now. You can do this in that same Haystack file. Change the entirety of that previous code to: hasattr(current_object, attr) if hasattr(current_object, attr): raise SearchFieldError("The model '%s' does not have a

Re: Index failure after upgrade to ReviewBoard 2.5.16

2017-10-16 Thread 'Rob Backhurst' via reviewboard
Thanks Christian, is that something we’ll need to do directly to the database? I don’t suppose you have any info on what needs to be done? Our DBA is on leave at the mo. No probs, not always easy to get to the bottom of these things! Thanks Rob Sent from my iPhone > On 16 Oct 2017, at 19:15,

Re: Index failure after upgrade to ReviewBoard 2.5.16

2017-10-16 Thread 'Rob Backhurst' via reviewboard
Hi Christian, Here you go... ERROR:root:Error updating reviews using default Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/haystack/management/commands/update_index.py", line 188, in handle_label self.update_backend(label, using) File

Re: Issue: Only team foundation available when adding repository (Windows install)

2017-10-16 Thread Neil Beresford
Christian, thanks again - you are right, the install seems to be just broken. For ease and to save time, I will re-install on a linux system as it's only needed in-house. If I get any answers from Bitnami I will make sure to post them here - just incase someone else has this issue. thanks,

Re: Index failure after upgrade to ReviewBoard 2.5.16

2017-10-16 Thread Christian Hammond
Hi Rob, I think what's happening is that there's an exception being raised the first time this is accessed that is resulting in hasattr failing. One more check (I'm about to go to bed so I'll have to follow up in the morning). Before the "has_attr = ..." line, add: if attr == 'commit':

Re: Index failure after upgrade to ReviewBoard 2.5.16

2017-10-16 Thread 'Rob Backhurst' via reviewboard
Hi Chris, Certainly seems a bit weird - I appreciate all your efforts so far!. See the out put from the latest index below. If this doesn't tell you anything useful, perhaps we can try (on our test system) removing the review/record that seems to be causing this and re-run the index?

Re: Issue: Only team foundation available when adding repository (Windows install)

2017-10-16 Thread Neil Beresford
Good morning all, firstly thanks for all the quick replies. Christian - as it's windows - I followed the links and installed from here - https://bitnami.com/stack/reviewboard-plus-powerpack ... there was no errors and I assumed it all went ok. I will follow Erik's advice and