Migration error

Hi ,

The following error is occurred when executing   ./lib/wnf.py --latest  command

 [ro...@localhost demo]# ./lib/wnf.py --latest
Traceback (most recent call last):
  File "./lib/wnf.py", line 12, in <module>
    import webnotes
  File "lib/webnotes/__init__.py", line 10, in <module>
    from werkzeug.local import Local
ImportError: No module named werkzeug.local




Note:

 

If you are posting an issue,

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

     

    End of Note



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

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

    For more options, visit https://groups.google.com/groups/opt_out.
try install werkzeug wit pip or easy_install


pip install werkzeug

easy_install werkzeug



2013/10/27 Shameem Mohammed <sh…@malabaruae.com>

Hi ,

The following error is occurred when executing ./lib/wnf.py --latest command

[ro...@localhost demo]# ./lib/wnf.py --latest
Traceback (most recent call last):
File "./lib/wnf.py", line 12, in <module>
import webnotes<br>  File &quot;lib/webnotes/__init__.py&quot;, line 10, in &lt;module&gt;<br>    from werkzeug.local import Local<br>ImportError: No module named werkzeug.local<br><br><br></div>



Note:



If you are posting an issue,

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



    End of Note



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

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

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




--

Maxwell Morais
Tecnologia da Informação
+55 11 3931-1412 Ramal 31

www.realizemodulados.com.br



Note:

 

If you are posting an issue,

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

     

    End of Note



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

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

    For more options, visit https://groups.google.com/groups/opt_out.
Hi Maxwell , 
Thanks for your help. I completed the steps mentioned in https://github.com/webnotes/erpnext/wiki/Migrating-your-erpnext-instance-to-wsgi , but when I am trying login to my instance ( which was previously running on port 88 ) i am getting Apache 2 test page instead of erpnext instance homepage !!  Please help me 

regards


On Sunday, October 27, 2013 4:44:12 PM UTC+4, Maxwell wrote:
try install werkzeug wit pip or easy_install


pip install werkzeug

easy_install werkzeug



2013/10/27 Shameem Mohammed <sh…@malabaruae.com>

Hi ,

The following error is occurred when executing   ./lib/wnf.py --latest  command

 [ro...@localhost demo]# ./lib/wnf.py --latest
Traceback (most recent call last):
  File "./lib/wnf.py", line 12, in <module>

    import webnotes
  File “lib/webnotes/init.py”, line 10, in <module>
    from werkzeug.local import Local
ImportError: No module named werkzeug.local




Note:

 

If you are posting an issue,

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

     

    End of Note



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

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

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




--

Maxwell Morais
Tecnologia da Informação
+55 11 3931-1412 Ramal 31

 www.realizemodulados.com.br



Note:

 

If you are posting an issue,

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

     

    End of Note



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

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

    For more options, visit https://groups.google.com/groups/opt_out.
Hello, Shameem, first sorry for the delay in responding, but today was a day of national education test.

Secondif you do not want to see this[1] step as installing gunicorn passso and prefers to continue with apache you can run via apache with WSGI or CGIHandler.


CGIHandler it is very useful to maintain the compatibility of its previous application, but with this you will lose all the performance improvements attributed to WSGITo use it, just use the CGIHandler.py ApacheCGI.conf of the of the gist [2]


In the case of WSGI, if you do not want to install gunicorn, which is the wsgi server that delivers the best performance, you can continue with apache, for this you will have to install and enable mod_wsgi of your apache.

And second use WSGIHandler.wsgi ApacheWSGI.conf of the of the gist [2].


[1] https://github.com/webnotes/erpnext/wiki/WSGI-Production-Deployment

[2] https://gist.github.com/MaxMorais/7187526



2013/10/27 Shameem Mohammed <sh...@malabaruae.com>
Hi Maxwell ,
Thanks for your help. I completed the steps mentioned in https://github.com/webnotes/erpnext/wiki/Migrating-your-erpnext-instance-to-wsgi , but when I am trying login to my instance ( which was previously running on port 88 ) i am getting Apache 2 test page instead of erpnext instance homepage !! Please help me

