Any easy way to setup ERPNext Demo in the virtual machine?

Is there any easier way to setup the demo database in the Virtual Box that we download from the website ?
I have done the following:
1) Download the latest VB image and booted the server. Ran the update script in the scripts folder.
2) Added erpnext-demo to the apps.txt file in /home/erpnext/frappe-bench/sites folder.
3) Added the /home/erpnext/frappe-bench/env/bin to the PATH (export PATH=$PATH:/home/erpnext/frappe-bench/env/bin)
4) Ran the command "frappe demo.erpnext-vm --install_app erpnext_demo" from the /home/erpnext/frappe-bench/scripts folder

Getting the error message "ImportError: No module named erpnext_demo".

Am I missing any steps ?

Also, can we have the demo instance delivered as part of the virtual image ?



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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/e3ad9025-95c4-439f-84d4-4613dd5a687f%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
You need to clone erpnext-demo github repo in the apps folder and run python setup.py develop from erpnext-demo folder.

The upcoming version of bench will make it much easier.

-Anand.


On Sat, Jul 12, 2014 at 10:19 AM, L Bala <lo...@gmail.com> wrote:
Is there any easier way to setup the demo database in the Virtual Box that we download from the website ?

I have done the following:
1) Download the latest VB image and booted the server. Ran the update script in the scripts folder.
2) Added erpnext-demo to the apps.txt file in /home/erpnext/frappe-bench/sites folder.

  1. Added the /home/erpnext/frappe-bench/env/bin to the PATH (export PATH=$PATH:/home/erpnext/frappe-bench/env/bin)
    4) Ran the command "frappe demo.erpnext-vm --install_app erpnext_demo" from the /home/erpnext/frappe-bench/scripts folder


Getting the error message "ImportError: No module named erpnext_demo".

Am I missing any steps ?

Also, can we have the demo instance delivered as part of the virtual image ?



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.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/e3ad9025-95c4-439f-84d4-4613dd5a687f%40googlegroups.com.

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




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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAAQzbF1AF4LU9zLvEdYJONk%2BAws9NUqK_DCeLq4a1BFGtNbqNA%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Anand, thanks for immediate response.

When I am running the command "python setup.py develop" , I am now getting the error "ImportError: No module named setuptools"

On Saturday, July 12, 2014 12:49:44 AM UTC-4, L Bala wrote:
Is there any easier way to setup the demo database in the Virtual Box that we download from the website ?
I have done the following:
1) Download the latest VB image and booted the server. Ran the update script in the scripts folder.
2) Added erpnext-demo to the apps.txt file in /home/erpnext/frappe-bench/sites folder.
3) Added the /home/erpnext/frappe-bench/env/bin to the PATH (export PATH=$PATH:/home/erpnext/frappe-bench/env/bin)
4) Ran the command "frappe demo.erpnext-vm --install_app erpnext_demo" from the /home/erpnext/frappe-bench/scripts folder

Getting the error message "ImportError: No module named erpnext_demo".

Am I missing any steps ?

Also, can we have the demo instance delivered as part of the virtual image ?



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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/59c3999c-42b8-4fd4-bb38-059f395dca31%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
you need to activate environment.

go to frappe-bench and run
. ./env/bin/activate

then go to erpnext-demo and run python setup.py develop



On Sat, Jul 12, 2014 at 11:01 AM, L Bala <lo…@gmail.com> wrote:

Anand, thanks for immediate response.

When I am running the command "python setup.py develop" , I am now getting the error "ImportError: No module named setuptools"



On Saturday, July 12, 2014 12:49:44 AM UTC-4, L Bala wrote:

Is there any easier way to setup the demo database in the Virtual Box that we download from the website ?

I have done the following:
1) Download the latest VB image and booted the server. Ran the update script in the scripts folder.
2) Added erpnext-demo to the apps.txt file in /home/erpnext/frappe-bench/sites folder.

  1. Added the /home/erpnext/frappe-bench/env/bin to the PATH (export PATH=$PATH:/home/erpnext/frappe-bench/env/bin)
    4) Ran the command "frappe demo.erpnext-vm --install_app erpnext_demo" from the /home/erpnext/frappe-bench/scripts folder


Getting the error message "ImportError: No module named erpnext_demo".

Am I missing any steps ?

Also, can we have the demo instance delivered as part of the virtual image ?



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.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/59c3999c-42b8-4fd4-bb38-059f395dca31%40googlegroups.com.

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



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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAAQzbF2EdsxZdJj-q5BLyhQvzabpZEmEyvZSrHObqACmEXiCRw%40mail.gmail.com.

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

Anand, When I ran the activate command nothing happened. No output. Just came back to the command prompt. Not sure if it is correct or not.

