You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <br...@users.sf.net> on 2014/10/09 17:33:15 UTC

[allura:tickets] #7752 Error when indexing users



---

** [tickets:#7752] Error when indexing users**

**Status:** open
**Milestone:** forge-oct-17
**Created:** Thu Oct 09, 2014 03:33 PM UTC by Dave Brondsema
**Last Updated:** Thu Oct 09, 2014 03:33 PM UTC
**Owner:** nobody

~~~~
  File "/var/local/allura/Allura/allura/tasks/index_tasks.py", line 63, in add_users
    __add_objects(users)
  File "/var/local/allura/Allura/allura/tasks/index_tasks.py", line 38, in __add_objects
    solr_instance.add([obj.solarize() for obj in objects])
  File "/var/local/allura/Allura/allura/lib/search.py", line 89, in solarize
    doc = self.index()
  File "/var/local/allura/Allura/allura/model/auth.py", line 315, in index
    webpages_t=' '.join(self.get_pref('webpages')),
TypeError: sequence item 0: expected string, NoneType found
~~~~


---

Sent from sourceforge.net because dev@allura.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7752 Error when indexing users

Posted by Igor Bondarenko <je...@users.sf.net>.
- **status**: in-progress --> code-review
- **Comment**:

Closed #670. `je/7752`



---

** [tickets:#7752] Error when indexing users**

**Status:** code-review
**Milestone:** forge-oct-17
**Labels:** 42cc 
**Created:** Thu Oct 09, 2014 03:33 PM UTC by Dave Brondsema
**Last Updated:** Thu Oct 16, 2014 08:35 AM UTC
**Owner:** Igor Bondarenko

~~~~
  File "/var/local/allura/Allura/allura/tasks/index_tasks.py", line 63, in add_users
    __add_objects(users)
  File "/var/local/allura/Allura/allura/tasks/index_tasks.py", line 38, in __add_objects
    solr_instance.add([obj.solarize() for obj in objects])
  File "/var/local/allura/Allura/allura/lib/search.py", line 89, in solarize
    doc = self.index()
  File "/var/local/allura/Allura/allura/model/auth.py", line 315, in index
    webpages_t=' '.join(self.get_pref('webpages')),
TypeError: sequence item 0: expected string, NoneType found
~~~~


---

Sent from sourceforge.net because dev@allura.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7752 Error when indexing users

Posted by Igor Bondarenko <je...@users.sf.net>.
- **labels**:  --> 42cc
- **status**: open --> in-progress
- **assigned_to**: Igor Bondarenko



---

** [tickets:#7752] Error when indexing users**

**Status:** in-progress
**Milestone:** forge-oct-17
**Labels:** 42cc 
**Created:** Thu Oct 09, 2014 03:33 PM UTC by Dave Brondsema
**Last Updated:** Fri Oct 10, 2014 09:29 PM UTC
**Owner:** Igor Bondarenko

~~~~
  File "/var/local/allura/Allura/allura/tasks/index_tasks.py", line 63, in add_users
    __add_objects(users)
  File "/var/local/allura/Allura/allura/tasks/index_tasks.py", line 38, in __add_objects
    solr_instance.add([obj.solarize() for obj in objects])
  File "/var/local/allura/Allura/allura/lib/search.py", line 89, in solarize
    doc = self.index()
  File "/var/local/allura/Allura/allura/model/auth.py", line 315, in index
    webpages_t=' '.join(self.get_pref('webpages')),
TypeError: sequence item 0: expected string, NoneType found
~~~~


---

Sent from sourceforge.net because dev@allura.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #7752 Error when indexing users

Posted by Dave Brondsema <br...@users.sf.net>.
- **status**: code-review --> closed
- **QA**: Dave Brondsema
- **Size**:  --> 1



---

** [tickets:#7752] Error when indexing users**

**Status:** closed
**Milestone:** forge-oct-17
**Labels:** 42cc 
**Created:** Thu Oct 09, 2014 03:33 PM UTC by Dave Brondsema
**Last Updated:** Fri Oct 17, 2014 12:26 PM UTC
**Owner:** Igor Bondarenko

~~~~
  File "/var/local/allura/Allura/allura/tasks/index_tasks.py", line 63, in add_users
    __add_objects(users)
  File "/var/local/allura/Allura/allura/tasks/index_tasks.py", line 38, in __add_objects
    solr_instance.add([obj.solarize() for obj in objects])
  File "/var/local/allura/Allura/allura/lib/search.py", line 89, in solarize
    doc = self.index()
  File "/var/local/allura/Allura/allura/model/auth.py", line 315, in index
    webpages_t=' '.join(self.get_pref('webpages')),
TypeError: sequence item 0: expected string, NoneType found
~~~~


---

Sent from sourceforge.net because dev@allura.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.