Please open an issue in bugzilla.

What happens here is that the browser remembers an ordering from the builds
page in managed mode and tries to apply it to the interactive mode. We need
to resolve this conflict somehow.

- Alex

On Thu, Feb 12, 2015 at 2:11 PM, Barros Pena, Belen <
[email protected]> wrote:

> I went to check something in analysis mode using
> master:231d4a9d3d89af4b1b5f6ea439c630e4cac82079
>
> Once Toaster is running, when you go to localhost:8000 you get the empty
> state of the page, even though the database I am using has builds. When I
> type
>
> localhost:8000/toastergui/builds
>
>
> I get an error (pasted below). Before I open anything in Bugzilla, could
> someone try and reproduce this to make sure it is not just me?
>
> Thanks!
>
> Belén
>
> Environment:
>
>
> Request Method: GET
> Request URL:
> http://127.0.0.1:8000/toastergui/builds/?count=10&orderby=updated%3A-&page=
> 1
>
> Django Version: 1.6
> Python Version: 2.7.6
> Installed Applications:
> ('django.contrib.staticfiles',
> 'django.contrib.humanize',
> 'orm',
> 'toastermain',
> 'south',
> 'bldviewer',
> 'toastergui',
> 'bldcontrol')
> Installed Middleware:
> ('django.middleware.common.CommonMiddleware',
> 'django.contrib.sessions.middleware.SessionMiddleware',
> 'django.middleware.csrf.CsrfViewMiddleware',
> 'django.contrib.auth.middleware.AuthenticationMiddleware',
> 'django.contrib.messages.middleware.MessageMiddleware')
>
>
> Traceback:
> File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py"
> in get_response
>   114.                     response = wrapped_callback(request,
> *callback_args, **callback_kwargs)
> File "/home/yocto/master/bitbake/lib/toaster/toastergui/views.py" in builds
>   3139.         (filter_string, search_term, ordering_string) =
> _search_tuple(request, Build)
> File "/home/yocto/master/bitbake/lib/toaster/toastergui/views.py" in
> _search_tuple
>   216.         raise BaseException("Invalid ordering model:" +
> str(model) + str(invalid))
>
> Exception Type: BaseException at /toastergui/builds/
> Exception Value: Invalid ordering model:<class
> 'orm.models.Build'>(u'updated', ['bitbake_version', 'build_name',
> 'buildartifact', 'buildrequest', 'completed_on', 'cooker_log_path',
> 'distro', 'distro_version', 'errors_no', 'helptext_build', u'id',
> 'layer_version_build', 'logmessage', 'machine', 'outcome', 'package',
> 'project', 'started_on', 'target', 'task_build', 'timespent',
> 'variable_build', 'warnings_no'])
>
>
>
>
>
> --
> _______________________________________________
> toaster mailing list
> [email protected]
> https://lists.yoctoproject.org/listinfo/toaster
>



-- 
Alex Damian
Yocto Project
SSG / OTC
-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to