Then when I rerun the setup.py, I am getting the same error.

Don't we have any step by step instructions for setting up the demo? How have others done it?

Regards.

On Jul 12, 2014 2:14 AM, "Anand Doshi" <an...@erpnext.com> wrote:
you need to activate environment.

go to frappe-bench and run
. ./env/bin/activate

then go to erpnext-demo and run python setup.py develop



On Sat, Jul 12, 2014 at 11:01 AM, L Bala <lo…@gmail.com> wrote:

Anand, thanks for immediate response.

When I am running the command "python setup.py develop" , I am now getting the error "ImportError: No module named setuptools"



On Saturday, July 12, 2014 12:49:44 AM UTC-4, L Bala wrote:

Is there any easier way to setup the demo database in the Virtual Box that we download from the website ?

I have done the following:
1) Download the latest VB image and booted the server. Ran the update script in the scripts folder.
2) Added erpnext-demo to the apps.txt file in /home/erpnext/frappe-bench/sites folder.

  1. Added the /home/erpnext/frappe-bench/env/bin to the PATH (export PATH=$PATH:/home/erpnext/frappe-bench/env/bin)
    4) Ran the command "frappe demo.erpnext-vm --install_app erpnext_demo" from the /home/erpnext/frappe-bench/scripts folder


Getting the error message "ImportError: No module named erpnext_demo".

Am I missing any steps ?

Also, can we have the demo instance delivered as part of the virtual image ?



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.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/59c3999c-42b8-4fd4-bb38-059f395dca31%40googlegroups.com.

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



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 a topic in the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/PcLNiW6HRpw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAAQzbF2EdsxZdJj-q5BLyhQvzabpZEmEyvZSrHObqACmEXiCRw%40mail.gmail.com.

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



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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAHgQCeZN890tDDsqT4WLBe98H3ggHG4E7XwuJROSpnvvY3aSVA%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
@Anand, I was able to successfully run the activate command and then ran the "python setup.py develop" command.

What should be the next set of steps for creating the demo records ?

Sorry for asking simple questions, but I am not sure on the process for creating the demo DB.


On Saturday, July 12, 2014 12:49:44 AM UTC-4, L Bala wrote:
Is there any easier way to setup the demo database in the Virtual Box that we download from the website ?
I have done the following:
1) Download the latest VB image and booted the server. Ran the update script in the scripts folder.
2) Added erpnext-demo to the apps.txt file in /home/erpnext/frappe-bench/sites folder.
3) Added the /home/erpnext/frappe-bench/env/bin to the PATH (export PATH=$PATH:/home/erpnext/frappe-bench/env/bin)
4) Ran the command "frappe demo.erpnext-vm --install_app erpnext_demo" from the /home/erpnext/frappe-bench/scripts folder

Getting the error message "ImportError: No module named erpnext_demo".

Am I missing any steps ?

Also, can we have the demo instance delivered as part of the virtual image ?



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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/68f8ab7a-d92a-4f7d-864c-3075d0edc8c2%40googlegroups.com.

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

Hi bala
Did you get the details of next steps. Can u share on this thread.

Thanks
Chetan


Note:

If you are posting an issue,

  1. ERPNext is a free and open source software and support is given on this forum by a team (Not Found). So please consider donating if you find this forum useful (Not Found). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/242e197e-b718-4282-9608-9efcd5f39139%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

On Wed, Aug 27, 2014 at 9:01 PM, chetan sharma sh...@gmail.com wrote:

Hi bala
Did you get the details of next steps. Can u share on this thread.

Thanks
Chetan

You should upgrade to the new bench at GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps

Install the erpnext-demo app,

cd frappe-bench
bench get-app erpnext_demo https://github.com/frappe/erpnext-demo
bench frappe --reinstall -f # WIPE ALL DATA FROM CURRENT SITE
bench frappe --install_app erpnext_demo


Note:

If you are posting an issue,

  1. ERPNext is a free and open source software and support is given on this forum by a team (Not Found). So please consider donating if you find this forum useful (Not Found). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/242e197e-b718-4282-9608-9efcd5f39139%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Pratik
erpnext

Great Pratik. I will test it out during the weekend and report what I find.

On Aug 27, 2014 4:24 PM, "Pratik Vyas" <pd...@gmail.com> wrote:
On Wed, Aug 27, 2014 at 9:01 PM, chetan sharma <sh...@gmail.com> wrote:
> Hi bala
> Did you get the details of next steps. Can u share on this thread.
>
> Thanks
> Chetan
>

You should upgrade to the new bench at https://github.com/frappe/bench

Install the erpnext-demo app,