regards


On Sunday, October 27, 2013 4:44:12 PM UTC+4, Maxwell wrote:
try install werkzeug wit pip or easy_install


pip install werkzeug

easy_install werkzeug



2013/10/27 Shameem Mohammed <sh…@malabaruae.com>


Hi ,

The following error is occurred when executing ./lib/wnf.py --latest command

[ro...@localhost demo]# ./lib/wnf.py --latest
Traceback (most recent call last):
File "./lib/wnf.py", line 12, in <module>
import webnotes<br>  File &quot;lib/webnotes/__init__.py&quot;, line 10, in &lt;module&gt;<br>    from werkzeug.local import Local<br>ImportError: No module named werkzeug.local<br><br><br></div>



Note:



If you are posting an issue,

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



    End of Note



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

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

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




--

Maxwell Morais
Tecnologia da Informação



Note:



If you are posting an issue,

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



    End of Note



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

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

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




--

Maxwell Morais
Tecnologia da Informação
+55 11 3931-1412 Ramal 31

www.realizemodulados.com.br



Note:

 

If you are posting an issue,

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

     

    End of Note



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

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

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

I followed option [2](use WSGIHandler.wsgi ApacheWSGI.conf ) and got the following error when trying to connect

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, ro…@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



On Mon, Oct 28, 2013 at 12:38 AM, Maxwell Morais <ma…@gmail.com> wrote:

Hello, Shameem, first sorry for the delay in responding, but today was a day of national education test.

Secondif you do not want to see this[1] step as installing gunicorn passso and prefers to continue with apache you can run via apache with WSGI or CGIHandler.


CGIHandler it is very useful to maintain the compatibility of its previous application, but with this you will lose all the performance improvements attributed to WSGITo use it, just use the CGIHandler.py ApacheCGI.conf of the of the gist [2]


In the case of WSGI, if you do not want to install gunicorn, which is the wsgi server that delivers the best performance, you can continue with apache, for this you will have to install and enable mod_wsgi of your apache.

And second use WSGIHandler.wsgi ApacheWSGI.conf of the of the gist [2].




2013/10/27 Shameem Mohammed <sh...@malabaruae.com>
Hi Maxwell ,
Thanks for your help. I completed the steps mentioned in https://github.com/webnotes/erpnext/wiki/Migrating-your-erpnext-instance-to-wsgi , but when I am trying login to my instance ( which was previously running on port 88 ) i am getting Apache 2 test page instead of erpnext instance homepage !! Please help me

regards


On Sunday, October 27, 2013 4:44:12 PM UTC+4, Maxwell wrote:
try install werkzeug wit pip or easy_install


pip install werkzeug

easy_install werkzeug



2013/10/27 Shameem Mohammed <sh…@malabaruae.com>


Hi ,

The following error is occurred when executing ./lib/wnf.py --latest command

[ro...@localhost demo]# ./lib/wnf.py --latest
Traceback (most recent call last):
File "./lib/wnf.py", line 12, in <module>
import webnotes<br>  File &quot;lib/webnotes/__init__.py&quot;, line 10, in &lt;module&gt;<br>    from werkzeug.local import Local<br>ImportError: No module named werkzeug.local<br><br><br></div>



Note:



If you are posting an issue,

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



    End of Note



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

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

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




--

Maxwell Morais
Tecnologia da Informação



Note:



If you are posting an issue,

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



    End of Note



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

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

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




--

Maxwell Morais
Tecnologia da Informação



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/OdD7dD55bvo/unsubscribe.

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

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




--
Shameem N. Mohammed
Finance Manager
Malabar Gen. Trdg. L.L.C,
P.O.Box 234478 , Dubai , U.A.E
Tel:+9714 2510788 Fax:+9714 2510789




Note:

 

If you are posting an issue,

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

     

    End of Note



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

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

    For more options, visit https://groups.google.com/groups/opt_out.
