Unable to launch the ERPNext

Hello

As per below given link. I have done all the settings. Installation is completed successfully.
https://github.com/webnotes/erpnext/wiki/How-to-install-ERPNext

But still I m not able to run the ERPNext. following error occurred. 

Forbidden

You don’t have permission to access /web.py on this server.


Apache/2.2.15 (CentOS) Server at 172.100.1.31 Port 8080

Please help me.

Warm Regards,
Prasad Bandale



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

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

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

 

 

Prasad,

You need to give read + write  + execute permissions on the public folder.

Please make sure you have added all the apache http settings correctly

- Rushabh


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

On 28-Nov-2012, at 10:37 AM, Prasad Bandale <pr...@gmail.com> wrote:

Hello
As per below given link. I have done all the settings. Installation is completed successfully.

But still I m not able to run the ERPNext. following error occurred. 

Forbidden

You don't have permission to access /web.py on this server.


Apache/2.2.15 (CentOS) Server at 172.100.1.31 Port 8080

Please help me.

Warm Regards,
Prasad Bandale




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

To post to this group, send email to er…@googlegroups.com.

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

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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

After giving read + write  + execute permissions on the public folder, it is showing same error.



On Wednesday, November 28, 2012 10:42:33 AM UTC+5:30, rushabh wrote:

Prasad,

You need to give read + write  + execute permissions on the public folder.

Please make sure you have added all the apache http settings correctly

- Rushabh


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

On 28-Nov-2012, at 10:37 AM, Prasad Bandale <pr...@gmail.com> wrote:

Hello
As per below given link. I have done all the settings. Installation is completed successfully.

But still I m not able to run the ERPNext. following error occurred. 

Forbidden

You don't have permission to access /web.py on this server.


Apache/2.2.15 (CentOS) Server at 172.100.1.31 Port 8080

Please help me.

Warm Regards,
Prasad Bandale




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

To post to this group, send email to erpnext-dev…@googlegroups.com.

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

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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

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

 

 

You will have to debug your apache settings. Really hard to tell without more details.

Sent from mobile

On 28-Nov-2012, at 10:58 AM, Prasad Bandale <pr...@gmail.com> wrote:

After giving read + write  + execute permissions on the public folder, it is showing same error.



On Wednesday, November 28, 2012 10:42:33 AM UTC+5:30, rushabh wrote:
Prasad,

You need to give read + write  + execute permissions on the public folder.

Please make sure you have added all the apache http settings correctly

- Rushabh


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

On 28-Nov-2012, at 10:37 AM, Prasad Bandale <pr...@gmail.com> wrote:

Hello
As per below given link. I have done all the settings. Installation is completed successfully.

But still I m not able to run the ERPNext. following error occurred. 

Forbidden

You don't have permission to access /web.py on this server.


Apache/2.2.15 (CentOS) Server at 172.100.1.31 Port 8080

Please help me.

Warm Regards,
Prasad Bandale




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

To post to this group, send email to erpnext-dev…@googlegroups.com.

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

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

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

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

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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

Prasad,

check the permission of web.py using ls -l public when you are in erpnext folder

if its permission is not set to rwxrwxrwx set permission of web.py using chmod 777 web.py 

also check the permission of erpnext folder is rwxr-xr-x.




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

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

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

 

 

Dear Madhan kumar
web.py (~/erpnext/public/) link has a 777 permission & orginal location (~/erpnext/lib/public/html) has a 755 permission.
when I typed http://localhost:8080, it shows content of the file.


On Friday, November 30, 2012 10:39:29 AM UTC+5:30, Madhan kumar wrote:

Prasad,

check the permission of web.py using ls -l public when you are in erpnext folder

if its permission is not set to rwxrwxrwx set permission of web.py using chmod 777 web.py 

also check the permission of erpnext folder is rwxr-xr-x.




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

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

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

 

 

Prasad,

You have not setup the cgi handlers in Apache. Please check the apache settings in the Install page.

best,
Rushabh


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

On 30-Nov-2012, at 12:44 PM, Prasad Bandale <pr...@gmail.com> wrote:

Dear Madhan kumar
web.py (~/erpnext/public/) link has a 777 permission & orginal location (~/erpnext/lib/public/html) has a 755 permission.
when I typed http://localhost:8080, it shows content of the file.


On Friday, November 30, 2012 10:39:29 AM UTC+5:30, Madhan kumar wrote:
Prasad,

check the permission of web.py using ls -l public when you are in erpnext folder

if its permission is not set to rwxrwxrwx set permission of web.py using chmod 777 web.py 

also check the permission of erpnext folder is rwxr-xr-x.





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

To post to this group, send email to er…@googlegroups.com.

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

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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

url :// localhost:8080
getting following error,
--> --> -->


<type 'exceptions.ImportError'>
Python 2.6.6: /usr/bin/python

Sat Dec 22 12:41:50 2012

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