```
cd frappe-bench
bench get-app erpnext_demo https://github.com/frappe/erpnext-demo
bench frappe --reinstall -f # WIPE ALL DATA FROM CURRENT SITE
bench frappe --install_app erpnext_demo
```

> --
> Note:
>
> If you are posting an issue,
>
> 1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

> 2. 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.

> 3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

> 4. 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.

> To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/242e197e-b718-4282-9608-9efcd5f39139%40googlegroups.com.

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









Pratik

erpnext





Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. 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.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. 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 a topic in the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/PcLNiW6HRpw/unsubscribe.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAG8U0E%3D6sZXtitgbcMRj8WHBABVznamUGdsnGuwvDqSHCSROSg%40mail.gmail.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAHgQCebxq6a0VzzPX_HMXmKcoAmN%3DvH6dTsvnnOtzH1MZf8ARA%40mail.gmail.com.

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

In order to setup erpnext demo, I performed below steps. Please confirm it these are correct? 
bench init frappe-bench 
bench get-app erpnext https://github.com/frappe/erpnext
bench new-site mysite
bench frappe --install_app erpnext mysite
bench get-app erpnext_demo https://github.com/frappe/erpnext-demo
bench frappe --install_app erpnext_demo mysite 

I get below error when I ran "bench frappe --install_app erpnext_demo mysite".

Traceback (most recent call last):
  File "/var/www/frappe-bench/env/bin/frappe", line 9, in <module>
    load_entry_point('frappe==4.1.0', 'console_scripts', 'frappe')()
  File "/var/www/frappe-bench/apps/frappe/frappe/cli.py", line 53, in main
    return run(fn, parsed_args)
  File "/var/www/frappe-bench/apps/frappe/frappe/cli.py", line 81, in run
    out = globals().get(fn)(*args.get(fn), **args)
  File "/var/www/frappe-bench/apps/frappe/frappe/cli.py", line 67, in new_fn
    return fn(*args, **new_kwargs)
  File "/var/www/frappe-bench/apps/frappe/frappe/cli.py", line 347, in install_app
    install_app(app_name, verbose=verbose)
  File "/var/www/frappe-bench/apps/frappe/frappe/installer.py", line 117, in install_app
    frappe.get_attr(after_install)()
  File "/var/www/frappe-bench/apps/erpnext_demo/erpnext_demo/utils.py", line 35, in make_demo
    make_demo_login_page()
  File "/var/www/frappe-bench/apps/erpnext_demo/erpnext_demo/utils.py", line 98, in make_demo_login_page
    website_settings.save()
  File "/var/www/frappe-bench/apps/frappe/frappe/model/document.py", line 177, in save
    self.run_before_save_methods()
  File "/var/www/frappe-bench/apps/frappe/frappe/model/document.py", line 421, in run_before_save_methods
    self.run_method("validate")
  File "/var/www/frappe-bench/apps/frappe/frappe/model/document.py", line 406, in run_method
    return Document.hook(fn)(self, *args, **kwargs)
  File "/var/www/frappe-bench/apps/frappe/frappe/model/document.py", line 484, in composer
    return composed(self, method, *args, **kwargs)
  File "/var/www/frappe-bench/apps/frappe/frappe/model/document.py", line 467, in runner
    add_to_return_value(self, fn(self, *args, **kwargs))
  File "/var/www/frappe-bench/apps/frappe/frappe/model/document.py", line 400, in <lambda>
    fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  File "/var/www/frappe-bench/apps/frappe/frappe/website/doctype/website_settings/website_settings.py", line 16, in validate
    self.validate_home_page()
  File "/var/www/frappe-bench/apps/frappe/frappe/website/doctype/website_settings/website_settings.py", line 20, in validate_home_page
    frappe.throw(_("Invalid Home Page") + " (Standard pages - index, login, products, blog, about, contact)")
  File "/var/www/frappe-bench/apps/frappe/frappe/__init__.py", line 202, in throw
    msgprint(msg, raise_exception=exc)
  File "/var/www/frappe-bench/apps/frappe/frappe/__init__.py", line 199, in msgprint
    _raise_exception()
  File "/var/www/frappe-bench/apps/frappe/frappe/__init__.py", line 183, in _raise_exception
    raise raise_exception, msg
frappe.exceptions.ValidationError: Invalid Home Page (Standard pages - index, login, products, blog, about, contact)

Please help to resolve it. Thanks.

Kind regards,
Mayur Patel



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/4feb4456-057f-41cb-9f80-e1afdb266de5%40googlegroups.com.

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

Fixed - please pull are reinstall.

Thanks for reporting.

best,
Rushabh



@rushabh_mehta

On 02-Sep-2014, at 8:40 pm, MP <ma...@gmail.com> wrote:

Hi Pratik,

In order to setup erpnext demo, I performed below steps. Please confirm it these are correct? 
bench init frappe-bench 
bench get-app erpnext https://github.com/frappe/erpnext
bench new-site mysite
bench frappe --install_app erpnext mysite
bench get-app erpnext_demo https://github.com/frappe/erpnext-demo
bench frappe --install_app erpnext_demo mysite 

I get below error when I ran "bench frappe --install_app erpnext_demo mysite".

Traceback (most recent call last):
  File "/var/www/frappe-bench/env/bin/frappe", line 9, in <module>
    load_entry_point('frappe==4.1.0', 'console_scripts', 'frappe')()
  File "/var/www/frappe-bench/apps/frappe/frappe/cli.py", line 53, in main
    return run(fn, parsed_args)
  File "/var/www/frappe-bench/apps/frappe/frappe/cli.py", line 81, in run
    out = globals().get(fn)(*args.get(fn), **args)
  File "/var/www/frappe-bench/apps/frappe/frappe/cli.py", line 67, in new_fn
    return fn(*args, **new_kwargs)
  File "/var/www/frappe-bench/apps/frappe/frappe/cli.py", line 347, in install_app
    install_app(app_name, verbose=verbose)
  File "/var/www/frappe-bench/apps/frappe/frappe/installer.py", line 117, in install_app
    frappe.get_attr(after_install)()
  File "/var/www/frappe-bench/apps/erpnext_demo/erpnext_demo/utils.py", line 35, in make_demo
    make_demo_login_page()
  File "/var/www/frappe-bench/apps/erpnext_demo/erpnext_demo/utils.py", line 98, in make_demo_login_page
    website_settings.save()
  File "/var/www/frappe-bench/apps/frappe/frappe/model/document.py", line 177, in save
    self.run_before_save_methods()
  File "/var/www/frappe-bench/apps/frappe/frappe/model/document.py", line 421, in run_before_save_methods
    self.run_method("validate")
  File "/var/www/frappe-bench/apps/frappe/frappe/model/document.py", line 406, in run_method
    return Document.hook(fn)(self, *args, **kwargs)
  File "/var/www/frappe-bench/apps/frappe/frappe/model/document.py", line 484, in composer
    return composed(self, method, *args, **kwargs)
  File "/var/www/frappe-bench/apps/frappe/frappe/model/document.py", line 467, in runner
    add_to_return_value(self, fn(self, *args, **kwargs))
  File "/var/www/frappe-bench/apps/frappe/frappe/model/document.py", line 400, in <lambda>
    fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  File "/var/www/frappe-bench/apps/frappe/frappe/website/doctype/website_settings/website_settings.py", line 16, in validate
    self.validate_home_page()
  File "/var/www/frappe-bench/apps/frappe/frappe/website/doctype/website_settings/website_settings.py", line 20, in validate_home_page
    frappe.throw(_("Invalid Home Page") + " (Standard pages - index, login, products, blog, about, contact)")
  File "/var/www/frappe-bench/apps/frappe/frappe/__init__.py", line 202, in throw
    msgprint(msg, raise_exception=exc)
  File "/var/www/frappe-bench/apps/frappe/frappe/__init__.py", line 199, in msgprint
    _raise_exception()
  File "/var/www/frappe-bench/apps/frappe/frappe/__init__.py", line 183, in _raise_exception
    raise raise_exception, msg
frappe.exceptions.ValidationError: Invalid Home Page (Standard pages - index, login, products, blog, about, contact)

Please help to resolve it. Thanks.

Kind regards,
Mayur Patel




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/4feb4456-057f-41cb-9f80-e1afdb266de5%40googlegroups.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/5F4BB7CA-CD2C-431A-9E97-6CDC4C56103B%40gmail.com.

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

It worked. Only thing I noticed that on the main page of the site it shows "We are very sorry for this, but the page you are looking for is missing (this could be because of a typo in the address) or moved.". But all other links are functional.

Kind regards,
Mayur Patel



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1fe0fd52-8c79-42d5-967d-aa492d650514%40googlegroups.com.

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

On 03-Sep-2014, at 8:27 pm, MP <ma...@gmail.com> wrote:

Thanks Rushabh.

It worked. Only thing I noticed that on the main page of the site it shows "We are very sorry for this, but the page you are looking for is missing (this could be because of a typo in the address) or moved.". But all other links are functional.

/index?

that is disabled for demo.


Kind regards,
Mayur Patel



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1fe0fd52-8c79-42d5-967d-aa492d650514%40googlegroups.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/24CAABF1-3585-4F13-93E3-7C4A318EFD2F%40gmail.com.

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