Shameem, the mod_wsgi is already installed and enabled?

You can see it on /etc/apache2/mods-enabled/


Check if wsgi.load already exists on the path



2013/10/28 Shameem Mohammed <sh…@malabaruae.com>

Hai, Maxwell ,

I followed option [2](use WSGIHandler.wsgi ApacheWSGI.conf ) and got the following error when trying to connect

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, ro…@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



On Mon, Oct 28, 2013 at 12:38 AM, Maxwell Morais <ma…@gmail.com> wrote:

Hello, Shameem, first sorry for the delay in responding, but today was a day of national education test.

Secondif you do not want to see this[1] step as installing gunicorn passso and prefers to continue with apache you can run via apache with WSGI or CGIHandler.


CGIHandler it is very useful to maintain the compatibility of its previous application, but with this you will lose all the performance improvements attributed to WSGITo use it, just use the CGIHandler.py ApacheCGI.conf of the of the gist [2]


In the case of WSGI, if you do not want to install gunicorn, which is the wsgi server that delivers the best performance, you can continue with apache, for this you will have to install and enable mod_wsgi of your apache.

And second use WSGIHandler.wsgi ApacheWSGI.conf of the of the gist [2].




2013/10/27 Shameem Mohammed <sh...@malabaruae.com>
Hi Maxwell ,
Thanks for your help. I completed the steps mentioned in https://github.com/webnotes/erpnext/wiki/Migrating-your-erpnext-instance-to-wsgi , but when I am trying login to my instance ( which was previously running on port 88 ) i am getting Apache 2 test page instead of erpnext instance homepage !! Please help me

regards


On Sunday, October 27, 2013 4:44:12 PM UTC+4, Maxwell wrote:
try install werkzeug wit pip or easy_install


pip install werkzeug

easy_install werkzeug



2013/10/27 Shameem Mohammed <sh…@malabaruae.com>


Hi ,

The following error is occurred when executing ./lib/wnf.py --latest command

[ro...@localhost demo]# ./lib/wnf.py --latest
Traceback (most recent call last):
File "./lib/wnf.py", line 12, in <module>
import webnotes<br>  File &quot;lib/webnotes/__init__.py&quot;, line 10, in &lt;module&gt;<br>    from werkzeug.local import Local<br>ImportError: No module named werkzeug.local<br><br><br></div>



Note:



If you are posting an issue,

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



    End of Note



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

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

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




--

Maxwell Morais
Tecnologia da Informação



Note:



If you are posting an issue,

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



    End of Note



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

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

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




--

Maxwell Morais
Tecnologia da Informação



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/OdD7dD55bvo/unsubscribe.

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


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



--
Shameem N. Mohammed
Finance Manager
Malabar Gen. Trdg. L.L.C,
P.O.Box 234478 , Dubai , U.A.E




Note:



If you are posting an issue,

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



    End of Note



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

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

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




--

Maxwell Morais
Tecnologia da Informação
+55 11 3931-1412 Ramal 31

www.realizemodulados.com.br



Note:

 

If you are posting an issue,

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

     

    End of Note



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

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

    For more options, visit https://groups.google.com/groups/opt_out.
Mr. Maxwell , thanks for your quick reply .I am using centos 6.4 . I installed mod_wsgi . .Folder /etc/apache2/mods-enabled/ doesn't exist on my system .Where to check wsgi.load . My linux knowledge is very low


regards


On Mon, Oct 28, 2013 at 12:13 PM, Maxwell Morais <ma…@gmail.com> wrote:
Shameem, the mod_wsgi is already installed and enabled?

You can see it on /etc/apache2/mods-enabled/


Check if wsgi.load already exists on the path



2013/10/28 Shameem Mohammed <sh…@malabaruae.com>
Hai, Maxwell ,

I followed option [2](use WSGIHandler.wsgi ApacheWSGI.conf ) and got the following error when trying to connect

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, ro…@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