/var/www/html/erpnext/public/web.py in ()
44 return website.utils.render(webnotes.form_dict.get('page'))
45
46 if __name__=="__main__":
47 init()
48 respond()
respond = <function respond>
/var/www/html/erpnext/public/web.py in respond()
42 import webnotes
43 import website.utils
44 return website.utils.render(webnotes.form_dict.get('page'))
45
46 if __name__=="__main__":
website = <module 'website' from '../app/website/__init__.pyc'>, website.utils = <module 'website.utils' from '../app/website/utils.pyc'>, website.utils.render = <function render>, webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.form_dict = {}, webnotes.form_dict.get = <built-in method get of _dict object>
/var/www/html/erpnext/app/website/utils.py in render(page_name=None)
49 html = get_html('index')
50 except Exception, e:
51 html = get_html('error')
52
53 from webnotes.handler import eprint, print_zip
html undefined, global get_html = <function get_html>
/var/www/html/erpnext/app/website/utils.py in get_html(page_name=u'error')
67
68 if not html:
69 html = load_into_cache(page_name)
70 from_cache = False
71
html = None, global load_into_cache = <function load_into_cache>, page_name = u'error'
/var/www/html/erpnext/app/website/utils.py in load_into_cache(page_name=u'error')
114 if not args:
115 return ""
116 html = build_html(args)
117 webnotes.cache().set_value("page:" + page_name, html)
118 return html
html undefined, global build_html = <function build_html>, args = {u'brand': u'ERPNext', u'copyright': None, u'favicon': None, u'footer_items': [], u'int': <type 'int'>, u'name': u'error', u'template': u'pages/error.html', u'top_bar_items': []}
/var/www/html/erpnext/app/website/utils.py in build_html(args={u'brand': u'ERPNext', u'copyright': None, u'favicon': None, u'footer_items': [], u'int': <type 'int'>, u'name': u'error', u'template': u'pages/error.html', u'top_bar_items': []})
119
120 def build_html(args):
121 from jinja2 import Environment, FileSystemLoader
122
123 templates_path = os.path.join(os.path.dirname(conf.__file__),
jinja2 undefined, Environment undefined, FileSystemLoader undefined

<type 'exceptions.ImportError'>: No module named jinja2
args = ('No module named jinja2',)
message = 'No module named jinja2'

---------------------------------------------------------------------------------------------------------------------------------------------------------------

httpd.conf file settings as follows

<VirtualHost *:8080>
DocumentRoot "/var/www/html/erpnext/public"
ServerName localhost
AddHandler cgi-script .cgi .xml .py
<Directory "/var/www/html/erpnext/public">

            # directory specific options<br>                Options -Indexes +FollowSymLinks +ExecCGI<br><br>                # directory&#39;s index file<br>                DirectoryIndex web.py<br><br>                # rewrite rule<br>

            RewriteEngine on<br><br>                # condition 1:<br>                # ignore login-page.html, app.html, blank.html, unsupported.html<br>                RewriteCond %{REQUEST_URI} ^((?!app\.html|blank\.html|unsupported\.html).)*$<br>


# condition 2: if there are no slashes
# and file is .html or does not containt a .
RewriteCond %{REQUEST_URI} ^(?!.+/)((.+.html)|([^.]+))$

# rewrite if both of the above conditions are true

            RewriteRule ^(.+)$ web.py?page=$1 [NC,L]<br><br>                AllowOverride all<br>                Order Allow,Deny<br>                Allow from all<br>        &lt;/Directory&gt;<br>&lt;/VirtualHost&gt;<br>







Prasad
http://prasadbandale.blogspot.com/




On Fri, Nov 30, 2012 at 2:17 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Prasad,

You have not setup the cgi handlers in Apache. Please check the apache settings in the Install page.

best,
On 30-Nov-2012, at 12:44 PM, Prasad Bandale <pr...@gmail.com> wrote:

Dear Madhan kumar
web.py (~/erpnext/public/) link has a 777 permission & orginal location (~/erpnext/lib/public/html) has a 755 permission.
when I typed http://localhost:8080, it shows content of the file.



On Friday, November 30, 2012 10:39:29 AM UTC+5:30, Madhan kumar wrote:

Prasad,

check the permission of web.py using ls -l public when you are in erpnext folder

if its permission is not set to rwxrwxrwx set permission of web.py using chmod 777 web.py

also check the permission of erpnext folder is rwxr-xr-x.





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

To post to this group, send email to er…@googlegroups.com.

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

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

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

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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

You will have to install the python library jinja2. Please see install instructions.

sudo easy_install jinja2

Should fix it

Sent from mobile

On 22-Dec-2012, at 12:48 PM, Prasad Bandale <pr...@gmail.com> wrote:

url :// localhost:8080
getting following error,
--> --> -->
 
 
<type 'exceptions.ImportError'>
Python 2.6.6: /usr/bin/python

Sat Dec 22 12:41:50 2012

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /var/www/html/erpnext/public/web.py in ()
   44         return website.utils.render(webnotes.form_dict.get('page'))
   45 
   46 if __name__=="__main__":
   47         init()
   48         respond()
respond = <function respond>
 /var/www/html/erpnext/public/web.py in respond()
   42         import webnotes
   43         import website.utils
   44         return website.utils.render(webnotes.form_dict.get('page'))
   45 
   46 if __name__=="__main__":
website = <module 'website' from '../app/website/__init__.pyc'>, website.utils = <module 'website.utils' from '../app/website/utils.pyc'>, website.utils.render = <function render>, webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.form_dict = {}, webnotes.form_dict.get = <built-in method get of _dict object>
 /var/www/html/erpnext/app/website/utils.py in render(page_name=None)
   49                         html = get_html('index')
   50         except Exception, e:
   51                 html = get_html('error')
   52 
   53         from webnotes.handler import eprint, print_zip
html undefined, global get_html = <function get_html>
 /var/www/html/erpnext/app/website/utils.py in get_html(page_name=u'error')
   67 
   68         if not html:
   69                 html = load_into_cache(page_name)
   70                 from_cache = False
   71         
html = None, global load_into_cache = <function load_into_cache>, page_name = u'error'
 /var/www/html/erpnext/app/website/utils.py in load_into_cache(page_name=u'error')
  114         if not args:
  115                 return ""
  116         html = build_html(args)
  117         webnotes.cache().set_value("page:" + page_name, html)
  118         return html
html undefined, global build_html = <function build_html>, args = {u'brand': u'ERPNext', u'copyright': None, u'favicon': None, u'footer_items': [], u'int': <type 'int'>, u'name': u'error', u'template': u'pages/error.html', u'top_bar_items': []}
 /var/www/html/erpnext/app/website/utils.py in build_html(args={u'brand': u'ERPNext', u'copyright': None, u'favicon': None, u'footer_items': [], u'int': <type 'int'>, u'name': u'error', u'template': u'pages/error.html', u'top_bar_items': []})
  119 
  120 def build_html(args):
  121         from jinja2 import Environment, FileSystemLoader
  122 
  123         templates_path = os.path.join(os.path.dirname(conf.__file__), 
jinja2 undefined, Environment undefined, FileSystemLoader undefined

<type 'exceptions.ImportError'>: No module named jinja2
      args = ('No module named jinja2',)
      message = 'No module named jinja2'

---------------------------------------------------------------------------------------------------------------------------------------------------------------

httpd.conf file settings as follows

<VirtualHost *:8080>
DocumentRoot "/var/www/html/erpnext/public"
ServerName localhost
AddHandler cgi-script .cgi .xml .py
        <Directory “/var/www/html/erpnext/public”>

                # directory specific options
                Options -Indexes +FollowSymLinks +ExecCGI

                # directory’s index file
                DirectoryIndex web.py

                # rewrite rule

                RewriteEngine on

                # condition 1:
                # ignore login-page.html, app.html, blank.html, unsupported.html
                RewriteCond %{REQUEST_URI} ^((?!app.html|blank.html|unsupported.html).)*$


                # condition 2: if there are no slashes
                # and file is .html or does not containt a .
                RewriteCond %{REQUEST_URI} ^(?!.+/)((.+.html)|([^.]+))$

                # rewrite if both of the above conditions are true

                RewriteRule ^(.+)$ web.py?page=$1 [NC,L]

                AllowOverride all
                Order Allow,Deny
                Allow from all
        </Directory>
</VirtualHost>







Prasad
http://prasadbandale.blogspot.com/




On Fri, Nov 30, 2012 at 2:17 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Prasad,

You have not setup the cgi handlers in Apache. Please check the apache settings in the Install page.

best,
On 30-Nov-2012, at 12:44 PM, Prasad Bandale <pr...@gmail.com> wrote:

Dear Madhan kumar
web.py (~/erpnext/public/) link has a 777 permission & orginal location (~/erpnext/lib/public/html) has a 755 permission.
when I typed http://localhost:8080, it shows content of the file.



On Friday, November 30, 2012 10:39:29 AM UTC+5:30, Madhan kumar wrote:

Prasad,

check the permission of web.py using ls -l public when you are in erpnext folder

if its permission is not set to rwxrwxrwx set permission of web.py using chmod 777 web.py 

also check the permission of erpnext folder is rwxr-xr-x.





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

To post to this group, send email to er…@googlegroups.com.

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

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

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

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

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

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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

Thanks. now it is working. but I m getting 2 errors

1. while login it is giving error " memcached is not working / stopped. Please start memcached for best results."


2. while setting up Email and Notifications it is giving error “Invalid Outgoing Mail Server or Port. Please rectify and try again.”
Inline image 1

Inline image 2

Prasad

http://prasadbandale.blogspot.com/



On Sat, Dec 22, 2012 at 12:57 PM, Rushabh Mehta <rm...@gmail.com> wrote:
You will have to install the python library jinja2. Please see install instructions.

sudo easy_install jinja2

Should fix it

Sent from mobile

On 22-Dec-2012, at 12:48 PM, Prasad Bandale <pr...@gmail.com> wrote:

url :// localhost:8080
getting following error,
--> --> -->


<type 'exceptions.ImportError'>
Python 2.6.6: /usr/bin/python

Sat Dec 22 12:41:50 2012

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

/var/www/html/erpnext/public/web.py in ()
44 return website.utils.render(webnotes.form_dict.get('page'))
45
46 if __name__=="__main__":
47 init()
48 respond()
respond = <function respond>
/var/www/html/erpnext/public/web.py in respond()
42 import webnotes
43 import website.utils
44 return website.utils.render(webnotes.form_dict.get('page'))
45
46 if __name__=="__main__":
website = <module 'website' from '../app/website/__init__.pyc'>, website.utils = <module 'website.utils' from '../app/website/utils.pyc'>, website.utils.render = <function render>, webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.form_dict = {}, webnotes.form_dict.get = <built-in method get of _dict object>
/var/www/html/erpnext/app/website/utils.py in render(page_name=None)
49 html = get_html('index')
50 except Exception, e:
51 html = get_html('error')
52
53 from webnotes.handler import eprint, print_zip
html undefined, global get_html = <function get_html>
/var/www/html/erpnext/app/website/utils.py in get_html(page_name=u'error')
67
68 if not html:
69 html = load_into_cache(page_name)
70 from_cache = False
71
html = None, global load_into_cache = <function load_into_cache>, page_name = u'error'
/var/www/html/erpnext/app/website/utils.py in load_into_cache(page_name=u'error')
114 if not args:
115 return ""
116 html = build_html(args)
117 webnotes.cache().set_value("page:" + page_name, html)
118 return html
html undefined, global build_html = <function build_html>, args = {u'brand': u'ERPNext', u'copyright': None, u'favicon': None, u'footer_items': [], u'int': <type 'int'>, u'name': u'error', u'template': u'pages/error.html', u'top_bar_items': []}
/var/www/html/erpnext/app/website/utils.py in build_html(args={u'brand': u'ERPNext', u'copyright': None, u'favicon': None, u'footer_items': [], u'int': <type 'int'>, u'name': u'error', u'template': u'pages/error.html', u'top_bar_items': []})
119
120 def build_html(args):
121 from jinja2 import Environment, FileSystemLoader
122
123 templates_path = os.path.join(os.path.dirname(conf.__file__),
jinja2 undefined, Environment undefined, FileSystemLoader undefined

<type 'exceptions.ImportError'>: No module named jinja2
args = ('No module named jinja2',)
message = 'No module named jinja2'

---------------------------------------------------------------------------------------------------------------------------------------------------------------

httpd.conf file settings as follows

<VirtualHost *:8080>
DocumentRoot "/var/www/html/erpnext/public"
ServerName localhost
AddHandler cgi-script .cgi .xml .py
<Directory "/var/www/html/erpnext/public">

            # directory specific options<br>                Options -Indexes +FollowSymLinks +ExecCGI<br><br>                # directory&#39;s index file<br>                DirectoryIndex web.py<br><br>                # rewrite rule<br>




            RewriteEngine on<br><br>                # condition 1:<br>                # ignore login-page.html, app.html, blank.html, unsupported.html<br>                RewriteCond %{REQUEST_URI} ^((?!app\.html|blank\.html|unsupported\.html).)*$<br>


# condition 2: if there are no slashes
# and file is .html or does not containt a .
RewriteCond %{REQUEST_URI} ^(?!.+/)((.+.html)|([^.]+))$

# rewrite if both of the above conditions are true

            RewriteRule ^(.+)$ web.py?page=$1 [NC,L]<br><br>                AllowOverride all<br>                Order Allow,Deny<br>                Allow from all<br>        &lt;/Directory&gt;<br>&lt;/VirtualHost&gt;<br>







Prasad
http://prasadbandale.blogspot.com/




On Fri, Nov 30, 2012 at 2:17 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Prasad,

You have not setup the cgi handlers in Apache. Please check the apache settings in the Install page.

best,
On 30-Nov-2012, at 12:44 PM, Prasad Bandale <pr...@gmail.com> wrote:

Dear Madhan kumar
web.py (~/erpnext/public/) link has a 777 permission & orginal location (~/erpnext/lib/public/html) has a 755 permission.
when I typed http://localhost:8080, it shows content of the file.



On Friday, November 30, 2012 10:39:29 AM UTC+5:30, Madhan kumar wrote:

Prasad,

check the permission of web.py using ls -l public when you are in erpnext folder

if its permission is not set to rwxrwxrwx set permission of web.py using chmod 777 web.py

also check the permission of erpnext folder is rwxr-xr-x.





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

To post to this group, send email to er…@googlegroups.com.

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

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

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

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

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

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

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

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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

Both messages are self explanatory!

Sent from mobile

On 22-Dec-2012, at 5:17 PM, Prasad Bandale <pr...@gmail.com> wrote:

Thanks. now it is working. but I m getting 2 errors

1. while login it is giving error " memcached is not working / stopped. Please start memcached for best results."


2. while setting up Email and Notifications it is giving error “Invalid Outgoing Mail Server or Port. Please rectify and try again.”
<memcached error.png>

<smtp error.png>

Prasad

http://prasadbandale.blogspot.com/



On Sat, Dec 22, 2012 at 12:57 PM, Rushabh Mehta <rm...@gmail.com> wrote:
You will have to install the python library jinja2. Please see install instructions.

sudo easy_install jinja2

Should fix it

Sent from mobile

On 22-Dec-2012, at 12:48 PM, Prasad Bandale <pr...@gmail.com> wrote:

url :// localhost:8080
getting following error,
--> --> -->
 
 
<type 'exceptions.ImportError'>
Python 2.6.6: /usr/bin/python

Sat Dec 22 12:41:50 2012

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /var/www/html/erpnext/public/web.py in ()
   44         return website.utils.render(webnotes.form_dict.get('page'))
   45 
   46 if __name__=="__main__":
   47         init()
   48         respond()
respond = <function respond>
 /var/www/html/erpnext/public/web.py in respond()
   42         import webnotes
   43         import website.utils
   44         return website.utils.render(webnotes.form_dict.get('page'))
   45 
   46 if __name__=="__main__":
website = <module 'website' from '../app/website/__init__.pyc'>, website.utils = <module 'website.utils' from '../app/website/utils.pyc'>, website.utils.render = <function render>, webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.form_dict = {}, webnotes.form_dict.get = <built-in method get of _dict object>
 /var/www/html/erpnext/app/website/utils.py in render(page_name=None)
   49                         html = get_html('index')
   50         except Exception, e:
   51                 html = get_html('error')
   52 
   53         from webnotes.handler import eprint, print_zip
html undefined, global get_html = <function get_html>
 /var/www/html/erpnext/app/website/utils.py in get_html(page_name=u'error')
   67 
   68         if not html:
   69                 html = load_into_cache(page_name)
   70                 from_cache = False
   71         
html = None, global load_into_cache = <function load_into_cache>, page_name = u'error'
 /var/www/html/erpnext/app/website/utils.py in load_into_cache(page_name=u'error')
  114         if not args:
  115                 return ""
  116         html = build_html(args)
  117         webnotes.cache().set_value("page:" + page_name, html)
  118         return html
html undefined, global build_html = <function build_html>, args = {u'brand': u'ERPNext', u'copyright': None, u'favicon': None, u'footer_items': [], u'int': <type 'int'>, u'name': u'error', u'template': u'pages/error.html', u'top_bar_items': []}
 /var/www/html/erpnext/app/website/utils.py in build_html(args={u'brand': u'ERPNext', u'copyright': None, u'favicon': None, u'footer_items': [], u'int': <type 'int'>, u'name': u'error', u'template': u'pages/error.html', u'top_bar_items': []})
  119 
  120 def build_html(args):
  121         from jinja2 import Environment, FileSystemLoader
  122 
  123         templates_path = os.path.join(os.path.dirname(conf.__file__), 
jinja2 undefined, Environment undefined, FileSystemLoader undefined

<type 'exceptions.ImportError'>: No module named jinja2
      args = ('No module named jinja2',)
      message = 'No module named jinja2'

---------------------------------------------------------------------------------------------------------------------------------------------------------------

httpd.conf file settings as follows

<VirtualHost *:8080>
DocumentRoot "/var/www/html/erpnext/public"
ServerName localhost
AddHandler cgi-script .cgi .xml .py
        <Directory “/var/www/html/erpnext/public”>

                # directory specific options
                Options -Indexes +FollowSymLinks +ExecCGI

                # directory’s index file
                DirectoryIndex web.py

                # rewrite rule

                RewriteEngine on

                # condition 1:
                # ignore login-page.html, app.html, blank.html, unsupported.html
                RewriteCond %{REQUEST_URI} ^((?!app.html|blank.html|unsupported.html).)*$


                # condition 2: if there are no slashes
                # and file is .html or does not containt a .
                RewriteCond %{REQUEST_URI} ^(?!.+/)((.+.html)|([^.]+))$

                # rewrite if both of the above conditions are true

                RewriteRule ^(.+)$ web.py?page=$1 [NC,L]

                AllowOverride all
                Order Allow,Deny
                Allow from all
        </Directory>
</VirtualHost>







Prasad
http://prasadbandale.blogspot.com/




On Fri, Nov 30, 2012 at 2:17 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Prasad,

You have not setup the cgi handlers in Apache. Please check the apache settings in the Install page.

best,
On 30-Nov-2012, at 12:44 PM, Prasad Bandale <pr...@gmail.com> wrote:

Dear Madhan kumar
web.py (~/erpnext/public/) link has a 777 permission & orginal location (~/erpnext/lib/public/html) has a 755 permission.
when I typed http://localhost:8080, it shows content of the file.



On Friday, November 30, 2012 10:39:29 AM UTC+5:30, Madhan kumar wrote:

Prasad,

check the permission of web.py using ls -l public when you are in erpnext folder

if its permission is not set to rwxrwxrwx set permission of web.py using chmod 777 web.py 

also check the permission of erpnext folder is rwxr-xr-x.





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

To post to this group, send email to er…@googlegroups.com.

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

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

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

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

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

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

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

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

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

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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

memcached & SMTP server both are running, Still erpnext is showing below error.


On Sat, Dec 22, 2012 at 5:23 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Both messages are self explanatory!

Sent from mobile

On 22-Dec-2012, at 5:17 PM, Prasad Bandale <pr...@gmail.com> wrote:

Thanks. now it is working. but I m getting 2 errors

1. while login it is giving error " memcached is not working / stopped. Please start memcached for best results."


2. while setting up Email and Notifications it is giving error “Invalid Outgoing Mail Server or Port. Please rectify and try again.”

<memcached error.png>

<smtp error.png>



Prasad

http://prasadbandale.blogspot.com/



On Sat, Dec 22, 2012 at 12:57 PM, Rushabh Mehta <rm...@gmail.com> wrote:
You will have to install the python library jinja2. Please see install instructions.

sudo easy_install jinja2

Should fix it

Sent from mobile

On 22-Dec-2012, at 12:48 PM, Prasad Bandale <pr...@gmail.com> wrote:

url :// localhost:8080
getting following error,
--> --> -->


<type 'exceptions.ImportError'>
Python 2.6.6: /usr/bin/python

Sat Dec 22 12:41:50 2012

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

/var/www/html/erpnext/public/web.py in ()
44 return website.utils.render(webnotes.form_dict.get('page'))
45
46 if __name__=="__main__":
47 init()
48 respond()
respond = <function respond>
/var/www/html/erpnext/public/web.py in respond()
42 import webnotes
43 import website.utils
44 return website.utils.render(webnotes.form_dict.get('page'))
45
46 if __name__=="__main__":
website = <module 'website' from '../app/website/__init__.pyc'>, website.utils = <module 'website.utils' from '../app/website/utils.pyc'>, website.utils.render = <function render>, webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.form_dict = {}, webnotes.form_dict.get = <built-in method get of _dict object>
/var/www/html/erpnext/app/website/utils.py in render(page_name=None)
49 html = get_html('index')
50 except Exception, e:
51 html = get_html('error')
52
53 from webnotes.handler import eprint, print_zip
html undefined, global get_html = <function get_html>
/var/www/html/erpnext/app/website/utils.py in get_html(page_name=u'error')
67
68 if not html:
69 html = load_into_cache(page_name)
70 from_cache = False
71
html = None, global load_into_cache = <function load_into_cache>, page_name = u'error'
/var/www/html/erpnext/app/website/utils.py in load_into_cache(page_name=u'error')
114 if not args:
115 return ""
116 html = build_html(args)
117 webnotes.cache().set_value("page:" + page_name, html)
118 return html
html undefined, global build_html = <function build_html>, args = {u'brand': u'ERPNext', u'copyright': None, u'favicon': None, u'footer_items': [], u'int': <type 'int'>, u'name': u'error', u'template': u'pages/error.html', u'top_bar_items': []}
/var/www/html/erpnext/app/website/utils.py in build_html(args={u'brand': u'ERPNext', u'copyright': None, u'favicon': None, u'footer_items': [], u'int': <type 'int'>, u'name': u'error', u'template': u'pages/error.html', u'top_bar_items': []})
119
120 def build_html(args):
121 from jinja2 import Environment, FileSystemLoader
122
123 templates_path = os.path.join(os.path.dirname(conf.__file__),
jinja2 undefined, Environment undefined, FileSystemLoader undefined

<type 'exceptions.ImportError'>: No module named jinja2
args = ('No module named jinja2',)
message = 'No module named jinja2'

---------------------------------------------------------------------------------------------------------------------------------------------------------------

httpd.conf file settings as follows

<VirtualHost *:8080>
DocumentRoot "/var/www/html/erpnext/public"
ServerName localhost
AddHandler cgi-script .cgi .xml .py
<Directory "/var/www/html/erpnext/public">

            # directory specific options<br>                Options -Indexes +FollowSymLinks +ExecCGI<br><br>                # directory&#39;s index file<br>                DirectoryIndex web.py<br><br>                # rewrite rule<br>






            RewriteEngine on<br><br>                # condition 1:<br>                # ignore login-page.html, app.html, blank.html, unsupported.html<br>                RewriteCond %{REQUEST_URI} ^((?!app\.html|blank\.html|unsupported\.html).)*$<br>


# condition 2: if there are no slashes
# and file is .html or does not containt a .
RewriteCond %{REQUEST_URI} ^(?!.+/)((.+.html)|([^.]+))$

# rewrite if both of the above conditions are true

            RewriteRule ^(.+)$ web.py?page=$1 [NC,L]<br><br>                AllowOverride all<br>                Order Allow,Deny<br>                Allow from all<br>        &lt;/Directory&gt;<br>&lt;/VirtualHost&gt;<br>







Prasad
http://prasadbandale.blogspot.com/




On Fri, Nov 30, 2012 at 2:17 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Prasad,

You have not setup the cgi handlers in Apache. Please check the apache settings in the Install page.

best,
On 30-Nov-2012, at 12:44 PM, Prasad Bandale <pr...@gmail.com> wrote:

Dear Madhan kumar
web.py (~/erpnext/public/) link has a 777 permission & orginal location (~/erpnext/lib/public/html) has a 755 permission.
when I typed http://localhost:8080, it shows content of the file.



On Friday, November 30, 2012 10:39:29 AM UTC+5:30, Madhan kumar wrote:

Prasad,

check the permission of web.py using ls -l public when you are in erpnext folder

if its permission is not set to rwxrwxrwx set permission of web.py using chmod 777 web.py

also check the permission of erpnext folder is rwxr-xr-x.





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

To post to this group, send email to er…@googlegroups.com.

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

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

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

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

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

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

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

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

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

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

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

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

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







--
Prasad

http://prasadbandale.blogspot.com/



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

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

Then there must be something in the setting. Its working okay for me.


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

On 23-Dec-2012, at 9:18 PM, Prasad Bandale <pr...@gmail.com> wrote:

memcached & SMTP server both are running, Still erpnext is showing below error.


On Sat, Dec 22, 2012 at 5:23 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Both messages are self explanatory!

Sent from mobile

On 22-Dec-2012, at 5:17 PM, Prasad Bandale <pr...@gmail.com> wrote:

Thanks. now it is working. but I m getting 2 errors

1. while login it is giving error " memcached is not working / stopped. Please start memcached for best results."


2. while setting up Email and Notifications it is giving error “Invalid Outgoing Mail Server or Port. Please rectify and try again.”

<memcached error.png>

<smtp error.png>



Prasad

http://prasadbandale.blogspot.com/



On Sat, Dec 22, 2012 at 12:57 PM, Rushabh Mehta <rm...@gmail.com> wrote:
You will have to install the python library jinja2. Please see install instructions.

sudo easy_install jinja2

Should fix it

Sent from mobile

On 22-Dec-2012, at 12:48 PM, Prasad Bandale <pr...@gmail.com> wrote:

url :// localhost:8080
getting following error,
--> --> -->
 
 
<type 'exceptions.ImportError'>
Python 2.6.6: /usr/bin/python

Sat Dec 22 12:41:50 2012

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.

 /var/www/html/erpnext/public/web.py in ()
   44         return website.utils.render(webnotes.form_dict.get('page'))
   45 
   46 if __name__=="__main__":
   47         init()
   48         respond()
respond = <function respond>
 /var/www/html/erpnext/public/web.py in respond()
   42         import webnotes
   43         import website.utils
   44         return website.utils.render(webnotes.form_dict.get('page'))
   45 
   46 if __name__=="__main__":
website = <module 'website' from '../app/website/__init__.pyc'>, website.utils = <module 'website.utils' from '../app/website/utils.pyc'>, website.utils.render = <function render>, webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.form_dict = {}, webnotes.form_dict.get = <built-in method get of _dict object>
 /var/www/html/erpnext/app/website/utils.py in render(page_name=None)
   49                         html = get_html('index')
   50         except Exception, e:
   51                 html = get_html('error')
   52 
   53         from webnotes.handler import eprint, print_zip
html undefined, global get_html = <function get_html>
 /var/www/html/erpnext/app/website/utils.py in get_html(page_name=u'error')
   67 
   68         if not html:
   69                 html = load_into_cache(page_name)
   70                 from_cache = False
   71         
html = None, global load_into_cache = <function load_into_cache>, page_name = u'error'
 /var/www/html/erpnext/app/website/utils.py in load_into_cache(page_name=u'error')
  114         if not args:
  115                 return ""
  116         html = build_html(args)
  117         webnotes.cache().set_value("page:" + page_name, html)
  118         return html
html undefined, global build_html = <function build_html>, args = {u'brand': u'ERPNext', u'copyright': None, u'favicon': None, u'footer_items': [], u'int': <type 'int'>, u'name': u'error', u'template': u'pages/error.html', u'top_bar_items': []}
 /var/www/html/erpnext/app/website/utils.py in build_html(args={u'brand': u'ERPNext', u'copyright': None, u'favicon': None, u'footer_items': [], u'int': <type 'int'>, u'name': u'error', u'template': u'pages/error.html', u'top_bar_items': []})
  119 
  120 def build_html(args):
  121         from jinja2 import Environment, FileSystemLoader
  122 
  123         templates_path = os.path.join(os.path.dirname(conf.__file__), 
jinja2 undefined, Environment undefined, FileSystemLoader undefined

<type 'exceptions.ImportError'>: No module named jinja2
      args = ('No module named jinja2',)
      message = 'No module named jinja2'

---------------------------------------------------------------------------------------------------------------------------------------------------------------

httpd.conf file settings as follows


<VirtualHost *:8080>
DocumentRoot "/var/www/html/erpnext/public"
ServerName localhost
AddHandler cgi-script .cgi .xml .py
        <Directory “/var/www/html/erpnext/public”>

                # directory specific options
                Options -Indexes +FollowSymLinks +ExecCGI

                # directory’s index file
                DirectoryIndex web.py

                # rewrite rule

                RewriteEngine on

                # condition 1:
                # ignore login-page.html, app.html, blank.html, unsupported.html
                RewriteCond %{REQUEST_URI} ^((?!app.html|blank.html|unsupported.html).)*$


                # condition 2: if there are no slashes
                # and file is .html or does not containt a .
                RewriteCond %{REQUEST_URI} ^(?!.+/)((.+.html)|([^.]+))$

                # rewrite if both of the above conditions are true

                RewriteRule ^(.+)$ web.py?page=$1 [NC,L]

                AllowOverride all
                Order Allow,Deny
                Allow from all
        </Directory>
</VirtualHost>







Prasad
http://prasadbandale.blogspot.com/




On Fri, Nov 30, 2012 at 2:17 PM, Rushabh Mehta <rm…@gmail.com> wrote:
Prasad,

You have not setup the cgi handlers in Apache. Please check the apache settings in the Install page.

best,
On 30-Nov-2012, at 12:44 PM, Prasad Bandale <pr...@gmail.com> wrote:

Dear Madhan kumar
web.py (~/erpnext/public/) link has a 777 permission & orginal location (~/erpnext/lib/public/html) has a 755 permission.
when I typed http://localhost:8080, it shows content of the file.



On Friday, November 30, 2012 10:39:29 AM UTC+5:30, Madhan kumar wrote:

Prasad,

check the permission of web.py using ls -l public when you are in erpnext folder

if its permission is not set to rwxrwxrwx set permission of web.py using chmod 777 web.py 

also check the permission of erpnext folder is rwxr-xr-x.





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

To post to this group, send email to er…@googlegroups.com.

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

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

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

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

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

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

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

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

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

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

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

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

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

 

 




--
Prasad

http://prasadbandale.blogspot.com/




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

To post to this group, send email to er…@googlegroups.com.

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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

To check if memcache daemon is working,
Try running from terminal
ps aux | grep memcached

Also, go to setup / email settings and save them. If it doesn't throw error, then the email settings are correct otherwise not.

Thanks
Anand.

On Dec 23, 2012 10:56 PM, "Rushabh Mehta" <rm...@gmail.com> wrote:
Then there must be something in the setting. Its working okay for me.


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

On 23-Dec-2012, at 9:18 PM, Prasad Bandale <pr...@gmail.com> wrote:

memcached & SMTP server both are running, Still erpnext is showing below error.


On Sat, Dec 22, 2012 at 5:23 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Both messages are self explanatory!

Sent from mobile

On 22-Dec-2012, at 5:17 PM, Prasad Bandale <pr...@gmail.com> wrote:

Thanks. now it is working. but I m getting 2 errors

1. while login it is giving error " memcached is not working / stopped. Please start memcached for best results."


2. while setting up Email and Notifications it is giving error “Invalid Outgoing Mail Server or Port. Please rectify and try again.”

<memcached error.png>

<smtp error.png>



Prasad

http://prasadbandale.blogspot.com/



On Sat, Dec 22, 2012 at 12:57 PM, Rushabh Mehta <rm...@gmail.com> wrote:
You will have to install the python library jinja2. Please see install instructions.

sudo easy_install jinja2

Should fix it

Sent from mobile

On 22-Dec-2012, at 12:48 PM, Prasad Bandale <pr...@gmail.com> wrote:

url :// localhost:8080
getting following error,
--> --> -->


<type 'exceptions.ImportError'>
Python 2.6.6: /usr/bin/python

Sat Dec 22 12:41:50 2012

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.

/var/www/html/erpnext/public/web.py in ()
44 return website.utils.render(webnotes.form_dict.get('page'))
45
46 if __name__=="__main__":
47 init()
48 respond()
respond = <function respond>
/var/www/html/erpnext/public/web.py in respond()
42 import webnotes
43 import website.utils
44 return website.utils.render(webnotes.form_dict.get('page'))
45
46 if __name__=="__main__":
website = <module 'website' from '../app/website/__init__.pyc'>, website.utils = <module 'website.utils' from '../app/website/utils.pyc'>, website.utils.render = <function render>, webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.form_dict = {}, webnotes.form_dict.get = <built-in method get of _dict object>
/var/www/html/erpnext/app/website/utils.py in render(page_name=None)
49 html = get_html('index')
50 except Exception, e:
51 html = get_html('error')
52
53 from webnotes.handler import eprint, print_zip
html undefined, global get_html = <function get_html>
/var/www/html/erpnext/app/website/utils.py in get_html(page_name=u'error')
67
68 if not html:
69 html = load_into_cache(page_name)
70 from_cache = False
71
html = None, global load_into_cache = <function load_into_cache>, page_name = u'error'
/var/www/html/erpnext/app/website/utils.py in load_into_cache(page_name=u'error')
114 if not args:
115 return ""
116 html = build_html(args)
117 webnotes.cache().set_value("page:" + page_name, html)
118 return html
html undefined, global build_html = <function build_html>, args = {u'brand': u'ERPNext', u'copyright': None, u'favicon': None, u'footer_items': [], u'int': <type 'int'>, u'name': u'error', u'template': u'pages/error.html', u'top_bar_items': []}
/var/www/html/erpnext/app/website/utils.py in build_html(args={u'brand': u'ERPNext', u'copyright': None, u'favicon': None, u'footer_items': [], u'int': <type 'int'>, u'name': u'error', u'template': u'pages/error.html', u'top_bar_items': []})
119
120 def build_html(args):
121 from jinja2 import Environment, FileSystemLoader
122
123 templates_path = os.path.join(os.path.dirname(conf.__file__),
jinja2 undefined, Environment undefined, FileSystemLoader undefined

<type 'exceptions.ImportError'>: No module named jinja2
args = ('No module named jinja2',)
message = 'No module named jinja2'

---------------------------------------------------------------------------------------------------------------------------------------------------------------

httpd.conf file settings as follows


<VirtualHost *:8080>
DocumentRoot "/var/www/html/erpnext/public"
ServerName localhost
AddHandler cgi-script .cgi .xml .py
<Directory "/var/www/html/erpnext/public">

            # directory specific options<br>                Options -Indexes +FollowSymLinks +ExecCGI<br><br>                # directory&#39;s index file<br>                DirectoryIndex web.py<br><br>                # rewrite rule<br>







            RewriteEngine on<br><br>                # condition 1:<br>                # ignore login-page.html, app.html, blank.html, unsupported.html<br>                RewriteCond %{REQUEST_URI} ^((?!app\.html|blank\.html|unsupported\.html).)*$<br>


# condition 2: if there are no slashes
# and file is .html or does not containt a .
RewriteCond %{REQUEST_URI} ^(?!.+/)((.+.html)|([^.]+))$

# rewrite if both of the above conditions are true

            RewriteRule ^(.+)$ web.py?page=$1 [NC,L]<br><br>                AllowOverride all<br>                Order Allow,Deny<br>                Allow from all<br>        &lt;/Directory&gt;<br>&lt;/VirtualHost&gt;<br>







Prasad
http://prasadbandale.blogspot.com/




On Fri, Nov 30, 2012 at 2:17 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Prasad,

You have not setup the cgi handlers in Apache. Please check the apache settings in the Install page.

best,
On 30-Nov-2012, at 12:44 PM, Prasad Bandale <pr...@gmail.com> wrote:

Dear Madhan kumar
web.py (~/erpnext/public/) link has a 777 permission & orginal location (~/erpnext/lib/public/html) has a 755 permission.
when I typed http://localhost:8080, it shows content of the file.



On Friday, November 30, 2012 10:39:29 AM UTC+5:30, Madhan kumar wrote:

Prasad,

check the permission of web.py using ls -l public when you are in erpnext folder

if its permission is not set to rwxrwxrwx set permission of web.py using chmod 777 web.py

also check the permission of erpnext folder is rwxr-xr-x.





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

To post to this group, send email to er…@googlegroups.com.

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

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

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

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

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

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

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

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

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

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

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

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

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







--
Prasad

http://prasadbandale.blogspot.com/




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

To post to this group, send email to er…@googlegroups.com.

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

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

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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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