Error messages with webforms

Hi guys,


Have installed on our server and going through the motions to get to grips with your product and so far its looking great.
We have your latest version installed, v1.0.  You have a feature to embed a form for lead capturing, support etc which I have embedded and I get the following message:
{“exc”: “Traceback (innermost last):\n File “/home/erpnext/erpnext/wnframework/index.cgi”, line 29, in \n webnotes.auth.HTTPRequest()\n File “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line 25, in init\n self.set_db()\n File “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line 107, in set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password = getattr(webnotes.defs,‘db_password’, ‘’))\n File “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 31, in init\n self.connect()\n File “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 68, in connect\n self._conn = MySQLdb.connect(user=self.user, host=self.host, passwd=self.password)\n File “/usr/lib/pymodules/python2.6/MySQLdb/init.py”, line 81, in Connect\n return Connection(*args, **kwargs)\n File “/usr/lib/pymodules/python2.6/MySQLdb/connections.py”, line 170, in init\n super(Connection, self).init(*args, **kwargs2)\n OperationalError: (1045, “Access denied for user ‘master’@‘localhost’ (using password: YES)”)\n”}

As I’m not a developer, can you please let me know what I’m doing wrong and what are the steps to fix it?

Thanx

E.



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

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/GV_gMsngf5wJ.

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

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

Hi,

Thanks for trying out ERPNext.

V1.0 is not the latest version. We have not updated our installer
since V1. The WebForm feature has been deprecated since this version
and hence, is no longer a feature which we intend to support. We will
be releasing the installer for V2 in the coming months as it is still
in development.

In V2, we have introduced a website feature, which replaces webforms.
You can see the demo at www.erpnext.com/#!demo
I would recommend that you wait for the installer of V2 for the website feature.

For now:
The error you are getting is not related to webforms. It is being
casued because either the username or password of your mysql user is
incorrect. Please check and enter the correct username and password in
defs.py file.

I hope this solves your problem.

Thanks,
Anand.

On Thu, Apr 5, 2012 at 2:04 PM, epikouros ep...@gmail.com wrote:

Hi guys,

Have installed on our server and going through the motions to get to grips
with your product and so far its looking great.
We have your latest version installed, v1.0. You have a feature to embed a
form for lead capturing, support etc which I have embedded and I get the
following message:
{“exc”: “Traceback (innermost last):\n File
“/home/erpnext/erpnext/wnframework/index.cgi”, line 29, in \n
webnotes.auth.HTTPRequest()\n File
“/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line 25, in
init\n self.set_db()\n File
“/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line 107, in
set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password =
getattr(webnotes.defs,‘db_password’, ‘’))\n File
“/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 31, in
init\n self.connect()\n File
“/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 68, in
connect\n self._conn = MySQLdb.connect(user=self.user, host=self.host,
passwd=self.password)\n File
“/usr/lib/pymodules/python2.6/MySQLdb/init.py”, line 81, in Connect\n
return Connection(*args, **kwargs)\n File
“/usr/lib/pymodules/python2.6/MySQLdb/connections.py”, line 170, in
init\n super(Connection, self).init(*args, **kwargs2)\n
OperationalError: (1045, “Access denied for user ‘master’@‘localhost’
(using password: YES)”)\n”}

As I’m not a developer, can you please let me know what I’m doing wrong and
what are the steps to fix it?

Thanx

E.


You received this message because you are subscribed to the Google Groups
“ERPNext Technical Forum” group.
To view this discussion on the web visit
https://groups.google.com/d/msg/wnframework/-/GV_gMsngf5wJ.
To post to this group, send email to wn...@googlegroups.com.
To unsubscribe from this group, send email to
wnframework+un...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/wnframework?hl=en.


You received this message because you are subscribed to the Google Groups “ERPNext Technical Forum” group.
To post to this group, send email to wn...@googlegroups.com.
To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

Hi Anand,


Thanx for coming back to me.
How can I download the latest version?

Regards,

E.

On Thursday, 5 April 2012 11:44:22 UTC+3, Anand Doshi wrote:
Hi,

Thanks for trying out ERPNext.

V1.0 is not the latest version. We have not updated our installer
since V1. The WebForm feature has been deprecated since this version
and hence, is no longer a feature which we intend to support. We will
be releasing the installer for V2 in the coming months as it is still
in development.

In V2, we have introduced a website feature, which replaces webforms.
You can see the demo at www.erpnext.com/#!demo
I would recommend that you wait for the installer of V2 for the website feature.

For now:
The error you are getting is not related to webforms. It is being
casued because either the username or password of your mysql user is
incorrect. Please check and enter the correct username and password in
defs.py file.

I hope this solves your problem.

Thanks,
Anand.


> Hi guys,
>
> Have installed on our server and going through the motions to get to grips
> with your product and so far its looking great.
> We have your latest version installed, v1.0.  You have a feature to embed a
> form for lead capturing, support etc which I have embedded and I get the
> following message:
> {“exc”: “Traceback (innermost last):\n File
> “/home/erpnext/erpnext/wnframework/index.cgi”, line 29, in \n
> webnotes.auth.HTTPRequest()\n File
> “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line 25, in
> init\n self.set_db()\n File
> “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line 107, in
> set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password =
> getattr(webnotes.defs,‘db_password’, ‘’))\n File
> “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 31, in
> init\n self.connect()\n File
> “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 68, in
> connect\n self._conn = MySQLdb.connect(user=self.user, host=self.host,
> passwd=self.password)\n File
> “/usr/lib/pymodules/python2.6/MySQLdb/init.py”, line 81, in Connect\n
> return Connection(*args, **kwargs)\n File
> “/usr/lib/pymodules/python2.6/MySQLdb/connections.py”, line 170, in
> init\n super(Connection, self).init(*args, **kwargs2)\n
> OperationalError: (1045, “Access denied for user ‘master’@‘localhost’
> (using password: YES)”)\n”}
>
> As I’m not a developer, can you please let me know what I’m doing wrong and
> what are the steps to fix it?
>
> Thanx
>
> E.
>
> –



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

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/yTHSbkPUWGwJ.

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

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