On Mon, Oct 28, 2013 at 12:38 AM, Maxwell Morais <ma…@gmail.com> wrote:

Hello, Shameem, first sorry for the delay in responding, but today was a day of national education test.

Secondif you do not want to see this[1] step as installing gunicorn passso and prefers to continue with apache you can run via apache with WSGI or CGIHandler.


CGIHandler it is very useful to maintain the compatibility of its previous application, but with this you will lose all the performance improvements attributed to WSGITo use it, just use the CGIHandler.py ApacheCGI.conf of the of the gist [2]

In the case of WSGI, if you do not want to install gunicorn, which is the wsgi server that delivers the best performance, you can continue with apache, for this you will have to install and enable mod_wsgi of your apache.

And second use WSGIHandler.wsgi ApacheWSGI.conf of the of the gist [2].




2013/10/27 Shameem Mohammed <sh...@malabaruae.com>
Hi Maxwell ,
Thanks for your help. I completed the steps mentioned in https://github.com/webnotes/erpnext/wiki/Migrating-your-erpnext-instance-to-wsgi , but when I am trying login to my instance ( which was previously running on port 88 ) i am getting Apache 2 test page instead of erpnext instance homepage !! Please help me

regards


On Sunday, October 27, 2013 4:44:12 PM UTC+4, Maxwell wrote:
try install werkzeug wit pip or easy_install


pip install werkzeug

easy_install werkzeug



2013/10/27 Shameem Mohammed <sh…@malabaruae.com>


Hi ,

The following error is occurred when executing ./lib/wnf.py --latest command

[ro...@localhost demo]# ./lib/wnf.py --latest
Traceback (most recent call last):
File "./lib/wnf.py", line 12, in <module>
import webnotes<br>  File &quot;lib/webnotes/__init__.py&quot;, line 10, in &lt;module&gt;<br>    from werkzeug.local import Local<br>ImportError: No module named werkzeug.local<br><br><br></div>



Note:



If you are posting an issue,

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



    End of Note



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

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

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




--

Maxwell Morais
Tecnologia da Informação



Note:



If you are posting an issue,

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



    End of Note



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

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

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




--

Maxwell Morais
Tecnologia da Informação



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/OdD7dD55bvo/unsubscribe.

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


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



--
Shameem N. Mohammed
Finance Manager
Malabar Gen. Trdg. L.L.C,
P.O.Box 234478 , Dubai , U.A.E




Note:



If you are posting an issue,

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



    End of Note



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

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

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




--

Maxwell Morais
Tecnologia da Informação



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/OdD7dD55bvo/unsubscribe.

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

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




--
Shameem N. Mohammed
Finance Manager
Malabar Gen. Trdg. L.L.C,
P.O.Box 234478 , Dubai , U.A.E
Tel:+9714 2510788 Fax:+9714 2510789




Note:

 

If you are posting an issue,

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

     

    End of Note



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

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

    For more options, visit https://groups.google.com/groups/opt_out.
In terminal logged as root, run this: "a2enmod wsgi", its activate the mod_wsgi, if it isn't activated, and restart apache, in cent-os is httpd, run in terminal as root, service httpd restart


2013/10/28 Shameem Mohammed <sh...@malabaruae.com>
Mr. Maxwell , thanks for your quick reply .I am using centos 6.4 . I installed mod_wsgi . .Folder /etc/apache2/mods-enabled/ doesn't exist on my system .Where to check wsgi.load . My linux knowledge is very low


regards


On Mon, Oct 28, 2013 at 12:13 PM, Maxwell Morais <ma…@gmail.com> wrote:

Shameem, the mod_wsgi is already installed and enabled?

You can see it on /etc/apache2/mods-enabled/


Check if wsgi.load already exists on the path



2013/10/28 Shameem Mohammed <sh…@malabaruae.com>

Hai, Maxwell ,

I followed option [2](use WSGIHandler.wsgi ApacheWSGI.conf ) and got the following error when trying to connect

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, ro…@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



