Website Settings Landing Page

Hi,

First of all, great piece of software. I have installed and
played around with a few instances over the last few months. Great Job!

I
started with the debian ubuntu .vdi image that was available a few
months back. I just updated to the newest version of erpnext. When
trying to set the “Landing Page” in the Website Settings, I encountered
an error. Here is the javascript console text:


[21:00:01.054] Traceback (innermost last):
  File “…/lib/webnotes/widgets/form/save.py”, line 36, in savedocs
    getattr(wrapper, action.lower())()
  File “…/lib/webnotes/model/bean.py”, line 257, in save
    self.run_method(‘on_update’)
  File “…/lib/webnotes/model/bean.py”, line 191, in run_method
    getattr(self.obj, method)()
  File “…/app/website/doctype/website_settings/website_settings.py”, line 28, in on_update
    make()
  File “…/app/website/helpers/make_web_include_files.py”, line 19, in make
    with open(fname, ‘w’) as f:
 IOError: [Errno 13] Permission denied: 'js/wn-web.js’

Traceback (innermost last):
  File “…/lib/webnotes/handler.py”, line 162, in handle
    execute_cmd(cmd)
  File “…/lib/webnotes/handler.py”, line 195, in execute_cmd
    ret = call(method, webnotes.form_dict)
  File “…/lib/webnotes/handler.py”, line 212, in call
    return fn(**newargs)
  File “…/lib/webnotes/widgets/form/save.py”, line 45, in savedocs
    raise e
 IOError: [Errno 13] Permission denied: 'js/wn-web.js’


It
appears I have a permission denied error. How can I fix this? I am
trying to do this under “administrator”. Also, I have changed the
password for “administrator” a few weeks back. I have also verified that
“administrator” has a checkmark for “Website Manager” in its profile
page, thus giving it permission as a Website Manager.

Also, a message window comes up that says “Did not save” after typing
“home” into the Home Page field of the Landing Page section.

Again, I LOVE this software package and would like to get it rolling.

Please advise,

fbdystang



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 post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/A9durWeGSM4J.

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

 

 

Hi,

Which folders can you see in the folder where you installed erpnext. 

You should see the following structure. 
app/
lib/
public/
conf.py

App folder has erpnext repository
Lib folder has wnframework repository

Let us know if you have this folder structure or not 

Sent from my phone

On 02-Mar-2013, at 10:51 AM, fbdystang <fb...@yahoo.com> wrote:

Hi,

First of all, great piece of software. I have installed and played around with a few instances over the last few months. Great Job!

I started with the debian ubuntu .vdi image that was available a few months back. I just updated to the newest version of erpnext. When trying to set the "Landing Page" in the Website Settings, I encountered an error. Here is the javascript console text:


[21:00:01.054] Traceback (innermost last):
  File "../lib/webnotes/widgets/form/save.py", line 36, in savedocs
    getattr(wrapper, action.lower())()
  File "../lib/webnotes/model/bean.py", line 257, in save
    self.run_method('on_update')
  File "../lib/webnotes/model/bean.py", line 191, in run_method
    getattr(self.obj, method)()
  File "../app/website/doctype/website_settings/website_settings.py", line 28, in on_update
    make()
  File "../app/website/helpers/make_web_include_files.py", line 19, in make
    with open(fname, 'w') as f:
 IOError: [Errno 13] Permission denied: 'js/wn-web.js'

Traceback (innermost last):
  File "../lib/webnotes/handler.py", line 162, in handle
    execute_cmd(cmd)
  File "../lib/webnotes/handler.py", line 195, in execute_cmd
    ret = call(method, webnotes.form_dict)
  File "../lib/webnotes/handler.py", line 212, in call
    return fn(**newargs)
  File "../lib/webnotes/widgets/form/save.py", line 45, in savedocs
    raise e
 IOError: [Errno 13] Permission denied: 'js/wn-web.js'


It appears I have a permission denied error. How can I fix this? I am trying to do this under "administrator". Also, I have changed the password for "administrator" a few weeks back. I have also verified that "administrator" has a checkmark for "Website Manager" in its profile page, thus giving it permission as a Website Manager.