Also, cant find the defs.py file.

On Thursday, 5 April 2012 11:34:37 UTC+3, epikouros wrote:

Hi guys,

Have installed on our server and going through the motions to get to grips with your product and so far its looking great.
We have your latest version installed, v1.0.  You have a feature to embed a form for lead capturing, support etc which I have embedded and I get the following message:
{“exc”: “Traceback (innermost last):\n File “/home/erpnext/erpnext/wnframework/index.cgi”, line 29, in \n webnotes.auth.HTTPRequest()\n File “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line 25, in init\n self.set_db()\n File “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line 107, in set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password = getattr(webnotes.defs,‘db_password’, ‘’))\n File “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 31, in init\n self.connect()\n File “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 68, in connect\n self._conn = MySQLdb.connect(user=self.user, host=self.host, passwd=self.password)\n File “/usr/lib/pymodules/python2.6/MySQLdb/init.py”, line 81, in Connect\n return Connection(*args, **kwargs)\n File “/usr/lib/pymodules/python2.6/MySQLdb/connections.py”, line 170, in init\n super(Connection, self).init(*args, **kwargs2)\n OperationalError: (1045, “Access denied for user ‘master’@‘localhost’ (using password: YES)”)\n”}

As I’m not a developer, can you please let me know what I’m doing wrong and what are the steps to fix it?

Thanx

E.



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

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/erIdJMJdTogJ.

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

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

Hi,

You defs.py file will be located here:
/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/
I think the installer sets the db_name and db_password variables for
you. Please check and confirm the same.

Note the db_name and db_password values and try to login into mysql using:
mysql -u {db_name variable value} -p

it will ask for password. Here type the value of db_password variable.

Please check if you are able to log into mysql and let me know.

Ideally, if the installation goes smoothly, you need to go to
http://localhost:8080/ and login as ‘Administrator’ with password
‘admin’, if you have not tried this already.

Installing V2 will require a bit of unix knowledge. You can try
reading this guide:

Thanks,
Anand.

On Thu, Apr 5, 2012 at 2:30 PM, epikouros ep...@gmail.com wrote:

Also, cant find the defs.py file.

On Thursday, 5 April 2012 11:34:37 UTC+3, epikouros wrote:

Hi guys,

Have installed on our server and going through the motions to get to grips
with your product and so far its looking great.
We have your latest version installed, v1.0. You have a feature to embed
a form for lead capturing, support etc which I have embedded and I get the
following message:
{“exc”: “Traceback (innermost last):\n File
“/home/erpnext/erpnext/wnframework/index.cgi”, line 29, in \n
webnotes.auth.HTTPRequest()\n File
“/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line 25, in
init\n self.set_db()\n File
“/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line 107, in
set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password =
getattr(webnotes.defs,‘db_password’, ‘’))\n File
“/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 31, in
init\n self.connect()\n File
“/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 68, in
connect\n self._conn = MySQLdb.connect(user=self.user, host=self.host,
passwd=self.password)\n File
“/usr/lib/pymodules/python2.6/MySQLdb/init.py”, line 81, in Connect\n
return Connection(*args, **kwargs)\n File
“/usr/lib/pymodules/python2.6/MySQLdb/connections.py”, line 170, in
init\n super(Connection, self).init(*args, **kwargs2)\n
OperationalError: (1045, “Access denied for user ‘master’@‘localhost’
(using password: YES)”)\n”}

As I’m not a developer, can you please let me know what I’m doing wrong
and what are the steps to fix it?

Thanx

E.


You received this message because you are subscribed to the Google Groups
“ERPNext Technical Forum” group.
To view this discussion on the web visit
https://groups.google.com/d/msg/wnframework/-/erIdJMJdTogJ.

To post to this group, send email to wn...@googlegroups.com.
To unsubscribe from this group, send email to
wnframework+un...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/wnframework?hl=en.


You received this message because you are subscribed to the Google Groups “ERPNext Technical Forum” group.
To post to this group, send email to wn...@googlegroups.com.
To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

Yep, I login no problem

On Thursday, 5 April 2012 12:13:42 UTC+3, Anand Doshi wrote:

Hi,

You defs.py file will be located here:
/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/
I think the installer sets the db_name and db_password variables for
you. Please check and confirm the same.

Note the db_name and db_password values and try to login into mysql using:
mysql -u {db_name variable value} -p

it will ask for password. Here type the value of db_password variable.

Please check if you are able to log into mysql and let me know.

Ideally, if the installation goes smoothly, you need to go to
http://localhost:8080/ and login as ‘Administrator’ with password
’admin’, if you have not tried this already.

Installing V2 will require a bit of unix knowledge. You can try
reading this guide:
https://github.com/webnotes/erpnext/wiki/How-to-Install-ERPNext

Thanks,
Anand.

