Update.sh error

im getting this eror when running ./scripts/update.sh

What Can i do ?


Thanks !!!!


er...@erpnext062514:~/frappe-bench$ ./scripts/update.sh
Already up-to-date.
updating apps/erpnext
remote: Counting objects: 1202, done.
remote: Compressing objects: 100% (675/675), done.
Receiving objects: 100% (1202/1202), 2.02 MiB | 218 KiB/s, done.
remote: Total 1202 (delta 792), reused 732 (delta 522)
Resolving deltas: 100% (792/792), done.
From https://github.com/frappe/erpnext
 * branch            HEAD       -> FETCH_HEAD
First, rewinding head to replay your work on top of it...
Fast-forwarded develop to c7105a1a794f767289a2041c049b6ea723ec655b.
/home/erpnext/frappe-bench
updating apps/frappe
remote: Counting objects: 772, done.
remote: Compressing objects: 100% (616/616), done.
remote: Total 772 (delta 463), reused 255 (delta 154)
Receiving objects: 100% (772/772), 1.33 MiB | 216 KiB/s, done.
Resolving deltas: 100% (463/463), done.
From https://github.com/frappe/frappe
 * branch            HEAD       -> FETCH_HEAD
First, rewinding head to replay your work on top of it...
Fast-forwarded develop to 48544ab799d8eda96b4f3f9de4653390dfbdafdf.
/home/erpnext/frappe-bench
updating apps/shopping_cart
remote: Counting objects: 35, done.
remote: Compressing objects: 100% (35/35), done.
remote: Total 35 (delta 2), reused 11 (delta 0)
Unpacking objects: 100% (35/35), done.
From https://github.com/frappe/shopping-cart
 * branch            HEAD       -> FETCH_HEAD
First, rewinding head to replay your work on top of it...
Fast-forwarded develop to e6a3de9b72c5dab8892a53dcbeee97eac7061437.
/home/erpnext/frappe-bench

Running latest for erpnext
--------------------------------------------------
Executing frappe.patches.v4_2.print_with_letterhead in erpnext (erpnext)
Success
Executing execute:frappe.delete_doc("DocType", "Control Panel", force=1) in erpn                                                                                                                               ext (erpnext)
Success
Executing erpnext.patches.v4_2.toggle_rounded_total #2014-07-30 in erpnext (erpn                                                                                                                               ext)
Success
Executing erpnext.patches.v4_2.fix_account_master_type in erpnext (erpnext)
Success
Executing erpnext.patches.v4_2.update_project_milestones in erpnext (erpnext)
Success
Executing erpnext.patches.v4_2.add_currency_turkish_lira #2014-08-08 in erpnext                                                                                                                                (erpnext)
Success
Executing execute:frappe.delete_doc("DocType", "Landed Cost Wizard") in erpnext                                                                                                                                (erpnext)
Success
Updating frappe                     : [========================================]
Updating erpnext                    : [======================================  ]                                                                                                                               Traceback (most recent call last):
  File "/home/erpnext/frappe-bench/env/bin/frappe", line 9, in <module>
    load_entry_point('frappe==4.0.1', 'console_scripts', 'frappe')()
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/cli.py", line 39, in main
    ret = run(fn, args)
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/cli.py", line 83, in run
    out = globals().get(fn)(**args)
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/cli.py", line 67, in new_f                                                                                                                               n
    return fn(*args, **new_kwargs)
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/cli.py", line 424, in late                                                                                                                               st
    frappe.model.sync.sync_all(verbose=verbose)
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/sync.py", line 19, i                                                                                                                               n sync_all
    sync_for(app, force, verbose=verbose)
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/sync.py", line 34, i                                                                                                                               n sync_for
    import_file_by_path(doc_path, force=force)
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/modules/import_file.py", l                                                                                                                               ine 50, in import_file_by_path
    import_doc(doc, force=force)
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/modules/import_file.py", l                                                                                                                               ine 111, in import_doc
    doc.insert()
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 1                                                                                                                               53, in insert
    self.run_post_save_methods()
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 4                                                                                                                               27, in run_post_save_methods
    self.run_method("on_update")
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 4                                                                                                                               00, in run_method
    return Document.hook(fn)(self, *args, **kwargs)
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 4                                                                                                                               76, in composer
    return composed(self, method, *args, **kwargs)
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 4                                                                                                                               59, in runner
    add_to_return_value(self, fn(self, *args, **kwargs))
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/model/document.py", line 3                                                                                                                               94, in <lambda>
    fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/core/doctype/doctype/docty                                                                                                                               pe.py", line 101, in on_update
    module = load_doctype_module(self.name, self.module)
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/modules/__init__.py", line                                                                                                                                57, in load_doctype_module
    doctype_python_modules[key] = frappe.get_module(get_module_name(doctype, mod                                                                                                                               ule, prefix))
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 375, in                                                                                                                                get_module
    return importlib.import_module(modulename)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/erpnext/frappe-bench/apps/erpnext/erpnext/support/doctype/newslett                                                                                                                               er/newsletter.py", line 11, in <module>
    import erpnext.tasks
  File "/home/erpnext/frappe-bench/apps/erpnext/erpnext/tasks.py", line 8, in <m                                                                                                                               odule>
    @celery_task()
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/celery_app.py", line 85, i                                                                                                                               n celery_task
    return get_celery().task(*args, **kwargs)
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/celery_app.py", line 34, i                                                                                                                               n get_celery
    setup_celery(_app, conf)
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/celery_app.py", line 40, i                                                                                                                               n setup_celery
    sites_path=SITES_PATH))
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 404, in                                                                                                                                get_all_apps
    apps = get_file_items(os.path.join(sites_path, "apps.txt"), raise_not_found=                                                                                                                               True)
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 489, in                                                                                                                                get_file_items
    content = read_file(path, raise_not_found=raise_not_found)
  File "/home/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 508, in                                                                                                                                read_file
    raise IOError("{} Not Found".format(path))
IOError: ./apps.txt Not Found
er...@erpnext062514:~/frappe-bench$  apps = get_file_items(os.path.join(sites_path, "apps.txt"), raise_not_found=                                                                                                                               True)
-bash: syntax error near unexpected token `('
er...@erpnext062514:~/frappe-bench$  apps = get_file_items(os.path.join(sites_path, "apps.txt"), raise_not_found=                                                                                                                               True)
-bash: syntax error near unexpected token `('
er...@erpnext062514:~/frappe-bench$



You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/70fc8ea8-8591-4c1f-9269-a1ecb2e5119f%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.