Also, a message window comes up that says "Did not save" after typing "home" into the Home Page field of the Landing Page section.

Again, I LOVE this software package and would like to get it rolling.

Please advise,

fbdystang



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 post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/A9durWeGSM4J.

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

 

 



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 post to this group, send email to er...@googlegroups.com.

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

 

 

Hi Anand,

Yes I do have this same structure. I did not install it, rather I simply just attached the available .vdi file to my virtualbox. So this folder structure should be similar to what was available on the website a month ago

App, lib, logs, public folders are all owned by www-data. They are also in the group www-data. “conf.pyc” however is owned by root and in the group root.

make_web_include_files.py  is owned by root and in the group root

save.py is also owned by root and in the group root. However, save.pyc is owned by www-data.

It appears that all directories and .pyc files are owned by www-data, and all .py files are owned by root.

Do I need to change ownership of all files?

I hope this helps, please advise

fbdystang



On Friday, March 1, 2013 10:43:46 PM UTC-7, Anand Doshi wrote:

Hi,

Which folders can you see in the folder where you installed erpnext. 

You should see the following structure. 
app/
lib/
public/
conf.py

App folder has erpnext repository
Lib folder has wnframework repository

Let us know if you have this folder structure or not 

Sent from my phone

On 02-Mar-2013, at 10:51 AM, fbdystang <fb…@yahoo.com> wrote:

Hi,

First of all, great piece of software. I have installed and
played around with a few instances over the last few months. Great Job!

I
started with the debian ubuntu .vdi image that was available a few
months back. I just updated to the newest version of erpnext. When
trying to set the “Landing Page” in the Website Settings, I encountered
an error. Here is the javascript console text:


[21:00:01.054] Traceback (innermost last):
  File “…/lib/webnotes/widgets/form/save.py”, line 36, in savedocs
    getattr(wrapper, action.lower())()
  File “…/lib/webnotes/model/bean.py”, line 257, in save
    self.run_method(‘on_update’)
  File “…/lib/webnotes/model/bean.py”, line 191, in run_method
    getattr(self.obj, method)()
  File “…/app/website/doctype/website_settings/website_settings.py”, line 28, in on_update
    make()
  File “…/app/website/helpers/make_web_include_files.py”, line 19, in make
    with open(fname, ‘w’) as f:
 IOError: [Errno 13] Permission denied: 'js/wn-web.js’

Traceback (innermost last):
  File “…/lib/webnotes/handler.py”, line 162, in handle
    execute_cmd(cmd)
  File “…/lib/webnotes/handler.py”, line 195, in execute_cmd
    ret = call(method, webnotes.form_dict)
  File “…/lib/webnotes/handler.py”, line 212, in call
    return fn(**newargs)
  File “…/lib/webnotes/widgets/form/save.py”, line 45, in savedocs
    raise e
 IOError: [Errno 13] Permission denied: 'js/wn-web.js’


It
appears I have a permission denied error. How can I fix this? I am
trying to do this under “administrator”. Also, I have changed the
password for “administrator” a few weeks back. I have also verified that
“administrator” has a checkmark for “Website Manager” in its profile
page, thus giving it permission as a Website Manager.

Also, a message window comes up that says “Did not save” after typing
“home” into the Home Page field of the Landing Page section.

Again, I LOVE this software package and would like to get it rolling.

Please advise,

fbdystang



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 post to this group, send email to erpnext-dev…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/A9durWeGSM4J.

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

 

 



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 post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/xjcm4G6tniUJ.

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

 

 

Hi,

Yes, please change the py files to www-data user and group. Use:

sudo chown -R www-data:www-data [ERPNEXT INSTALL FOLDER]

sudo password will be erpnext

Thanks,
Anand.

On 02-Mar-2013, at 7:48 PM, fbdystang <fb...@yahoo.com> wrote:

Hi Anand,

Yes I do have this same structure. I did not install it, rather I simply just attached the available .vdi file to my virtualbox. So this folder structure should be similar to what was available on the website a month ago

