Hi Alex, This is what I get:
[build]$ netstat -tapn | grep 8200 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) [build]$ sudo netstat -tapn | grep 8200 [sudo] password for dreyna: [build]$ - David From: Damian, Alexandru [mailto:[email protected]] Sent: Wednesday, September 03, 2014 8:17 AM To: Reyna, David Cc: Wymore, Farrell; [email protected] Subject: Re: broken toaster Can you please check the output of netstat -tapn | grep 8200 it should be nil. On Wed, Sep 3, 2014 at 3:09 PM, Reyna, David L (Wind River) <[email protected]<mailto:[email protected]>> wrote: Hi Alex, I glad we at have an explanation! BTW, I tried to start Toaster on my new Ubuntu-14.04, but got this error instead. I do not know how to debug this. vvvvvvvvvvvvvvvvvvv [build]$ . toaster start The system will start. Syncing... Creating tables ... Creating table south_migrationhistory Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) Synced: > django.contrib.staticfiles > django.contrib.humanize > south Not synced (use migrations): - orm - bldcontrol (use ./manage.py migrate to migrate these) Running migrations for orm: - Migrating forwards to 0013_auto__add_release__add_layerversiondependency__add_unique_layerversion. > orm:0001_initial > orm:0002_auto__add_field_build_timespent > orm:0003_timespent - Migration 'orm:0003_timespent' is marked for no-dry-run. > orm:0004_auto__add_field_package_installed_name > orm:0005_auto__add_target_image_file__add_target_file__add_field_variablehistor > orm:0006_auto__add_field_target_image_size__add_field_target_license_manifest_p > orm:0007_auto__add_helptext > orm:0008_auto__chg_field_variablehistory_operation__chg_field_recipe_descriptio > orm:0009_auto__add_projectvariable__add_projectlayer__add_projecttarget__add_pr > orm:0010_auto__add_field_project_branch__add_field_project_short_description__a > orm:0011_auto__add_field_projectlayer_dirpath > orm:0012_auto__add_field_projectlayer_optional__add_field_projecttarget_task > orm:0013_auto__add_release__add_layerversiondependency__add_unique_layerversion - Loading initial data for orm. Installed 0 object(s) from 0 fixture(s) Starting webserver Traceback (most recent call last): File "/opt/dreyna/toaster-1.7/poky/bitbake/bin/bitbake", line 382, in <module> ret = main() File "/opt/dreyna/toaster-1.7/poky/bitbake/bin/bitbake", line 337, in main server = start_server(servermodule, configParams, configuration, featureset) File "/opt/dreyna/toaster-1.7/poky/bitbake/bin/bitbake", line 238, in start_server server.initServer((host, int(port))) File "/opt/dreyna/toaster-1.7/poky/bitbake/lib/bb/server/xmlrpc.py", line 327, in initServer self.serverImpl = XMLRPCServer(interface) File "/opt/dreyna/toaster-1.7/poky/bitbake/lib/bb/server/xmlrpc.py", line 201, in __init__ logRequests=False, allow_none=True) File "/usr/lib/python2.7/SimpleXMLRPCServer.py", line 593, in __init__ SocketServer.TCPServer.__init__(self, addr, requestHandler, bind_and_activate) File "/usr/lib/python2.7/SocketServer.py", line 419, in __init__ self.server_bind() File "/usr/lib/python2.7/SocketServer.py", line 430, in server_bind self.socket.bind(self.server_address) File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 99] Cannot assign requested address DEBUG: Removed the following variables from the environment: LESS, SSH_CLIENT, PS1, DISPLAY, LANG, XDG_SESSION_COOKIE, SHLVL, WINDOWID, XDG_RUNTIME_DIR, VTE_VERSION, XDG_SESSION_ID, _, XKL_XMODMAP_DISABLE, BUILDDIR, UBUNTU_MENUPROXY, SSH_TTY, OLDPWD, VNCDESKTOP, COLORTERM, ROGUEOPTS, MAIL, SSH_CONNECTION Bitbake server start failed WARNING: Could not connect to server at localhost:8200 ([Errno 111] Connection refused) [2]+ Terminated python $BBBASEDIR/lib/toaster/manage.py runserver 0.0.0.0:8000<http://0.0.0.0:8000> < /dev/null > ${BUILDDIR}/toaster_web.log 2>&1 lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/112/gvfs Output information may be incomplete. lsof: status error on bitbake.lock: No such file or directory lsof 4.86 latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-f[gG]] [+|-e s] [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s] [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names] Use the ``-h'' option to get more help information. Failed start. [build]$ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - David From: Damian, Alexandru [mailto:[email protected]<mailto:[email protected]>] Sent: Wednesday, September 03, 2014 6:07 AM To: Wymore, Farrell Cc: Reyna, David; [email protected]<mailto:[email protected]> Subject: Re: broken toaster If you still see this, please delete bldviewer/templatetags/projecttags*, and restart the web server. There is a conflict with toastergui/templatetags/projecttags.py - and it gets triggered based on the order that "bldviewer" and "toastergui" directories appear in an unsorted directory listing. I guess we were really (un)lucky not to run into this until now I'm preparing a patch for upstreaming with proper name separation. On Wed, Sep 3, 2014 at 10:57 AM, Damian, Alexandru <[email protected]<mailto:[email protected]>> wrote: Yes, I have that too - still debugging it, not sure what caused it. Thanks for the report ! Cheers, Alex On Wed, Sep 3, 2014 at 12:19 AM, Wymore, Farrell W (Wind River) <[email protected]<mailto:[email protected]>> wrote: Hi Alex (et. al.) I got a fresh clone of toaster today (actually several). It started up without difficulty. I made no changes to the code or any of the scripts. I pointed by browser to it and got: TemplateSyntaxError at /toastergui/builds/ Invalid filter: 'sectohms' The filter sectohms is indeed in projecttags.py. If I remove the reference to this tag, a different tag cannot be found. Evidently, some bug was introduced that causes the projecttags to not be found. Unfortunately, I do not have a solution yet. Ideas? - fw -- Alex Damian Yocto Project SSG / OTC -- Alex Damian Yocto Project SSG / OTC -- Alex Damian Yocto Project SSG / OTC
-- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