> Also, cant find the defs.py file.
>
>
> On Thursday, 5 April 2012 11:34:37 UTC+3, epikouros wrote:
>>
>> Hi guys,
>>
>> Have installed on our server and going through the motions to get to grips
>> with your product and so far its looking great.
>> We have your latest version installed, v1.0.  You have a feature to embed
>> a form for lead capturing, support etc which I have embedded and I get the
>> following message:
>> {“exc”: “Traceback (innermost last):\n File
>> “/home/erpnext/erpnext/wnframework/index.cgi”, line 29, in \n
>> webnotes.auth.HTTPRequest()\n File
>> “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line 25, in
>> init\n self.set_db()\n File
>> “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line 107, in
>> set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password =
>> getattr(webnotes.defs,‘db_password’, ‘’))\n File
>> “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 31, in
>> init\n self.connect()\n File
>> “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 68, in
>> connect\n self._conn = MySQLdb.connect(user=self.user, host=self.host,
>> passwd=self.password)\n File
>> “/usr/lib/pymodules/python2.6/MySQLdb/init.py”, line 81, in Connect\n
>> return Connection(*args, **kwargs)\n File
>> “/usr/lib/pymodules/python2.6/MySQLdb/connections.py”, line 170, in
>> init\n super(Connection, self).init(*args, **kwargs2)\n
>> OperationalError: (1045, “Access denied for user ‘master’@‘localhost’
>> (using password: YES)”)\n”}
>>
>> As I’m not a developer, can you please let me know what I’m doing wrong
>> and what are the steps to fix it?
>>
>> Thanx
>>
>> E.
>
> –
> You received this message because you are subscribed to the Google Groups
> “ERPNext Technical Forum” group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/wnframework/-/erIdJMJdTogJ.
>
> To post to this group, send email to wn…@googlegroups.com.
> To unsubscribe from this group, send email to
> wnframework+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/wnframework?hl=en.



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

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/tx78kEODNh0J.

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

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

Hi,

You will have to clear your browser cache (cookies) if you change the database.

- Rushabh


-----------------------------------------------------
ERPNext - Business Operating System

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

On 05-Apr-2012, at 2:55 PM, epikouros wrote:

Yep, I login no problem

On Thursday, 5 April 2012 12:13:42 UTC+3, Anand Doshi wrote:
Hi,

You defs.py file will be located here:
/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/
I think the installer sets the db_name and db_password variables for
you. Please check and confirm the same.

Note the db_name and db_password values and try to login into mysql using:
mysql -u {db_name variable value} -p

it will ask for password. Here type the value of db_password variable.

Please check if you are able to log into mysql and let me know.

Ideally, if the installation goes smoothly, you need to go to
http://localhost:8080/ and login as 'Administrator' with password
'admin', if you have not tried this already.

Installing V2 will require a bit of unix knowledge. You can try
reading this guide:
https://github.com/webnotes/erpnext/wiki/How-to-Install-ERPNext

Thanks,
Anand.

> Also, cant find the defs.py file.
>
>
> On Thursday, 5 April 2012 11:34:37 UTC+3, epikouros wrote:
>>
>> Hi guys,
>>
>> Have installed on our server and going through the motions to get to grips
>> with your product and so far its looking great.
>> We have your latest version installed, v1.0.  You have a feature to embed
>> a form for lead capturing, support etc which I have embedded and I get the
>> following message:
>> {"exc": "Traceback (innermost last):\n File
>> \"/home/erpnext/erpnext/wnframework/index.cgi\", line 29, in \n
>> webnotes.auth.HTTPRequest()\n File
>> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py\", line 25, in
>> __init__\n self.set_db()\n File
>> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py\", line 107, in
>> set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password =
>> getattr(webnotes.defs,'db_password', ''))\n File
>> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py\", line 31, in
>> __init__\n self.connect()\n File
>> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py\", line 68, in
>> connect\n self._conn = MySQLdb.connect(user=self.user, host=self.host,
>> passwd=self.password)\n File
>> \"/usr/lib/pymodules/python2.6/MySQLdb/__init__.py\", line 81, in Connect\n
>> return Connection(*args, **kwargs)\n File
>> \"/usr/lib/pymodules/python2.6/MySQLdb/connections.py\", line 170, in
>> __init__\n super(Connection, self).__init__(*args, **kwargs2)\n
>> OperationalError: (1045, \"Access denied for user 'master'@'localhost'
>> (using password: YES)\")\n"}
>>
>> As I'm not a developer, can you please let me know what I'm doing wrong
>> and what are the steps to fix it?
>>
>> Thanx
>>
>> E.
>
> --
> You received this message because you are subscribed to the Google Groups
> "ERPNext Technical Forum" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/wnframework/-/erIdJMJdTogJ.
>
> To post to this group, send email to wn...@googlegroups.com.
> To unsubscribe from this group, send email to
> wnframework+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/wnframework?hl=en.











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

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/tx78kEODNh0J.

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

To unsubscribe from this group, send email to wnframework+un…@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.




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

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

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

Hi, thanx for coming back to me.

Tried several browsers, no joy. The webform is still not showing and I get the following error:

{"exc": "Traceback (innermost last):\n File \"/home/erpnext/erpnext/wnframework/index.cgi\", line 29, in \n webnotes.auth.HTTPRequest()\n File \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py\", line 25, in __init__\n self.set_db()\n File \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py\", line 107, in set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password = getattr(webnotes.defs,'db_password', ''))\n File \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py\", line 31, in __init__\n self.connect()\n File \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py\", line 68, in connect\n self._conn = MySQLdb.connect(user=self.user, host=self.host, passwd=self.password)\n File \"/usr/lib/pymodules/python2.6/MySQLdb/__init__.py\", line 81, in Connect\n return Connection(*args, **kwargs)\n File \"/usr/lib/pymodules/python2.6/MySQLdb/connections.py\", line 170, in __init__\n super(Connection, self).__init__(*args, **kwargs2)\n OperationalError: (1045, \"Access denied for user 'master'@'localhost' (using password: YES)\")\n"}


Have tried all Anand's suggestions, no joy either. I can connect to MySQL no problem with my credentials.

Any suggestions?


E.


On Friday, 6 April 2012 08:23:50 UTC+3, rushabh wrote:
Hi,

You will have to clear your browser cache (cookies) if you change the database.

- Rushabh


-----------------------------------------------------
ERPNext - Business Operating System

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

On 05-Apr-2012, at 2:55 PM, epikouros wrote:

Yep, I login no problem

On Thursday, 5 April 2012 12:13:42 UTC+3, Anand Doshi wrote:
Hi,

You defs.py file will be located here:
/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/
I think the installer sets the db_name and db_password variables for
you. Please check and confirm the same.

Note the db_name and db_password values and try to login into mysql using:
mysql -u {db_name variable value} -p

it will ask for password. Here type the value of db_password variable.

Please check if you are able to log into mysql and let me know.

Ideally, if the installation goes smoothly, you need to go to
http://localhost:8080/ and login as 'Administrator' with password
'admin', if you have not tried this already.

Installing V2 will require a bit of unix knowledge. You can try
reading this guide:
https://github.com/webnotes/erpnext/wiki/How-to-Install-ERPNext

Thanks,
Anand.

> Also, cant find the defs.py file.
>
>
> On Thursday, 5 April 2012 11:34:37 UTC+3, epikouros wrote:
>>
>> Hi guys,
>>
>> Have installed on our server and going through the motions to get to grips
>> with your product and so far its looking great.
>> We have your latest version installed, v1.0.  You have a feature to embed
>> a form for lead capturing, support etc which I have embedded and I get the
>> following message:
>> {"exc": "Traceback (innermost last):\n File
>> \"/home/erpnext/erpnext/wnframework/index.cgi\", line 29, in \n
>> webnotes.auth.HTTPRequest()\n File
>> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py\", line 25, in
>> __init__\n self.set_db()\n File
>> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py\", line 107, in
>> set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password =
>> getattr(webnotes.defs,'db_password', ''))\n File
>> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py\", line 31, in
>> __init__\n self.connect()\n File
>> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py\", line 68, in
>> connect\n self._conn = MySQLdb.connect(user=self.user, host=self.host,
>> passwd=self.password)\n File
>> \"/usr/lib/pymodules/python2.6/MySQLdb/__init__.py\", line 81, in Connect\n
>> return Connection(*args, **kwargs)\n File
>> \"/usr/lib/pymodules/python2.6/MySQLdb/connections.py\", line 170, in
>> __init__\n super(Connection, self).__init__(*args, **kwargs2)\n
>> OperationalError: (1045, \"Access denied for user 'master'@'localhost'
>> (using password: YES)\")\n"}
>>
>> As I'm not a developer, can you please let me know what I'm doing wrong
>> and what are the steps to fix it?
>>
>> Thanx
>>
>> E.
>
> --
> You received this message because you are subscribed to the Google Groups
> "ERPNext Technical Forum" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/wnframework/-/erIdJMJdTogJ.
>
> To post to this group, send email to wn...@googlegroups.com.
> To unsubscribe from this group, send email to
> wnframework+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/wnframework?hl=en.











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

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/tx78kEODNh0J.

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

To unsubscribe from this group, send email to wnframework+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.




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

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/NWvH8s6jmXEJ.

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

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

What do you mean by webform?

The error trace is saying that the you were not able to connect to the db, that means either your dbname or password is incorrect. This is stored in defs.py

You tried several browsers, but I believe you may have changed the db (reinstalled?) did you clear the cache though?

- Rushabh

-----------------------------------------------------
ERPNext - Business Operating System

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

On 06-Apr-2012, at 11:43 AM, epikouros wrote:

Hi, thanx for coming back to me.
Tried several browsers, no joy. The webform is still not showing and I get the following error:

{"exc": "Traceback (innermost last):\n File \"/home/erpnext/erpnext/wnframework/index.cgi\", line 29, in \n webnotes.auth.HTTPRequest()\n File \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py\", line 25, in __init__\n self.set_db()\n File \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py\", line 107, in set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password = getattr(webnotes.defs,'db_password', ''))\n File \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py\", line 31, in __init__\n self.connect()\n File \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py\", line 68, in connect\n self._conn = MySQLdb.connect(user=self.user, host=self.host, passwd=self.password)\n File \"/usr/lib/pymodules/python2.6/MySQLdb/__init__.py\", line 81, in Connect\n return Connection(*args, **kwargs)\n File \"/usr/lib/pymodules/python2.6/MySQLdb/connections.py\", line 170, in __init__\n super(Connection, self).__init__(*args, **kwargs2)\n OperationalError: (1045, \"Access denied for user 'master'@'localhost' (using password: YES)\")\n"}


Have tried all Anand's suggestions, no joy either. I can connect to MySQL no problem with my credentials.

Any suggestions?


E.


On Friday, 6 April 2012 08:23:50 UTC+3, rushabh wrote:
Hi,

You will have to clear your browser cache (cookies) if you change the database.

- Rushabh


-----------------------------------------------------
ERPNext - Business Operating System

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

On 05-Apr-2012, at 2:55 PM, epikouros wrote:

Yep, I login no problem

On Thursday, 5 April 2012 12:13:42 UTC+3, Anand Doshi wrote:
Hi,

You defs.py file will be located here:
/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/
I think the installer sets the db_name and db_password variables for
you. Please check and confirm the same.

Note the db_name and db_password values and try to login into mysql using:
mysql -u {db_name variable value} -p

it will ask for password. Here type the value of db_password variable.

Please check if you are able to log into mysql and let me know.

Ideally, if the installation goes smoothly, you need to go to
http://localhost:8080/ and login as 'Administrator' with password
'admin', if you have not tried this already.

Installing V2 will require a bit of unix knowledge. You can try
reading this guide:
https://github.com/webnotes/erpnext/wiki/How-to-Install-ERPNext

Thanks,
Anand.