App, lib, logs, public folders are all owned by www-data. They are also in the group www-data. "conf.pyc" however is owned by root and in the group root.

make_web_include_files.py  is owned by root and in the group root

save.py is also owned by root and in the group root. However, save.pyc is owned by www-data.

It appears that all directories and .pyc files are owned by www-data, and all .py files are owned by root.

Do I need to change ownership of all files?

I hope this helps, please advise

fbdystang



On Friday, March 1, 2013 10:43:46 PM UTC-7, Anand Doshi wrote:
Hi,

Which folders can you see in the folder where you installed erpnext. 

You should see the following structure. 
app/
lib/
public/
conf.py

App folder has erpnext repository
Lib folder has wnframework repository

Let us know if you have this folder structure or not 

Sent from my phone

On 02-Mar-2013, at 10:51 AM, fbdystang <fb...@yahoo.com> wrote:

Hi,

First of all, great piece of software. I have installed and played around with a few instances over the last few months. Great Job!

I started with the debian ubuntu .vdi image that was available a few months back. I just updated to the newest version of erpnext. When trying to set the "Landing Page" in the Website Settings, I encountered an error. Here is the javascript console text:


[21:00:01.054] Traceback (innermost last):
  File "../lib/webnotes/widgets/form/save.py", line 36, in savedocs
    getattr(wrapper, action.lower())()
  File "../lib/webnotes/model/bean.py", line 257, in save
    self.run_method('on_update')
  File "../lib/webnotes/model/bean.py", line 191, in run_method
    getattr(self.obj, method)()
  File "../app/website/doctype/website_settings/website_settings.py", line 28, in on_update
    make()
  File "../app/website/helpers/make_web_include_files.py", line 19, in make
    with open(fname, 'w') as f:
 IOError: [Errno 13] Permission denied: 'js/wn-web.js'

Traceback (innermost last):
  File "../lib/webnotes/handler.py", line 162, in handle
    execute_cmd(cmd)
  File "../lib/webnotes/handler.py", line 195, in execute_cmd
    ret = call(method, webnotes.form_dict)
  File "../lib/webnotes/handler.py", line 212, in call
    return fn(**newargs)
  File "../lib/webnotes/widgets/form/save.py", line 45, in savedocs
    raise e
 IOError: [Errno 13] Permission denied: 'js/wn-web.js'


It appears I have a permission denied error. How can I fix this? I am trying to do this under "administrator". Also, I have changed the password for "administrator" a few weeks back. I have also verified that "administrator" has a checkmark for "Website Manager" in its profile page, thus giving it permission as a Website Manager.

Also, a message window comes up that says "Did not save" after typing "home" into the Home Page field of the Landing Page section.

Again, I LOVE this software package and would like to get it rolling.

Please advise,

fbdystang



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 post to this group, send email to erpnext-dev…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/A9durWeGSM4J.

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

 

 




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 post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/xjcm4G6tniUJ.

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

 

 




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 post to this group, send email to er...@googlegroups.com.

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

 

 

Anand,

That worked perfectly. Thank you for your time and effort into this software package. It is amazing. I can’t wait to see the shopping cart addition in a few weeks. I know PCI compliance is dependant on hardware among other things, but is PCI compliance on the list of important things for the shopping cart?

Thanks!

fbdystang

On Friday, March 1, 2013 10:21:15 PM UTC-7, fbdystang wrote:

Hi,

First of all, great piece of software. I have installed and
played around with a few instances over the last few months. Great Job!

I
started with the debian ubuntu .vdi image that was available a few
months back. I just updated to the newest version of erpnext. When
trying to set the “Landing Page” in the Website Settings, I encountered
an error. Here is the javascript console text:


[21:00:01.054] Traceback (innermost last):
  File “…/lib/webnotes/widgets/form/save.py”, line 36, in savedocs
    getattr(wrapper, action.lower())()
  File “…/lib/webnotes/model/bean.py”, line 257, in save
    self.run_method(‘on_update’)
  File “…/lib/webnotes/model/bean.py”, line 191, in run_method
    getattr(self.obj, method)()
  File “…/app/website/doctype/website_settings/website_settings.py”, line 28, in on_update
    make()
  File “…/app/website/helpers/make_web_include_files.py”, line 19, in make
    with open(fname, ‘w’) as f:
 IOError: [Errno 13] Permission denied: 'js/wn-web.js’

