Installation Error

While installing using Installer, getting the following errors, can anyone help:


Setting up lang files for ar…
Extracting / updating translatable strings…

Traceback (most recent call last):
  File “install_erpnext.py”, line 333, in <module>
    install()
  File “install_erpnext.py”, line 14, in install
    install_erpnext(install_path)
  File “install_erpnext.py”, line 171, in install_erpnext
    setup_db(install_path, root_password, db_name)
  File “install_erpnext.py”, line 234, in setup_db
    exec_in_shell(“./lib/wnf.py --patch_sync_build”)
  File “install_erpnext.py”, line 326, in exec_in_shell
    raise Exception, err
Exception: Traceback (most recent call last):
  File “./lib/wnf.py”, line 490, in <module>
    run()
  File “./lib/wnf.py”, line 418, in run
    patch_sync_build()
  File “./lib/wnf.py”, line 82, in patch_sync_build
    rebuild()
  File “./lib/wnf.py”, line 64, in rebuild
    build.bundle(False)
  File “/root/test/lib/webnotes/build.py”, line 37, in bundle
    check_lang()
  File “/root/test/lib/webnotes/build.py”, line 69, in check_lang
    update_translations()
  File “/root/test/lib/webnotes/translate.py”, line 87, in update_translations
    build_message_files()
  File “/root/test/lib/webnotes/translate.py”, line 101, in build_message_files
    build_for_pages(‘lib/core’)
  File “/root/test/lib/webnotes/translate.py”, line 130, in build_for_pages
    doctype_path = get_doc_path(m[0], ‘Module Def’, m[0])
NameError: global name ‘get_doc_path’ is not defined



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



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

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

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

     

     
Fixed the issue, please pull the latest updates and install again.

On 24-Jul-2013, at 3:04 AM, Shubham Gupta wrote:

While installing using Installer, getting the following errors, can anyone help:

Setting up lang files for ar...
Extracting / updating translatable strings...

Traceback (most recent call last):
  File "install_erpnext.py", line 333, in <module>
    install()
  File "install_erpnext.py", line 14, in install
    install_erpnext(install_path)
  File "install_erpnext.py", line 171, in install_erpnext
    setup_db(install_path, root_password, db_name)
  File "install_erpnext.py", line 234, in setup_db
    exec_in_shell("./lib/wnf.py --patch_sync_build")
  File "install_erpnext.py", line 326, in exec_in_shell
    raise Exception, err
Exception: Traceback (most recent call last):
  File "./lib/wnf.py", line 490, in <module>
    run()
  File "./lib/wnf.py", line 418, in run
    patch_sync_build()
  File "./lib/wnf.py", line 82, in patch_sync_build
    rebuild()
  File "./lib/wnf.py", line 64, in rebuild
    build.bundle(False)
  File "/root/test/lib/webnotes/build.py", line 37, in bundle
    check_lang()
  File "/root/test/lib/webnotes/build.py", line 69, in check_lang
    update_translations()
  File "/root/test/lib/webnotes/translate.py", line 87, in update_translations
    build_message_files()
  File "/root/test/lib/webnotes/translate.py", line 101, in build_message_files
    build_for_pages('lib/core')
  File "/root/test/lib/webnotes/translate.py", line 130, in build_for_pages
    doctype_path = get_doc_path(m[0], 'Module Def', m[0])
NameError: global name 'get_doc_path' is not defined




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

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

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

     

     



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



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

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

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