Problem when create new app

hi

i have installed development environment using easy install script on new ubuntu server 16.04.
the problem is that when i create new app using bench new-app and install it on any new site after i login the page appear like this:


if i logged in to any site without installing app on it, the site work fine.

can you show us some logs. Both from backend and frontend

hi john

the firefox console log show his line only:
SyntaxError: invalid property id desk:41:16

from bench start terminal:

19:03:52 web.1 | 127.0.0.1 - - [11/Mar/2017 19:03:52] “GET / HTTP/1.1” 200 -
19:03:53 web.1 | 127.0.0.1 - - [11/Mar/2017 19:03:53] “GET /website_script.js HTTP/1.1” 200 -
19:03:53 web.1 | 127.0.0.1 - - [11/Mar/2017 19:03:53] “GET /website_theme.css HTTP/1.1” 200 -
19:03:58 worker_default.1 | 19:03:58 default: frappe.utils.background_jobs.execute_job(async=True, event=None, job_name=u’frappe.utils.global_search.update_global_search’, kwargs={‘doc’: <frappe.core.doctype.authentication_log.authentication_log.AuthenticationLog object at 0x7fc3d4002b10>}, method=u’frappe.utils.global_search.update_global_search’, site=‘site1.local’, user=u’Administrator’) (fab86f06-8af1-495c-85d0-3e672440217b)
19:03:58 worker_default.1 | 19:03:58 default: Job OK (fab86f06-8af1-495c-85d0-3e672440217b)
19:03:58 worker_default.1 | 19:03:58 Result is kept for 500 seconds
19:03:58 worker_default.1 | 19:03:58
19:03:58 worker_default.1 | 19:03:58 *** Listening on default…
19:03:58 web.1 | 127.0.0.1 - - [11/Mar/2017 19:03:58] “POST / HTTP/1.1” 200 -
19:03:59 web.1 | fatal: Not a git repository (or any of the parent directories): .git
19:03:59 web.1 | Traceback (most recent call last):
19:03:59 web.1 | File “/home/imad/dev/apps/frappe/frappe/website/context.py”, line 46, in update_controller_context
19:03:59 web.1 | ret = module.get_context(context)
19:03:59 web.1 | File “/home/imad/dev/apps/frappe/frappe/www/desk.py”, line 21, in get_context
19:03:59 web.1 | boot = frappe.sessions.get()
19:03:59 web.1 | File “/home/imad/dev/apps/frappe/frappe/sessions.py”, line 147, in get
19:03:59 web.1 | bootinfo = get_bootinfo()
19:03:59 web.1 | File “/home/imad/dev/apps/frappe/frappe/boot.py”, line 65, in get_bootinfo
19:03:59 web.1 | bootinfo.versions = {k: v[‘version’] for k, v in get_versions().items()}
19:03:59 web.1 | File “/home/imad/dev/apps/frappe/frappe/utils/change_log.py”, line 97, in get_versions
19:03:59 web.1 | “branch”: get_app_branch(app)
19:03:59 web.1 | File “/home/imad/dev/apps/frappe/frappe/utils/change_log.py”, line 115, in get_app_branch
19:03:59 web.1 | shell=True).strip()
19:03:59 web.1 | File “/usr/lib/python2.7/subprocess.py”, line 574, in check_output
19:03:59 web.1 | raise CalledProcessError(retcode, cmd, output=output)
19:03:59 web.1 | CalledProcessError: Command ‘cd …/apps/tools && git rev-parse --abbrev-ref HEAD’ returned non-zero exit status 128
19:03:59 web.1 |
19:03:59 web.1 | 127.0.0.1 - - [11/Mar/2017 19:03:59] “GET /desk HTTP/1.1” 200 -

have you tried bench update or bench migrate?

hi john, i did bench init to make other one and it work fine thanks

This is my situation:
1- Installation ok!
2- bench start ok!

3- [respinoza@t410s frappe-bench]$ bench new-app qs
INFO:bench.app:creating new app qs
App Title (default: Qs): qs
App Description: New App QS
App Publisher: me
App Email: rootrigo@gmail.com
App Icon (default ‘octicon octicon-file-directory’):
App Color (default ‘grey’): grey
App License (default ‘MIT’): GNU
‘qs’ created at /home/respinoza/DEV/frappe-bench/apps/qs
INFO:bench.app:installing qs
4- [respinoza@t410s frappe-bench]$ bench --site t410 install-app qs
Installing qs…
[respinoza@t410s frappe-bench]$
5-ctrl+c for stop bench and bench start then:

Next, we look at 10:32:43 web.1 git for the app?

we need to add de app to git?

above 127.0.0.1 we have error on git

is necesary for start you app add to git? is posible not add to git you app?

greetings

try bench --site sitename migrate

ok, i fixed:

cd apps//

git init

git add README

git commit -m “Adding README file” README

git config user.email “user@domain”

git config user.name “user”

is requeriment use git.

Thanks!