Traceback (innermost last):
  File “…/lib/webnotes/handler.py”, line 162, in handle
    execute_cmd(cmd)
  File “…/lib/webnotes/handler.py”, line 195, in execute_cmd
    ret = call(method, webnotes.form_dict)
  File “…/lib/webnotes/handler.py”, line 212, in call
    return fn(**newargs)
  File “…/lib/webnotes/widgets/form/save.py”, line 45, in savedocs
    raise e
 IOError: [Errno 13] Permission denied: 'js/wn-web.js’


It
appears I have a permission denied error. How can I fix this? I am
trying to do this under “administrator”. Also, I have changed the
password for “administrator” a few weeks back. I have also verified that
“administrator” has a checkmark for “Website Manager” in its profile
page, thus giving it permission as a Website Manager.

Also, a message window comes up that says “Did not save” after typing
“home” into the Home Page field of the Landing Page section.

Again, I LOVE this software package and would like to get it rolling.

Please advise,

fbdystang



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 post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/SnZVySEsrs4J.

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

 

 

Hi,

In the first cut (whenever that comes out), we will for sure not store any sensitive information like Credit Card details. Payment will be via 3rd parties like PayPal etc.

best,
Rushabh


W: https://erpnext.com
T: @rushabh_mehta

On 02-Mar-2013, at 9:28 PM, fbdystang <fb...@yahoo.com> wrote:

Anand,

That worked perfectly. Thank you for your time and effort into this software package. It is amazing. I can't wait to see the shopping cart addition in a few weeks. I know PCI compliance is dependant on hardware among other things, but is PCI compliance on the list of important things for the shopping cart?

Thanks!

fbdystang

On Friday, March 1, 2013 10:21:15 PM UTC-7, fbdystang wrote:
Hi,

First of all, great piece of software. I have installed and played around with a few instances over the last few months. Great Job!

I started with the debian ubuntu .vdi image that was available a few months back. I just updated to the newest version of erpnext. When trying to set the "Landing Page" in the Website Settings, I encountered an error. Here is the javascript console text:


[21:00:01.054] Traceback (innermost last):
  File "../lib/webnotes/widgets/form/save.py", line 36, in savedocs
    getattr(wrapper, action.lower())()
  File "../lib/webnotes/model/bean.py", line 257, in save
    self.run_method('on_update')
  File "../lib/webnotes/model/bean.py", line 191, in run_method
    getattr(self.obj, method)()
  File "../app/website/doctype/website_settings/website_settings.py", line 28, in on_update
    make()
  File "../app/website/helpers/make_web_include_files.py", line 19, in make
    with open(fname, 'w') as f:
 IOError: [Errno 13] Permission denied: 'js/wn-web.js'

Traceback (innermost last):
  File "../lib/webnotes/handler.py", line 162, in handle
    execute_cmd(cmd)
  File "../lib/webnotes/handler.py", line 195, in execute_cmd
    ret = call(method, webnotes.form_dict)
  File "../lib/webnotes/handler.py", line 212, in call
    return fn(**newargs)
  File "../lib/webnotes/widgets/form/save.py", line 45, in savedocs
    raise e
 IOError: [Errno 13] Permission denied: 'js/wn-web.js'


It appears I have a permission denied error. How can I fix this? I am trying to do this under "administrator". Also, I have changed the password for "administrator" a few weeks back. I have also verified that "administrator" has a checkmark for "Website Manager" in its profile page, thus giving it permission as a Website Manager.

Also, a message window comes up that says "Did not save" after typing "home" into the Home Page field of the Landing Page section.

Again, I LOVE this software package and would like to get it rolling.

Please advise,

fbdystang



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 post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/SnZVySEsrs4J.

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

 

 




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 post to this group, send email to er...@googlegroups.com.

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