> Also, cant find the defs.py file.
>
>
> On Thursday, 5 April 2012 11:34:37 UTC+3, epikouros wrote:
>>
>> Hi guys,
>>
>> Have installed on our server and going through the motions to get to grips
>> with your product and so far its looking great.
>> We have your latest version installed, v1.0.  You have a feature to embed
>> a form for lead capturing, support etc which I have embedded and I get the
>> following message:
>> {"exc": "Traceback (innermost last):\n File
>> \"/home/erpnext/erpnext/wnframework/index.cgi\", line 29, in \n
>> webnotes.auth.HTTPRequest()\n File
>> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py\", line 25, in
>> __init__\n self.set_db()\n File
>> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py\", line 107, in
>> set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password =
>> getattr(webnotes.defs,'db_password', ''))\n File
>> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py\", line 31, in
>> __init__\n self.connect()\n File
>> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py\", line 68, in
>> connect\n self._conn = MySQLdb.connect(user=self.user, host=self.host,
>> passwd=self.password)\n File
>> \"/usr/lib/pymodules/python2.6/MySQLdb/__init__.py\", line 81, in Connect\n
>> return Connection(*args, **kwargs)\n File
>> \"/usr/lib/pymodules/python2.6/MySQLdb/connections.py\", line 170, in
>> __init__\n super(Connection, self).__init__(*args, **kwargs2)\n
>> OperationalError: (1045, \"Access denied for user 'master'@'localhost'
>> (using password: YES)\")\n"}
>>
>> As I'm not a developer, can you please let me know what I'm doing wrong
>> and what are the steps to fix it?
>>
>> Thanx
>>
>> E.
>
> --
> You received this message because you are subscribed to the Google Groups
> "ERPNext Technical Forum" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/wnframework/-/erIdJMJdTogJ.
>
> To post to this group, send email to wn...@googlegroups.com.
> To unsubscribe from this group, send email to
> wnframework+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/wnframework?hl=en.











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

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/tx78kEODNh0J.

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

To unsubscribe from this group, send email to wnframework+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.





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

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/NWvH8s6jmXEJ.

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

To unsubscribe from this group, send email to wnframework+un…@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.




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

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

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

Hi,

Please try and let us know the output of this:
http://localhost:8080/index.cgi?cmd=startup

Thanks,
Anand.

On Fri, Apr 6, 2012 at 11:43 AM, epikouros ep...@gmail.com wrote:

Hi, thanx for coming back to me.
Tried several browsers, no joy. The webform is still not showing and I get
the following error:

{“exc”: “Traceback (innermost last):\n File
“/home/erpnext/erpnext/wnframework/index.cgi”, line 29, in \n
webnotes.auth.HTTPRequest()\n File
“/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line 25, in
init\n self.set_db()\n File
“/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line 107, in
set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password =
getattr(webnotes.defs,‘db_password’, ‘’))\n File
“/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 31, in
init\n self.connect()\n File
“/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 68, in
connect\n self._conn = MySQLdb.connect(user=self.user, host=self.host,
passwd=self.password)\n File
“/usr/lib/pymodules/python2.6/MySQLdb/init.py”, line 81, in Connect\n
return Connection(*args, **kwargs)\n File
“/usr/lib/pymodules/python2.6/MySQLdb/connections.py”, line 170, in
init\n super(Connection, self).init(*args, **kwargs2)\n
OperationalError: (1045, “Access denied for user ‘master’@‘localhost’
(using password: YES)”)\n”}

Have tried all Anand’s suggestions, no joy either. I can connect to MySQL no
problem with my credentials.

Any suggestions?

E.

On Friday, 6 April 2012 08:23:50 UTC+3, rushabh wrote:

Hi,

You will have to clear your browser cache (cookies) if you change the
database.

  • Rushabh

ERPNext - Business Operating System

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

On 05-Apr-2012, at 2:55 PM, epikouros wrote:

Yep, I login no problem

On Thursday, 5 April 2012 12:13:42 UTC+3, Anand Doshi wrote:

Hi,

You defs.py file will be located here:
/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/
I think the installer sets the db_name and db_password variables for
you. Please check and confirm the same.

Note the db_name and db_password values and try to login into mysql
using:
mysql -u {db_name variable value} -p

it will ask for password. Here type the value of db_password variable.

Please check if you are able to log into mysql and let me know.

Ideally, if the installation goes smoothly, you need to go to
http://localhost:8080/ and login as ‘Administrator’ with password
‘admin’, if you have not tried this already.

Installing V2 will require a bit of unix knowledge. You can try
reading this guide:
https://github.com/webnotes/erpnext/wiki/How-to-Install-ERPNext

Thanks,
Anand.

Also, cant find the defs.py file.

On Thursday, 5 April 2012 11:34:37 UTC+3, epikouros wrote:

Hi guys,

Have installed on our server and going through the motions to get to
grips
with your product and so far its looking great.
We have your latest version installed, v1.0. You have a feature to
embed
a form for lead capturing, support etc which I have embedded and I get
the
following message:
{“exc”: "Traceback (innermost last):\n File
“/home/erpnext/erpnext/wnframework/index.cgi”, line 29, in \n
webnotes.auth.HTTPRequest()\n File
“/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line
25, in
init\n self.set_db()\n File
“/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line
107, in
set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password

getattr(webnotes.defs,‘db_password’, ‘’))\n File
“/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 31,
in
init\n self.connect()\n File
“/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 68,
in
connect\n self._conn = MySQLdb.connect(user=self.user, host=self.host,
passwd=self.password)\n File
“/usr/lib/pymodules/python2.6/MySQLdb/init.py”, line 81, in
Connect\n
return Connection(*args, **kwargs)\n File
“/usr/lib/pymodules/python2.6/MySQLdb/connections.py”, line 170, in
init\n super(Connection, self).init(*args, **kwargs2)\n
OperationalError: (1045, “Access denied for user ‘master’@‘localhost’
(using password: YES)”)\n"}

As I’m not a developer, can you please let me know what I’m doing
wrong
and what are the steps to fix it?

Thanx

E.


You received this message because you are subscribed to the Google
Groups
“ERPNext Technical Forum” group.
To view this discussion on the web visit
https://groups.google.com/d/msg/wnframework/-/erIdJMJdTogJ.

