Testing ERPNext on Ubuntu 12.04.3 LTS

195 views
Skip to first unread message

rhinorck

unread,
Oct 1, 2013, 7:55:04 AM10/1/13
to erpnext-dev...@googlegroups.com
Hello, so I set up an Ubuntu box and installed ERPNext using the Beta installer...the install process was fine but with a few issues because of a flaky internet internet connection...Below are the steps I took and the errors I have encountered so far...any help on how to fix them will be appreciated. I have no experience in programming with python but I'm starting to learn (primarily because I want to contribute to this project) I have basic knowledge of MySQL but that too I'm improving. 

If you need me to paste code snippets and debugging output please provide me with instructions on how to produce this information and I will do it.

 I appreciate any advice that will help me fix these and future problems I encounter. Thanks in advance.

1. Installed Ubuntu Server 12.04.3 LTS

2. Updated Packages

3. Enabled root account

4. Logged in as root

   [Encountered errors during this stage because my internet connection was flaky. Had to restart install process a couple of times. A good thing to have would be an install progress bar/meter of sorts. Also, had to manually install pytz]

6. Logged in with default credentials id: Administrator pwd: admin

7. Input admin full names, company name, financial year start date

8. Encountered following error on attempt to create new user

  
 - After entering password in New Password field under the 'Set New Password' section and clicking save,
 "Mandatory fields required in Profile:
  New Password" message pops up and profile is not saved.
  
9. Testing with default account

10. Unable to save Email settings. After inputting settings (I'm using google apps) and clicking save, the progress bar(at the top of the page) runs til the end and nothing happens.


11. Unable to change the default Administrator login id and password. 


12. I have a customer who is a supplier as well and on attempting to enter their details as a customer, I get the message that "A Supplier exists with the same name: Did not save"

13. Testing continues....

rushabh

unread,
Oct 1, 2013, 8:00:47 AM10/1/13
to erpnext-dev...@googlegroups.com
Please open your Javascript console and paste any errors you see there.

Currently A customer and supplier with same name is not possible in ERPNext - consider naming them separately.

rhinorck .

unread,
Oct 1, 2013, 8:38:37 AM10/1/13
to erpnext-dev...@googlegroups.com
Thanks for the quick response!

Output of Javascript console when attempting to create new profile

Starting up... all-app.min.js:2256
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56



Output of Javascript console when trying to save email settings

Starting up... all-app.min.js:2256
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56

Output of Javascript console when changing admin id and password

Starting up... all-app.min.js:2256
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus' content.js:56
  1. content.js onRequest has exception: TypeError: Object #<SVGDocument> has no method 'hasFocus'



So, I'm accessing the application from a windows machine using Chrome with Kaspersky Internet Security installed. It is possible that the browser plugin is causing some issues. Let me investigate and see if this is the case.


--
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/vt83YN9pfOs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to erpnext-developer...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Raymond C. Kukundakwe
0772846642 || 0702667654
http://thenextquarter.blogspot.com

rhinorck .

unread,
Oct 1, 2013, 8:47:29 AM10/1/13
to erpnext-dev...@googlegroups.com
So I disable Kaspersky Virtual Keyboard and this is the Javascript console output I get when I try to save the Administrator profile settings

Starting up... all-app.min.js:2256
Traceback (innermost last): File "../lib/webnotes/widgets/form/save.py", line 17, in savedocs getattr(wrapper, action.lower())() File "../lib/webnotes/model/bean.py", line 333, in save self.run_method('on_update') File "../lib/webnotes/model/bean.py", line 229, in run_method getattr(self.controller, method)(*args, **kwargs) File "../lib/core/doctype/profile/profile.py", line 81, in on_update self.update_new_password() File "../lib/core/doctype/profile/profile.py", line 97, in update_new_password self.password_update_mail(self.doc.new_password) File "../lib/core/doctype/profile/profile.py", line 150, in password_update_mail txt, {"new_password": password}) File "../lib/core/doctype/profile/profile.py", line 201, in send_login_mail sendmail_md(recipients=self.doc.email, sender=sender, subject=subject, msg=txt % args) File "../lib/webnotes/utils/email_lib/__init__.py", line 10, in sendmail_md sendmail(recipients, sender, markdown2.markdown(msg), subject) File "../lib/webnotes/utils/email_lib/__init__.py", line 15, in sendmail get_email(recipients, sender, msg, subject).send() File "../lib/webnotes/utils/email_lib/smtp.py", line 219, in send smtpserver.sess.sendmail(self.sender, self.recipients + (self.cc or []), File "../lib/webnotes/utils/email_lib/smtp.py", line 277, in sess raise webnotes.OutgoingEmailError, err_msg OutgoingEmailError: Outgoing Mail Server not specified all-app.min.js:241
Traceback (innermost last): File "../lib/webnotes/handler.py", line 93, in handle execute_cmd(cmd) File "../lib/webnotes/handler.py", line 133, in execute_cmd ret = call(method, webnotes.form_dict) File "../lib/webnotes/handler.py", line 150, in call return fn(**newargs) File "../lib/webnotes/widgets/form/save.py", line 26, in savedocs raise e OutgoingEmailError: Outgoing Mail Server not specified

Nabin Hait

unread,
Oct 1, 2013, 10:03:05 AM10/1/13
to erpnext-dev...@googlegroups.com

Uncheck "Send invite email" and try to save.
But if you want to send email to the concerned person, setup Outgoing Email Settings from Setup module.

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...@googlegroups.com.

rhinorck .

unread,
Oct 1, 2013, 10:16:47 AM10/1/13
to erpnext-dev...@googlegroups.com
Javascript Console output on attempt to save email settings

  1. POST http://192.168.1.141:8080/server.py 504 (Gateway Time-out) jquery.min.js:4
    1. b.extend.ajaxjquery.min.js:4
    2. wn.request.callall-app.min.js:234
    3. wn.model.DocList.Class.extend._callall-app.min.js:635
    4. wn.model.DocList.Class.extend.saveall-app.min.js:632
    5. (anonymous function)all-app.min.js:1785
    6. b.event.dispatchjquery.min.js:2

rhinorck .

unread,
Oct 1, 2013, 10:19:49 AM10/1/13
to erpnext-dev...@googlegroups.com
Unchecked "Send invite email" and still get the "Outgoing Mail Server not specified: Did not save" message

rhinorck .

unread,
Oct 1, 2013, 10:20:41 AM10/1/13
to erpnext-dev...@googlegroups.com
with the same output in the Javascript console.

Anand Doshi

unread,
Oct 1, 2013, 11:26:41 AM10/1/13
to erpnext-dev...@googlegroups.com
Then there might be some problem with your setup.

Maybe the mail port is closed or the email settings are incorrect.

-Anand.

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...@googlegroups.com.

rhinorck

unread,
Oct 2, 2013, 6:16:48 AM10/2/13
to erpnext-dev...@googlegroups.com
So I used a different mailserver, other than the google apps one because the domain I was using had expired (my mistake, sorry) and I was able to save the email settings, create a new user profile and change my admin password. 

Going on with the testing...
To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages