Toaster UI must be able to run remotely as a precursor for remoteing a bitbake server. This means that the UI must not run any commands or read any files on the local filesystem. All the code that reads data from the local system must be executed in toaster.bbclass and send data through asynchronous events.
In review poky-contrib: toaster/master.
All needed changes merged in origin/master.
Test case for this bug (provided by Alex): Start everything manually, with the UI in another directory. e.g. > Terminal 1 source oe-build-init-env bitbake --postread conf/toaster.conf --server-only -t xmlrpc -B localhost:8200 > Terminal 2, a different build/ directory, maybe on a different machine export BBASEDIR= [ location of poky/bitbake directory checkout ] python $BBBASEDIR/lib/toaster/manage.py syncdb python $BBBASEDIR/lib/toaster/manage.py migrate orm export BBSERVER=localhost:8200 BBSERVER= bitbake --observe-only -u toasterui & python $BBBASEDIR/lib/toaster/manage.py runserver 0.0.0.0:8000 Toaster should be available on port 8000 of the machine hosting Terminal 2. Alex
Verified in master:1b636173ca88e5ccca1992f9a12367a1189fa674.