To post to this group, send email to wn...@googlegroups.com.
To unsubscribe from this group, send email to
wnframework+un...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/wnframework?hl=en.


You received this message because you are subscribed to the Google Groups
“ERPNext Technical Forum” group.
To view this discussion on the web visit
https://groups.google.com/d/msg/wnframework/-/tx78kEODNh0J.
To post to this group, send email to wn...@googlegroups.com.
To unsubscribe from this group, send email to
wnframework+un...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/wnframework?hl=en.


You received this message because you are subscribed to the Google Groups
“ERPNext Technical Forum” group.
To view this discussion on the web visit
https://groups.google.com/d/msg/wnframework/-/NWvH8s6jmXEJ.

To post to this group, send email to wn...@googlegroups.com.
To unsubscribe from this group, send email to
wnframework+un...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/wnframework?hl=en.


You received this message because you are subscribed to the Google Groups “ERPNext Technical Forum” group.
To post to this group, send email to wn...@googlegroups.com.
To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

Hi Anand,


It gives me a page full of code , fields etc:

{“profile”: {“last_name”: “Thinhat”, “hide_tips”: 0, “can_create”: [“Activity Type”, “Address”, “Appraisal”, “Attendance”, “Authorization Rule”, “Batch”, “Bill Of Materials”, “Branch”, “Brand”, “Budget Distribution”, “Bulk Rename Tool”, “Campaign”, “Comment Widget Record”, “Company”, “Contact”, “Country”, “Currency”, “Custom Field”, “Custom Script”, “Customer”, “Customer Issue”, “Deduction Type”, “Delivery Note”, “Department”, “Designation”, “DocType”, “DocType Label”, “DocType Mapper”, “Earning Type”, “Employee”, “Employment Type”, “Enquiry”, “Expense Type”, “Expense Voucher”, “File”, “File Group”, “Fiscal Year”, “Form 16A”, “Grade”, “Holiday List”, “Indent”, “Industry Type”, “Installation Note”, “IT Checklist”, “Item”, “Journal Voucher”, “KRA Template”, “Landed Cost Master”, “Lead”, “Lease Agreement”, “Leave Allocation”, “Leave Application”, “Leave Type”, “Letter Head”, “Maintenance Schedule”, “Maintenance Visit”, “Mode of Payment”, “Module Def”, “Order Lost Reason”, “Other Charges”, “Page”, “Payable Voucher”, “Period Closing Voucher”, “POS Setting”, “POS Settings”, “Price List”, “Print Format”, “Print Heading”, “Production Order”, “Project”, “Project Activity”, “Property Setter”, “Purchase Order”, “Purchase Other Charges”, “Purchase Receipt”,

and much more like it with username and password details which I did not want to publish here :slight_smile:

Thanx

E.

On Friday, 6 April 2012 09:38:00 UTC+3, Anand Doshi wrote:
Hi,

Please try and let us know the output of this:
http://localhost:8080/index.cgi?cmd=startup

Thanks,
Anand.

> Hi, thanx for coming back to me.
> Tried several browsers, no joy. The webform is still not showing and I get
> the following error:
>
> {“exc”: “Traceback (innermost last):\n File
> “/home/erpnext/erpnext/wnframework/index.cgi”, line 29, in \n
> webnotes.auth.HTTPRequest()\n File
> “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line 25, in
> init\n self.set_db()\n File
> “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line 107, in
> set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password =
> getattr(webnotes.defs,‘db_password’, ‘’))\n File
> “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 31, in
> init\n self.connect()\n File
> “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 68, in
> connect\n self.conn = MySQLdb.connect(user=self.user, host=self.host,
> passwd=self.password)\n File
> “/usr/lib/pymodules/python2.6/MySQLdb/init.py”, line 81, in Connect\n
> return Connection(*args, **kwargs)\n File
> “/usr/lib/pymodules/python2.6/MySQLdb/connections.py”, line 170, in
> init\n super(Connection, self).init(*args, **kwargs2)\n
> OperationalError: (1045, “Access denied for user ‘master’@‘localhost’
> (using password: YES)”)\n"}
>
>
> Have tried all Anand’s suggestions, no joy either. I can connect to MySQL no
> problem with my credentials.
>
> Any suggestions?
>
>
> E.
>
>
> On Friday, 6 April 2012 08:23:50 UTC+3, rushabh wrote:
>>
>> Hi,
>>
>> You will have to clear your browser cache (cookies) if you change the
>> database.
>>
>> - Rushabh
>>
>>
>> -----------------------------------------------------
>> ERPNext - Business Operating System
>>
>> W: https://erpnext.com
>> T: @rushabh_mehta
>>
>> On 05-Apr-2012, at 2:55 PM, epikouros wrote:
>>
>> Yep, I login no problem
>>
>> On Thursday, 5 April 2012 12:13:42 UTC+3, Anand Doshi wrote:
>>>
>>> Hi,
>>>
>>> You defs.py file will be located here:
>>> /home/erpnext/erpnext/wnframework/cgi-bin/webnotes/
>>> I think the installer sets the db_name and db_password variables for
>>> you. Please check and confirm the same.
>>>
>>> Note the db_name and db_password values and try to login into mysql
>>> using:
>>> mysql -u {db_name variable value} -p
>>>
>>> it will ask for password. Here type the value of db_password variable.
>>>
>>> Please check if you are able to log into mysql and let me know.
>>>
>>> Ideally, if the installation goes smoothly, you need to go to
>>> http://localhost:8080/ and login as ‘Administrator’ with password
>>> ‘admin’, if you have not tried this already.
>>>
>>> Installing V2 will require a bit of unix knowledge. You can try
>>> reading this guide:
>>> https://github.com/webnotes/erpnext/wiki/How-to-Install-ERPNext
>>>
>>> Thanks,
>>> Anand.
>>>
>>> > Also, cant find the defs.py file.
>>> >
>>> >
>>> > On Thursday, 5 April 2012 11:34:37 UTC+3, epikouros wrote:
>>> >>
>>> >> Hi guys,
>>> >>
>>> >> Have installed on our server and going through the motions to get to
>>> >> grips
>>> >> with your product and so far its looking great.
>>> >> We have your latest version installed, v1.0.  You have a feature to
>>> >> embed
>>> >> a form for lead capturing, support etc which I have embedded and I get
>>> >> the
>>> >> following message:
>>> >> {“exc”: "Traceback (innermost last):\n File
>>> >> “/home/erpnext/erpnext/wnframework/index.cgi”, line 29, in \n
>>> >> webnotes.auth.HTTPRequest()\n File
>>> >> “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line
>>> >> 25, in
>>> >> init\n self.set_db()\n File
>>> >> “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py”, line
>>> >> 107, in
>>> >> set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password
>>> >> =
>>> >> getattr(webnotes.defs,'db
password’, ‘’))\n File
>>> >> “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 31,
>>> >> in
>>> >> init\n self.connect()\n File
>>> >> “/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py”, line 68,
>>> >> in
>>> >> connect\n self._conn = MySQLdb.connect(user=self.user, host=self.host,
>>> >> passwd=self.password)\n File
>>> >> “/usr/lib/pymodules/python2.6/MySQLdb/init.py”, line 81, in
>>> >> Connect\n
>>> >> return Connection(*args, **kwargs)\n File
>>> >> “/usr/lib/pymodules/python2.6/MySQLdb/connections.py”, line 170, in
>>> >> init\n super(Connection, self).init(*args, **kwargs2)\n
>>> >> OperationalError: (1045, “Access denied for user ‘master’@‘localhost’
>>> >> (using password: YES)”)\n”}
>>> >>
>>> >> As I’m not a developer, can you please let me know what I’m doing
>>> >> wrong
>>> >> and what are the steps to fix it?
>>> >>
>>> >> Thanx
>>> >>
>>> >> E.
>>> >
>>> > –
>>> > You received this message because you are subscribed to the Google
>>> > Groups
>>> > “ERPNext Technical Forum” group.
>>> > To view this discussion on the web visit
>>> > https://groups.google.com/d/msg/wnframework/-/erIdJMJdTogJ.
>>> >
>>> > To post to this group, send email to wn…@googlegroups.com.
>>> > To unsubscribe from this group, send email to
>>> > wnframework+unsubscribe@googlegroups.com.
>>> > For more options, visit this group at
>>> > http://groups.google.com/group/wnframework?hl=en.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> –
>> You received this message because you are subscribed to the Google Groups
>> “ERPNext Technical Forum” group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/wnframework/-/tx78kEODNh0J.
>> To post to this group, send email to wn…@googlegroups.com.
>> To unsubscribe from this group, send email to
>> wnframework+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/wnframework?hl=en.
>>
>>
> –
> You received this message because you are subscribed to the Google Groups
> “ERPNext Technical Forum” group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/wnframework/-/NWvH8s6jmXEJ.
>
> To post to this group, send email to wn…@googlegroups.com.
> To unsubscribe from this group, send email to
> wnframework+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/wnframework?hl=en.



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

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/6tkXKqCfxd4J.

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

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.

This seems okay - don't understand what you are trying to do. What do you mean by "web form" - if you mean what there in the setup, its deprecated. Also hope you are using version 2.

best,
Rushabh

On 06-Apr-2012, at 1:11 PM, epikouros wrote:

Hi Anand,

It gives me a page full of code , fields etc:

{"profile": {"last_name": "Thinhat", "hide_tips": 0, "can_create": ["Activity Type", "Address", "Appraisal", "Attendance", "Authorization Rule", "Batch", "Bill Of Materials", "Branch", "Brand", "Budget Distribution", "Bulk Rename Tool", "Campaign", "Comment Widget Record", "Company", "Contact", "Country", "Currency", "Custom Field", "Custom Script", "Customer", "Customer Issue", "Deduction Type", "Delivery Note", "Department", "Designation", "DocType", "DocType Label", "DocType Mapper", "Earning Type", "Employee", "Employment Type", "Enquiry", "Expense Type", "Expense Voucher", "File", "File Group", "Fiscal Year", "Form 16A", "Grade", "Holiday List", "Indent", "Industry Type", "Installation Note", "IT Checklist", "Item", "Journal Voucher", "KRA Template", "Landed Cost Master", "Lead", "Lease Agreement", "Leave Allocation", "Leave Application", "Leave Type", "Letter Head", "Maintenance Schedule", "Maintenance Visit", "Mode of Payment", "Module Def", "Order Lost Reason", "Other Charges", "Page", "Payable Voucher", "Period Closing Voucher", "POS Setting", "POS Settings", "Price List", "Print Format", "Print Heading", "Production Order", "Project", "Project Activity", "Property Setter", "Purchase Order", "Purchase Other Charges", "Purchase Receipt",

and much more like it with username and password details which I did not want to publish here :)

Thanx

E.

On Friday, 6 April 2012 09:38:00 UTC+3, Anand Doshi wrote:
Hi,

Please try and let us know the output of this:
http://localhost:8080/index.cgi?cmd=startup

Thanks,
Anand.

> Hi, thanx for coming back to me.
> Tried several browsers, no joy. The webform is still not showing and I get
> the following error:
>
> {"exc": "Traceback (innermost last):\n File
> \"/home/erpnext/erpnext/wnframework/index.cgi\", line 29, in \n
> webnotes.auth.HTTPRequest()\n File
> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py\", line 25, in
> __init__\n self.set_db()\n File
> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py\", line 107, in
> set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password =
> getattr(webnotes.defs,'db_password', ''))\n File
> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py\", line 31, in
> __init__\n self.connect()\n File
> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py\", line 68, in
> connect\n self._conn = MySQLdb.connect(user=self.user, host=self.host,
> passwd=self.password)\n File
> \"/usr/lib/pymodules/python2.6/MySQLdb/__init__.py\", line 81, in Connect\n
> return Connection(*args, **kwargs)\n File
> \"/usr/lib/pymodules/python2.6/MySQLdb/connections.py\", line 170, in
> __init__\n super(Connection, self).__init__(*args, **kwargs2)\n
> OperationalError: (1045, \"Access denied for user 'master'@'localhost'
> (using password: YES)\")\n"}
>
>
> Have tried all Anand's suggestions, no joy either. I can connect to MySQL no
> problem with my credentials.
>
> Any suggestions?
>
>
> E.
>
>
> On Friday, 6 April 2012 08:23:50 UTC+3, rushabh wrote:
>>
>> Hi,
>>
>> You will have to clear your browser cache (cookies) if you change the
>> database.
>>
>> - Rushabh
>>
>>
>> -----------------------------------------------------
>> ERPNext - Business Operating System
>>
>> W: https://erpnext.com
>> T: @rushabh_mehta
>>
>> On 05-Apr-2012, at 2:55 PM, epikouros wrote:
>>
>> Yep, I login no problem
>>
>> On Thursday, 5 April 2012 12:13:42 UTC+3, Anand Doshi wrote:
>>>
>>> Hi,
>>>
>>> You defs.py file will be located here:
>>> /home/erpnext/erpnext/wnframework/cgi-bin/webnotes/
>>> I think the installer sets the db_name and db_password variables for
>>> you. Please check and confirm the same.
>>>
>>> Note the db_name and db_password values and try to login into mysql
>>> using:
>>> mysql -u {db_name variable value} -p
>>>
>>> it will ask for password. Here type the value of db_password variable.
>>>
>>> Please check if you are able to log into mysql and let me know.
>>>
>>> Ideally, if the installation goes smoothly, you need to go to
>>> http://localhost:8080/ and login as 'Administrator' with password
>>> 'admin', if you have not tried this already.
>>>
>>> Installing V2 will require a bit of unix knowledge. You can try
>>> reading this guide:
>>> https://github.com/webnotes/erpnext/wiki/How-to-Install-ERPNext
>>>
>>> Thanks,
>>> Anand.
>>>
>>> > Also, cant find the defs.py file.
>>> >
>>> >
>>> > On Thursday, 5 April 2012 11:34:37 UTC+3, epikouros wrote:
>>> >>
>>> >> Hi guys,
>>> >>
>>> >> Have installed on our server and going through the motions to get to
>>> >> grips
>>> >> with your product and so far its looking great.
>>> >> We have your latest version installed, v1.0.  You have a feature to
>>> >> embed
>>> >> a form for lead capturing, support etc which I have embedded and I get
>>> >> the
>>> >> following message:
>>> >> {"exc": "Traceback (innermost last):\n File
>>> >> \"/home/erpnext/erpnext/wnframework/index.cgi\", line 29, in \n
>>> >> webnotes.auth.HTTPRequest()\n File
>>> >> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py\", line
>>> >> 25, in
>>> >> __init__\n self.set_db()\n File
>>> >> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/auth.py\", line
>>> >> 107, in
>>> >> set_db\n webnotes.conn = webnotes.db.Database(user = db_name,password
>>> >> =
>>> >> getattr(webnotes.defs,'db_password', ''))\n File
>>> >> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py\", line 31,
>>> >> in
>>> >> __init__\n self.connect()\n File
>>> >> \"/home/erpnext/erpnext/wnframework/cgi-bin/webnotes/db.py\", line 68,
>>> >> in
>>> >> connect\n self._conn = MySQLdb.connect(user=self.user, host=self.host,
>>> >> passwd=self.password)\n File
>>> >> \"/usr/lib/pymodules/python2.6/MySQLdb/__init__.py\", line 81, in
>>> >> Connect\n
>>> >> return Connection(*args, **kwargs)\n File
>>> >> \"/usr/lib/pymodules/python2.6/MySQLdb/connections.py\", line 170, in
>>> >> __init__\n super(Connection, self).__init__(*args, **kwargs2)\n
>>> >> OperationalError: (1045, \"Access denied for user 'master'@'localhost'
>>> >> (using password: YES)\")\n"}
>>> >>
>>> >> As I'm not a developer, can you please let me know what I'm doing
>>> >> wrong
>>> >> and what are the steps to fix it?
>>> >>
>>> >> Thanx
>>> >>
>>> >> E.
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> > Groups
>>> > "ERPNext Technical Forum" group.
>>> > To view this discussion on the web visit
>>> > https://groups.google.com/d/msg/wnframework/-/erIdJMJdTogJ.
>>> >
>>> > To post to this group, send email to wn...@googlegroups.com.
>>> > To unsubscribe from this group, send email to
>>> > wnframework+unsubscribe@googlegroups.com.
>>> > For more options, visit this group at
>>> > http://groups.google.com/group/wnframework?hl=en.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "ERPNext Technical Forum" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/wnframework/-/tx78kEODNh0J.
>> To post to this group, send email to wn...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> wnframework+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/wnframework?hl=en.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "ERPNext Technical Forum" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/wnframework/-/NWvH8s6jmXEJ.
>
> To post to this group, send email to wn...@googlegroups.com.
> To unsubscribe from this group, send email to
> wnframework+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/wnframework?hl=en.






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

To view this discussion on the web visit https://groups.google.com/d/msg/wnframework/-/6tkXKqCfxd4J.

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

To unsubscribe from this group, send email to wnframework+un…@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.




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

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

To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.