[Mayan EDMS: 2084] Error trying to view Task Manager

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 2084] Error trying to view Task Manager

LeVon Smoker
Getting this error - maybe a bug in task_manager/views.py?


ImproperlyConfigured at /task_manager/queues/


 
QueueListView is overloading the get_queryset method. Subclasses should implement the get_object_list method instead. 
   
     
Request Method:GET
Request URL:http://documents.hrcsb.org/task_manager/queues/
Django Version:1.10.7
Exception Type:ImproperlyConfigured
Exception Value:
QueueListView is overloading the get_queryset method. Subclasses should implement the get_object_list method instead. 
Exception Location:/usr/share/mayan-edms/mayan/apps/common/generics.py in __init__, line 491
Python Executable:/usr/share/mayan-edms/bin/uwsgi
Python Version:2.7.9
Python Path:
['.',
 
'',
 
'/usr/share/mayan-edms/lib/python2.7',
 
'/usr/share/mayan-edms/lib/python2.7/plat-i386-linux-gnu',
 
'/usr/share/mayan-edms/lib/python2.7/lib-tk',
 
'/usr/share/mayan-edms/lib/python2.7/lib-old',
 
'/usr/share/mayan-edms/lib/python2.7/lib-dynload',
 
'/usr/lib/python2.7',
 
'/usr/lib/python2.7/plat-i386-linux-gnu',
 
'/usr/lib/python2.7/lib-tk',
 
'/usr/share/mayan-edms/local/lib/python2.7/site-packages',
 
'/usr/share/mayan-edms/lib/python2.7/site-packages',
 u
'/usr/share/mayan-edms/mayan/apps',
 
'/usr/share/mayan-edms']
Server time:Thu, 7 Sep 2017 13:34:06 -0400



--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 2087] Re: Error trying to view Task Manager

rosarior
Administrator
Yes indeed. There was an update in the base view classes to detect app views using the get_queryset method to produce a list of objects to display. The task manager app was not updated in relation to this change. Fixed committed: https://gitlab.com/mayan-edms/mayan-edms/commit/51026cc55ee596777a78c0b07748936ca967e69e. Thanks for the report!

On Thursday, September 7, 2017 at 1:48:13 PM UTC-4, LeVon Smoker wrote:
Getting this error - maybe a bug in task_manager/views.py?


ImproperlyConfigured at /task_manager/queues/


 
QueueListView is overloading the get_queryset method. Subclasses should implement the get_object_list method instead. 
   
     
Request Method:GET
Request URL:http://<a href="http://documents.hrcsb.org/task_manager/queues/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdocuments.hrcsb.org%2Ftask_manager%2Fqueues%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNESqw-uUVaWnmxy1-ifZ0qAjcG95A&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdocuments.hrcsb.org%2Ftask_manager%2Fqueues%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNESqw-uUVaWnmxy1-ifZ0qAjcG95A&#39;;return true;">documents.hrcsb.org/task_manager/queues/
Django Version:1.10.7
Exception Type:ImproperlyConfigured
Exception Value:
QueueListView is overloading the get_queryset method. Subclasses should implement the get_object_list method instead. 
Exception Location:/usr/share/mayan-edms/mayan/apps/common/generics.py in __init__, line 491
Python Executable:/usr/share/mayan-edms/bin/uwsgi
Python Version:2.7.9
Python Path:
['.',
 
'',
 
'/usr/share/mayan-edms/lib/python2.7',
 
'/usr/share/mayan-edms/lib/python2.7/plat-i386-linux-gnu',
 
'/usr/share/mayan-edms/lib/python2.7/lib-tk',
 
'/usr/share/mayan-edms/lib/python2.7/lib-old',
 
'/usr/share/mayan-edms/lib/python2.7/lib-dynload',
 
'/usr/lib/python2.7',
 
'/usr/lib/python2.7/plat-i386-linux-gnu',
 
'/usr/lib/python2.7/lib-tk',
 
'/usr/share/mayan-edms/local/lib/python2.7/site-packages',
 
'/usr/share/mayan-edms/lib/python2.7/site-packages',
 u
'/usr/share/mayan-edms/mayan/apps',
 
'/usr/share/mayan-edms']
Server time:Thu, 7 Sep 2017 13:34:06 -0400



--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.