Bug 6593

Summary: Develop Toaster All machines page
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Michael Wood <michael.g.wood>
Status: VERIFIED FIXED QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: enhancement    
Priority: High CC: alexandru.c.georgescu, alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu, Yuan.Sun2
Version: unspecified   
Target Milestone: 1.8 M3   
Hardware: All   
OS: Multiple   
Whiteboard: GUI design available
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 7241    
Attachments:
Description Flags
Design - 1.5 All machines none

Description Belen Barros Pena 2014-07-29 11:38:19 UTC
This is the page listing all the machines provided by all the layers known to Toaster that are compatible with the Yocto Project version selected for a certain Toaster project.
Comment 1 Belen Barros Pena 2014-08-18 14:31:35 UTC
Created attachment 2090 [details]
Design - 1.5 All machines
Comment 2 Alexandru Damian 2014-09-01 10:27:06 UTC
Merged into mainline.
Comment 3 Belen Barros Pena 2014-09-16 11:00:28 UTC
Reopening to track remaining work
Comment 4 Belen Barros Pena 2014-11-06 16:56:38 UTC
Review of "all machines" page in master:0add8abc12b850e38a6ec7dcf2856fab2c0107b6 posted to the mailing list

https://lists.yoctoproject.org/pipermail/toaster/2014-November/001467.html
Comment 5 Belen Barros Pena 2015-01-29 11:18:12 UTC
The all machines page in master:07f2eca7e9f9163ec48d3a417d8ba885a84762f3 is throwing an error (thought I'd let you know):

Environment:


Request Method: GET
Request URL: http://127.0.0.1:8000/toastergui/machines/?count=10&orderby=name%3A%2B&page=1

Django Version: 1.6
Python Version: 2.7.6
Installed Applications:
('django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.messages',
 'django.contrib.sessions',
 'django.contrib.admin',
 '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 machines
  2809.         _save_parameters_cookies(response, pagesize, orderby, request)

Exception Type: NameError at /toastergui/machines/
Exception Value: global name 'pagesize' is not defined
Comment 6 Michael Wood 2015-02-17 17:18:41 UTC
Various commits now landed in master
Comment 7 Mihail Stanciu 2015-03-13 11:38:35 UTC
Verified on master: 0aff27522d467ee5d02289594207ddef4add7081