On Mon, Oct 28, 2013 at 12:38 AM, Maxwell Morais <ma…@gmail.com> wrote:

Hello, Shameem, first sorry for the delay in responding, but today was a day of national education test.

Secondif you do not want to see this[1] step as installing gunicorn passso and prefers to continue with apache you can run via apache with WSGI or CGIHandler.


CGIHandler it is very useful to maintain the compatibility of its previous application, but with this you will lose all the performance improvements attributed to WSGITo use it, just use the CGIHandler.py ApacheCGI.conf of the of the gist [2]


In the case of WSGI, if you do not want to install gunicorn, which is the wsgi server that delivers the best performance, you can continue with apache, for this you will have to install and enable mod_wsgi of your apache.

And second use WSGIHandler.wsgi ApacheWSGI.conf of the of the gist [2].




2013/10/27 Shameem Mohammed <sh...@malabaruae.com>
Hi Maxwell ,
Thanks for your help. I completed the steps mentioned in https://github.com/webnotes/erpnext/wiki/Migrating-your-erpnext-instance-to-wsgi , but when I am trying login to my instance ( which was previously running on port 88 ) i am getting Apache 2 test page instead of erpnext instance homepage !! Please help me

regards


On Sunday, October 27, 2013 4:44:12 PM UTC+4, Maxwell wrote:
try install werkzeug wit pip or easy_install


pip install werkzeug

easy_install werkzeug



2013/10/27 Shameem Mohammed <sh…@malabaruae.com>


Hi ,

The following error is occurred when executing ./lib/wnf.py --latest command

[ro...@localhost demo]# ./lib/wnf.py --latest
Traceback (most recent call last):
File "./lib/wnf.py", line 12, in <module>
import webnotes<br>  File &quot;lib/webnotes/__init__.py&quot;, line 10, in &lt;module&gt;<br>    from werkzeug.local import Local<br>ImportError: No module named werkzeug.local<br><br><br></div>



Note:



If you are posting an issue,

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



    End of Note



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

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

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




--

Maxwell Morais
Tecnologia da Informação



Note:



If you are posting an issue,

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



    End of Note



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

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

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




--

Maxwell Morais
Tecnologia da Informação



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/OdD7dD55bvo/unsubscribe.

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


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



--
Shameem N. Mohammed
Finance Manager
Malabar Gen. Trdg. L.L.C,
P.O.Box 234478 , Dubai , U.A.E




Note:



If you are posting an issue,

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



    End of Note



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

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

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




--

Maxwell Morais
Tecnologia da Informação



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/OdD7dD55bvo/unsubscribe.

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

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




--
Shameem N. Mohammed
Finance Manager
Malabar Gen. Trdg. L.L.C,
P.O.Box 234478 , Dubai , U.A.E




Note:



If you are posting an issue,

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



    End of Note



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

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

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




--

Maxwell Morais
Tecnologia da Informação
+55 11 3931-1412 Ramal 31

www.realizemodulados.com.br



Note:

 

If you are posting an issue,

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

     

    End of Note



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

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

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

Hi Shameem,

Sorry, I forgot to add a line about installing new requirements,
updated https://github.com/webnotes/erpnext/wiki/Migrating-your-erpnext-instance-to-wsgi

On Sun, Oct 27, 2013 at 2:46 PM, Shameem Mohammed
sh...@malabaruae.com wrote:

Hi ,

The following error is occurred when executing ./lib/wnf.py --latest
command

[ro…@localhost demo]# ./lib/wnf.py --latest
Traceback (most recent call last):
File “./lib/wnf.py”, line 12, in
import webnotes
File “lib/webnotes/init.py”, line 10, in
from werkzeug.local import Local
ImportError: No module named werkzeug.local


Note:

If you are posting an issue,

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

End of Note

You received this message because you are subscribed to the Google Groups
“ERPNext Developer Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to erpnext-developer-forum+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Pratik Vyas
Ph: +919925239915
Google Profile : http://www.google.com/profiles/pdvyas