After last updates I got error

46 views
Skip to first unread message

HF

unread,
Sep 23, 2012, 4:53:02 AM9/23/12
to erpnext-dev...@googlegroups.com
I got this error when I login after pull for last updates today just 10 minutes ago.
"Unable to complete request: parsererror"

Plesae advice.

Rushabh Mehta

unread,
Sep 24, 2012, 12:57:34 AM9/24/12
to erpnext-dev...@googlegroups.com
HF,

Can you help us with some error trace? What do you see in your Javascript Console?

- Rushabh



--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/iEOZNTs4SoUJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

HF

unread,
Sep 24, 2012, 4:04:36 AM9/24/12
to erpnext-dev...@googlegroups.com
Hi Rushabh;

I am stucked in the login page, and got this error message on the right bottom of the screen , and the progress bar is woking as if it would log me in but nothing happened.

Rushabh Mehta

unread,
Sep 24, 2012, 5:13:40 AM9/24/12
to erpnext-dev...@googlegroups.com
Click on your Javascript Console. What does it show?


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

On 24-Sep-2012, at 1:34 PM, HF <h.far...@gmail.com> wrote:

Hi Rushabh;

I am stucked in the login page, and got this error message on the right bottom of the screen , and the progress bar is woking as if it would log me in but nothing happened.


--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.

HF

unread,
Sep 24, 2012, 5:42:50 AM9/24/12
to erpnext-dev...@googlegroups.com
Hi Rushabh;

Here is the last paragraph in the console:

Traceback (most recent call last):
  File "/var/www/erp/erpnext/public/server.py", line 80, in &lt;module&gt;
    if init():
  File "/var/www/erp/erpnext/public/server.py", line 49, in init
    webnotes.http_request = webnotes.auth.HTTPRequest()
  File "../lib/py/webnotes/auth.py", line 55, in __init__
    webnotes.login_manager = LoginManager()
  File "../lib/py/webnotes/auth.py", line 116, in __init__
    self.authenticate()
  File "../lib/py/webnotes/auth.py", line 138, in authenticate
    self.user = self.check_password(user, pwd)
  File "../lib/py/webnotes/auth.py", line 149, in check_password
    and `password`=password(%s)""", (user, pwd))
  File "../lib/py/webnotes/db.py", line 154, in sql
    raise e
ProgrammingError: (1146, "Table 'erpnextdb1.__Auth' doesn't exist")

I think it's because of the table _Auth, I don't have it in my database, may be that's because of the error I told you about before with github I am always facing an error :
error: cannot open .git/FETCH_HEAD: Permission denied
when I pull updates from github, while I found that new files updated on my erpnext folder.

Rushabh Mehta

unread,
Sep 24, 2012, 5:47:57 AM9/24/12
to erpnext-dev...@googlegroups.com
Hi HF,

You need to run all the patches,

Just try this again:

$ sudo lib/wnf.py --update origin master

to update and run all the patches.

Please post if you find any errors.

- Rushabh


--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.

HF

unread,
Sep 24, 2012, 5:52:33 AM9/24/12
to erpnext-dev...@googlegroups.com
I got this

Permission denied (publickey).
fatal: The remote end hung up unexpectedly
remote: Counting objects: 44, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 27 (delta 23), reused 23 (delta 19)
Unpacking objects: 100% (27/27), done.
 * branch            master     -> FETCH_HEAD
Updating 847d364..56cc209
Fast-forward
 js/wn/views/grid_report.js          |   11 +++++++----
 py/webnotes/utils/email_lib/bulk.py |   14 +++++++++++---
 py/webnotes/utils/nestedset.py      |   11 ++++++++++-
 3 files changed, 28 insertions(+), 8 deletions(-)

Rushabh Mehta

unread,
Sep 24, 2012, 5:59:39 AM9/24/12
to erpnext-dev...@googlegroups.com
Hi HF,

Your repositories have not been setup correctly.

There are 2 git repositories "erpnext" and "wnframework" and git is not pulling correctly from "erpnext" repository (hence you get the permission denied error).

 GitHub can be a little difficult to setup. I would recommend that you pull using "read-only" link (git://github.com/webnotes/erpnext.git) on the GitHub page so that you will not have to setup keys.

- Rushabh




W: https://erpnext.com
T: @rushabh_mehta
--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.

HF

unread,
Sep 24, 2012, 6:01:52 AM9/24/12
to erpnext-dev...@googlegroups.com
Hi Rushabh;

How to use this ?


Anand Doshi

unread,
Sep 24, 2012, 6:09:18 AM9/24/12
to erpnext-dev...@googlegroups.com
Hi HF,

try doing this:

from erpnext folder, run:
git remote set-url origin git://github.com/webnotes/erpnext.git

from lib folder, run:

Then, do
sudo lib/wnf.py --update origin master


Thanks,
Anand.

On 24-Sep-2012, at 3:31 PM, HF <h.far...@gmail.com> wrote:

Hi Rushabh;

How to use this ?



--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.

HF

unread,
Sep 24, 2012, 6:29:32 AM9/24/12
to erpnext-dev...@googlegroups.com
Hi Anand;

Fantastic it works.
Finally I see your new developments for Analytics and Trial Balance, very amazing work.

Thank you Anand.


Reply all
Reply to author
Forward
0 new messages