Hi Community,
We’ve released a beta version of frappe-bench that installs ERPNext 4
by default.
https://github.com/frappe/frappe-bench
Thanks,
Pratik
erpnext
Hi Community,
We’ve released a beta version of frappe-bench that installs ERPNext 4
by default.
https://github.com/frappe/frappe-bench
Pratik
erpnext
Hi Community,
We've released a beta version of frappe-bench that installs ERPNext 4
by default.
https://github.com/frappe/frappe-bench
Thanks,
--
Pratik
erpnext
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAG8U0E%3DQT4kH0-3GYyA2X5R_WNfM9enFSSeESNtmoTRrztGH-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
–
Note:
If you are posting an issue,
./scripts/install.sh migrate_3_to_4 /path/to/old/erpnext on a test server
. Could you please let me know if I need to do anything at my end to rectify this error? Thanks.Hi Community,
We've released a beta version of frappe-bench that installs ERPNext 4
by default.
https://github.com/frappe/frappe-bench
Thanks,
--
Pratik
erpnext
–
Note:
If you are posting an issue,
Hi Pratik,I was trying to install the same but it asks for the github username and password.Once provided it halts saying https://github.com/frappe/shopping-cart not found.Can you suggest a wayout.I tried this in the https://github.com/frappe/shopping-cart.git in the folder still it looks online for the same and fails.
Thanks and Regards,--Gupteshwar Joshi | Head (Development)Cell: +91 997 016 0421 | Off. : (20) 657 0800/ 25281316
New Indictrans Technologies Pvt Ltd | www.indictranstech.com
This e-mail has arrived in your e-mail Inbox from New Indictrans Technologies Private Limited, Pune. Please do visit http://www.indictranstech.com/ to know more about New Indictrans Technologies Private Limited. This email is not spam. We follow 'US Unsolicited Electronic Mail Act of 2000', which states that an e-mail cannot be considered SPAM if it contains contact/removal information, which this e-mail does. This e-mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If, by an addressing or transmission error, this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or it's attachment(s) other than by its intended recipient(s) is strictly prohibited. Any opinions expressed in this email are those of the individual and not necessarily of the organisation. Before opening attachment(s), please scan the attachment for viruses.". In case & if you do not wish to receive e-mail (the way you have received it today for what so ever cause or reasons) in near future? Reply back to this email saying "Remove e-mail ID". Within two working days your ID will be removed.On Fri, Mar 7, 2014 at 12:48 PM, Pratik Vyas <pd...@gmail.com> wrote:--Hi Community,
We've released a beta version of frappe-bench that installs ERPNext 4
by default.
https://github.com/frappe/frappe-bench
Thanks,
--
Pratik
erpnext
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAG8U0E%3DQT4kH0-3GYyA2X5R_WNfM9enFSSeESNtmoTRrztGH-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
–
Note:
If you are posting an issue,
- 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.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- 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.To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAHj%2B2umk%2Bi43SoML1nBYmo3Oj5beJWo3Pe%3D%3DKj5Hp-s4S76uNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Hi Mayur,
On Fri, Mar 7, 2014 at 11:06 PM, MP ma...@gmail.com wrote:
Hi Pratik,
I am getting below error when trying to migrate version 3 to 4 using
./scripts/install.sh migrate_3_to_4 /path/to/old/erpnext on a test server.
Could you please let me know if I need to do anything at my end to rectify
this error? Thanks.Executing frappe.patches.4_0.private_backups in erp4_test
Traceback (innermost last):
File “/var/www/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”,
line 65, in execute_patch
frappe.get_attr(patchmodule + “.execute”)()
File
“/var/www/frappe-bench/apps/frappe/frappe/patches/4_0/private_backups.py”,
line 11, in execute
raise Exception, “Backups path in conf set to public directory”
Exception: Backups path in conf set to public directoryfrappe.patches.4_0.private_backups: failed: STOPPED
Traceback (most recent call last):
File “scripts/3to4.py”, line 33, in
migrate(args.site)
File “scripts/3to4.py”, line 27, in migrate
latest()
File “/var/www/frappe-bench/apps/frappe/frappe/cli.py”, line 63, in new_fn
return fn(*args, **new_kwargs)
File “/var/www/frappe-bench/apps/frappe/frappe/cli.py”, line 311, in
latest
frappe.modules.patch_handler.run_all()
File “/var/www/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”,
line 27, in run_all
raise PatchError(patch)
frappe.modules.patch_handler.PatchError: frappe.patches.4_0.private_backups
Edit the sites/yoursite/site_config.json and either remove the
backups_path or change it to ‘private/backups’. Then, run the update
command.
edit sites/yoursite/site_config.json
./scripts/update.sh
This is because with version 4, we authenticate backup downloads.
Will automate this in 3to4.py.
Thanks for reporting!
–
Pratik
erpnext
On Fri, Mar 7, 2014 at 7:52 PM, Gupteshwar Joshi <gu...@indictranstech.com> wrote:
Hi Pratik,I was trying to install the same but it asks for the github username and password.Once provided it halts saying https://github.com/frappe/shopping-cart not found.Can you suggest a wayout.I tried this in the https://github.com/frappe/shopping-cart.git in the folder still it looks online for the same and fails.This is strange. You can try to clone it manually in the apps directory (as shopping_cart) and run install.sh again.
```
cd apps
git clone https://github.com/frappe/shopping-cart.git --origin upstream shopping_cart
<div class="gmail_extra"> <br clear="all"><div><div dir="ltr"><font color="#888888">-- <br></font><div><b><font color="#000099" face="arial, sans-serif"><span style="font-size:12px">Gupteshwar Joshi | Head (Development)</span></font></b></div> <div><span style="color:navy;font-size:9pt;font-family:arial,sans-serif"><span style="color:blue"></span></span><b style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><span style="font-size:9pt"></span></b><b style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><span style="font-size:9pt;color:rgb(31,73,125)"></span></b><font color="#3366ff"><b style="font-size:13px;font-family:arial,sans-serif"><span style="font-size:9pt">Cell</span></b><b style="font-size:13px;font-family:arial,sans-serif"><span style="font-size:9pt">: <a href="tel:%2B91%20997%20016%200421" value="+919970160421" target="_blank">+91 997 016 0421</a></span></b></font><font color="#3366ff"><b style="font-size:13px;font-family:arial,sans-serif"><span style="font-size:9pt"> | Off. : (20) 657 0800</span></b></font><span style="color:rgb(51,51,255)"><b><span style="color:rgb(0,0,153)">/</span><span style="color:rgb(51,102,255)"> 25281316</span></b></span><br> <font color="#888888"><font size="1" color="#3366ff" face="arial, sans-serif"><span><b>New Indictrans Technologies Pvt Ltd | <a href="http://www.indictranstech.com" target="_blank">www.indictranstech.com</a></b></span></font></font><b style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><u><span style="font-size:9pt;color:rgb(31,73,125)"><span style="color:blue"></span></span></u></b><div> <br><a href="http://www.linkedin.com/in/gupteshwarjoshi" target="_blank"></a></div></div><font color="#888888"><div><div style="text-align:left"><img src="http://indictranstech.com/images/logo.png" height="49" width="83"><font size="1" color="#3366ff" face="arial, sans-serif"><span><b><a href="http://www.indictranstech.com" target="_blank"></a><br> </b></span></font><div> <font color="#3366ff"><b>Profile</b>:</font> <a href="http://www.linkedin.com/in/gupteshwarjoshi" target="_blank">http://www.linkedin.com/in/gupteshwarjoshi</a></div><br></div><div><br></div><div><div> <div align="justify"><font size="1"><font face="Tahoma">This e-mail has arrived in your e-mail Inbox from New Indictrans Technologies Private Limited, Pune. Please do visit </font><a href="http://www.indictranstech.com/" target="_blank"><font face="Tahoma">http://www.indictranstech.com/</font></a><font face="Tahoma"> to know more about New Indictrans Technologies Private Limited. <font color="#ff0000">This email is not spam. We follow 'US Unsolicited Electronic Mail Act of 2000', which states that an e-mail cannot be considered SPAM if it contains contact/removal information, which this e-mail does.</font> This e-mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If, by an addressing or transmission error, this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or it's attachment(s) other than by its intended recipient(s) is strictly prohibited. Any opinions expressed in this email are those of the individual and not necessarily of the organisation. Before opening attachment(s), please scan the attachment for viruses.". In case & if you do not wish to receive e-mail (the way you have received it today for what so ever cause or reasons) in near future? Reply back to this email saying "Remove e-mail ID". Within two working days your ID will be removed.</font></font></div></div></div></div></font></div></div> <br><br><div class="gmail_quote"><div><div>On Fri, Mar 7, 2014 at 12:48 PM, Pratik Vyas <span dir="ltr"><<a href="mailto:pd...@gmail.com" target="_blank">pd...@gmail.com</a>></span> wrote:<br></div></div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div> Hi Community,<br> <br> We've released a beta version of frappe-bench that installs ERPNext 4<br> by default.<br> <br> <a href="https://github.com/frappe/frappe-bench" target="_blank">https://github.com/frappe/frappe-bench</a><br> <br> Thanks,<br> --<br> Pratik<br> erpnext<br> <br></div></div> --<br> Note:<br> <br> If you are posting an issue,<br> 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.<br> 2. Paste your code at <a href="http://pastebin.com" target="_blank">http://pastebin.com</a> or <a href="http://gist.github.com" target="_blank">http://gist.github.com</a> and send only the URL via email<br> 3. For sending images, use <a href="http://imgur.com" target="_blank">http://imgur.com</a> or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.<br> <br> End of Note<br> ---<br> You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.<br> To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:erpnext-developer-forum%2B...@googlegroups.com" target="_blank">erpnext-developer-forum+un...@googlegroups.com</a>.<br> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/erpnext-developer-forum/CAG8U0E%3DQT4kH0-3GYyA2X5R_WNfM9enFSSeESNtmoTRrztGH-Q%40mail.gmail.com" target="_blank">https://groups.google.com/d/msgid/erpnext-developer-forum/CAG8U0E%3DQT4kH0-3GYyA2X5R_WNfM9enFSSeESNtmoTRrztGH-Q%40mail.gmail.com</a>.<br> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br> </blockquote></div><br></div> <p></p> -- <br> Note:<br> <br> If you are posting an issue,<br> 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.<br> 2. Paste your code at <a href="http://pastebin.com" target="_blank">http://pastebin.com</a> or <a href="http://gist.github.com" target="_blank">http://gist.github.com</a> and send only the URL via email<br> 3. For sending images, use <a href="http://imgur.com" target="_blank">http://imgur.com</a> or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.<br> <br> End of Note<br> --- <br> You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.<br> To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:erpnext-developer-forum+un...@googlegroups.com" target="_blank">erpnext-developer-forum+un...@googlegroups.com</a>.<br> </div></div> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/erpnext-developer-forum/CAHj%2B2umk%2Bi43SoML1nBYmo3Oj5beJWo3Pe%3D%3DKj5Hp-s4S76uNw%40mail.gmail.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/erpnext-developer-forum/CAHj%2B2umk%2Bi43SoML1nBYmo3Oj5beJWo3Pe%3D%3DKj5Hp-s4S76uNw%40mail.gmail.com</a>.<div class=""> <br> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br> </div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Pratik<br>erpnext<br></div> </div></div><div class=""> <p></p> -- <br> Note:<br> <br> If you are posting an issue,<br> 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.<br> 2. Paste your code at <a href="http://pastebin.com" target="_blank">http://pastebin.com</a> or <a href="http://gist.github.com" target="_blank">http://gist.github.com</a> and send only the URL via email<br> 3. For sending images, use <a href="http://imgur.com" target="_blank">http://imgur.com</a> or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.<br> <br> End of Note<br> --- <br> You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.<br> To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:erpnext-developer-forum+un...@googlegroups.com" target="_blank">erpnext-developer-forum+un...@googlegroups.com</a>.<br> </div> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/erpnext-developer-forum/CAG8U0Em5d-GbTCRGdWEP6uZ%3DaD1WPfCotnrBguU%2BvuE3usoXTg%40mail.gmail.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/erpnext-developer-forum/CAG8U0Em5d-GbTCRGdWEP6uZ%3DaD1WPfCotnrBguU%2BvuE3usoXTg%40mail.gmail.com</a>.<div class="HOEnZb"> <div class="h5"><br> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br> </div></div></blockquote></div><br></div> <p></p> -- <br /> Note:<br /> <br /> If you are posting an issue,<br /> 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.<br /> 2. Paste your code at <a href="http://pastebin.com">http://pastebin.com</a> or <a href="http://gist.github.com">http://gist.github.com</a> and send only the URL via email<br /> 3. For sending images, use <a href="http://imgur.com">http://imgur.com</a> or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.<br /> <br /> End of Note<br /> --- <br /> You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:erpnext-developer-forum+un...@googlegroups.com">erpnext-developer-forum+un...@googlegroups.com</a>.<br /> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/erpnext-developer-forum/CAHj%2B2un-ysyMXGGG-q66_EB%3D%2BnszmRLY0oaMMo9-Jkc6nYcF7g%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/erpnext-developer-forum/CAHj%2B2un-ysyMXGGG-q66_EB%3D%2BnszmRLY0oaMMo9-Jkc6nYcF7g%40mail.gmail.com</a>.<br /> For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />
Thanks Pratik,But I couldn't find the apps folder in setup, so editing standard_apps.json and replacing the URL for shopping-cart with https://github.com/frappe/shopping-cart.git did the trick for me.
Regards,--Gupteshwar Joshi | Head (Development)Cell: +91 997 016 0421 | Off. : (20) 657 0800/ 25281316
New Indictrans Technologies Pvt Ltd | www.indictranstech.com
This e-mail has arrived in your e-mail Inbox from New Indictrans Technologies Private Limited, Pune. Please do visit http://www.indictranstech.com/ to know more about New Indictrans Technologies Private Limited. This email is not spam. We follow 'US Unsolicited Electronic Mail Act of 2000', which states that an e-mail cannot be considered SPAM if it contains contact/removal information, which this e-mail does. This e-mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If, by an addressing or transmission error, this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or it's attachment(s) other than by its intended recipient(s) is strictly prohibited. Any opinions expressed in this email are those of the individual and not necessarily of the organisation. Before opening attachment(s), please scan the attachment for viruses.". In case & if you do not wish to receive e-mail (the way you have received it today for what so ever cause or reasons) in near future? Reply back to this email saying "Remove e-mail ID". Within two working days your ID will be removed.
git clone https://github.com/frappe/frappe-bench
cd frappe-bench
./scripts/install.sh migrate_3_to_4 /path/to/old/erpnext
Edit the sites/yoursite/site_config.json and either remove the
backups_path or change it to 'private/backups'. Then, run the update
command.
```
edit sites/yoursite/site_config.json
./scripts/update.sh
```
This is because with version 4, we authenticate backup downloads.
Will automate this in 3to4.py.
Thanks for reporting!
--
Pratik
erpnext
–
Note:
If you are posting an issue,
Hi Mayur,
On Mon, Mar 10, 2014 at 5:44 PM, MP ma...@gmail.com wrote:
Thanks Pratik for your response.
Instead of doing what you had suggested. I started the whole process again
on a separate clean server. This time before doing anything I changed the
existing conf.py file of version 3 instance to have backup_path as
backup_path = ‘private/backups’ before updating it.Then I did below:
git clone https://github.com/frappe/frappe-bench
cd frappe-bench
./scripts/install.sh migrate_3_to_4 /path/to/old/erpnextNow I get below error message. Please note that we have a lot of users whose
profile has been disabled since they are no longer working for the company.
Please suggest what should I do to rectify this issue. Thanks.Executing erpnext.patches.4_0.update_user_properties in erp4_test
Traceback (innermost last):
File “/var/www/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”,
line 65, in execute_patch
frappe.get_attr(patchmodule + “.execute”)()
File
“/var/www/frappe-bench/apps/erpnext/erpnext/patches/4_0/update_user_properties.py”,
line 14, in execute
add_employee_restrictions_to_leave_approver()
File
“/var/www/frappe-bench/apps/erpnext/erpnext/patches/4_0/update_user_properties.py”,
line 90, in add_employee_restrictions_to_leave_approver
frappe.bean(“Employee”, employee).save()
File “/var/www/frappe-bench/apps/frappe/frappe/model/bean.py”, line 310,
in save
self.run_method(‘validate’)
File “/var/www/frappe-bench/apps/frappe/frappe/model/bean.py”, line 237,
in run_method
frappe.call(getattr(self.controller, method), *args, **kwargs))
File “/var/www/frappe-bench/apps/frappe/frappe/init.py”, line 503, in
call
return fn(*args, **newargs)
File
“/var/www/frappe-bench/apps/erpnext/erpnext/hr/doctype/employee/employee.py”,
line 38, in validate
self.validate_for_enabled_user_id()
File
“/var/www/frappe-bench/apps/erpnext/erpnext/hr/doctype/employee/employee.py”,
line 152, in validate_for_enabled_user_id
“msg”: _(“is disabled.”)
File “/var/www/frappe-bench/apps/frappe/frappe/init.py”, line 212, in
throw
msgprint(msg, raise_exception=exc)
File “/var/www/frappe-bench/apps/frappe/frappe/init.py”, line 209, in
msgprint
_raise_exception()
File “/var/www/frappe-bench/apps/frappe/frappe/init.py”, line 193, in
_raise_exception
raise raise_exception, msg
ValidationError: User ID: jo...@company.com is disabled.erpnext.patches.4_0.update_user_properties: failed: STOPPED
Traceback (most recent call last):
File “scripts/3to4.py”, line 33, in
migrate(args.site)
File “scripts/3to4.py”, line 27, in migrate
latest()
File “/var/www/frappe-bench/apps/frappe/frappe/cli.py”, line 63, in new_fn
return fn(*args, **new_kwargs)
File “/var/www/frappe-bench/apps/frappe/frappe/cli.py”, line 311, in
latest
frappe.modules.patch_handler.run_all()
File “/var/www/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”,
line 27, in run_all
raise PatchError(patch)
frappe.modules.patch_handler.PatchError:
erpnext.patches.4_0.update_user_properties
yes, we are able to replicate this issue. Will push a fix soon.
Kind regards,
MayurEdit the sites/yoursite/site_config.json and either remove the
backups_path or change it to ‘private/backups’. Then, run the update
command.edit sites/yoursite/site_config.json ./scripts/update.sh
This is because with version 4, we authenticate backup downloads.
Will automate this in 3to4.py.Thanks for reporting!
–
Pratik
erpnext–
Note:If you are posting an issue,
- 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.- Paste your code at http://pastebin.com or http://gist.github.com and send
only the URL via email- 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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/erpnext-developer-forum/90ed59e3-8c32-48c4-8ee7-02bb5c71bd61%40googlegroups.com.For more options, visit https://groups.google.com/d/optout.
–
Pratik
erpnext
–
Note:
If you are posting an issue,
Hi Mayur,
On Tue, Mar 11, 2014 at 5:51 PM, MP ma...@gmail.com wrote:
Thanks Pratik.
Please let us know once the fix has been pushed. Thanks.
The fix was pushed yesterday. Sorry for the late reply.
Kind regards,
Mayur Patel
Pratik
erpnext
–
Note:
If you are posting an issue,
Hi Mayur,
On Mon, Mar 17, 2014 at 9:17 PM, MP ma...@gmail.com wrote:
Hi Pratik,
Now I am getting below error message. Could you please look into this?
Thanks.Executing frappe.patches.4_0.remove_old_parent in erp4_test
Success
Executing frappe.patches.4_0.rename_profile_to_user in erp4_testTraceback (innermost last):
File “/var/www/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”,
line 65, in execute_patch
frappe.get_attr(patchmodule + “.execute”)()
File
“/var/www/frappe-bench/apps/frappe/frappe/patches/4_0/rename_profile_to_user.py”,
line 12, in execute
rename_field(“Website Route Permission”, “profile”, “user”)
File “/var/www/frappe-bench/apps/frappe/frappe/model/init.py”, line
110, in rename_field
(doctype, new_fieldname, old_fieldname))
File “/var/www/frappe-bench/apps/frappe/frappe/database.py”, line 112, in
sql
self._cursor.execute(query)
File
“/var/www/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py”,
line 205, in execute
self.errorhandler(self, exc, value)
File
“/var/www/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py”,
line 36, in defaulterrorhandler
raise errorclass, errorvalue
OperationalError: (1054, “Unknown column ‘profile’ in ‘field list’”)frappe.patches.4_0.rename_profile_to_user: failed: STOPPED
Traceback (most recent call last):
File “scripts/3to4.py”, line 33, in
migrate(args.site)
File “scripts/3to4.py”, line 27, in migrate
latest()
File “/var/www/frappe-bench/apps/frappe/frappe/cli.py”, line 63, in new_fn
return fn(*args, **new_kwargs)
File “/var/www/frappe-bench/apps/frappe/frappe/cli.py”, line 326, in
latestfrappe.modules.patch_handler.run_all()
File “/var/www/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”,
line 27, in run_all
raise PatchError(patch)
frappe.modules.patch_handler.PatchError:
frappe.patches.4_0.rename_profile_to_user
We updated the patch to handle this case. Please update and try again.
Thanks for reporting!
Kind regards,
MP–
Note:If you are posting an issue,
- 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.- Paste your code at http://pastebin.com or http://gist.github.com and send
only the URL via email- 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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/erpnext-developer-forum/3ea714e7-7c16-49f0-84cc-60b0aa635236%40googlegroups.com.For more options, visit https://groups.google.com/d/optout.
–
Pratik
erpnext
–
Note:
If you are posting an issue,
Hi Mayur,
On Mon, Mar 17, 2014 at 9:17 PM, MP <ma...@gmail.com> wrote:
>
> Hi Pratik,
>
> Now I am getting below error message. Could you please look into this?
> Thanks.
>
> Executing frappe.patches.4_0.remove_old_parent in erp4_test
> Success
> Executing frappe.patches.4_0.rename_profile_to_user in erp4_test
>
> Traceback (innermost last):
> File "/var/www/frappe-bench/apps/frappe/frappe/modules/patch_handler.py",
> line 65, in execute_patch
> frappe.get_attr(patchmodule + ".execute")()
> File
> "/var/www/frappe-bench/apps/frappe/frappe/patches/4_0/rename_profile_to_user.py",
> line 12, in execute
> rename_field("Website Route Permission", "profile", "user")
> File "/var/www/frappe-bench/apps/frappe/frappe/model/__init__.py", line
> 110, in rename_field
> (doctype, new_fieldname, old_fieldname))
> File "/var/www/frappe-bench/apps/frappe/frappe/database.py", line 112, in
> sql
> self._cursor.execute(query)
> File
> "/var/www/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py",
> line 205, in execute
> self.errorhandler(self, exc, value)
> File
> "/var/www/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py",
> line 36, in defaulterrorhandler
> raise errorclass, errorvalue
> OperationalError: (1054, "Unknown column 'profile' in 'field list'")
>
> frappe.patches.4_0.rename_profile_to_user: failed: STOPPED
>
> Traceback (most recent call last):
> File "scripts/3to4.py", line 33, in <module>
> migrate(args.site)
> File "scripts/3to4.py", line 27, in migrate
> latest()
> File "/var/www/frappe-bench/apps/frappe/frappe/cli.py", line 63, in new_fn
> return fn(*args, **new_kwargs)
> File "/var/www/frappe-bench/apps/frappe/frappe/cli.py", line 326, in
> latest
>
> frappe.modules.patch_handler.run_all()
> File "/var/www/frappe-bench/apps/frappe/frappe/modules/patch_handler.py",
> line 27, in run_all
> raise PatchError(patch)
> frappe.modules.patch_handler.PatchError:
> frappe.patches.4_0.rename_profile_to_user
>
We updated the patch to handle this case. Please update and try again.
Thanks for reporting!
>
> Kind regards,
> MP
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/3ea714e7-7c16-49f0-84cc-60b0aa635236%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
--
Pratik
erpnext
–
Note:
If you are posting an issue,
Pratik Bhai,The last 8 hours (GMT +08:00 MYT) after WebNotes submitted the changes, the bench repo broke fresh installation on OS X:Traceback (most recent call last):File "/Users/jarvis/frappe-bench/env/bin/frappe", line 9, in <module>load_entry_point('frappe==4.0.0-beta', 'console_scripts', 'frappe')()File "/Users/jarvis/frappe-bench/apps/frappe/frappe/cli.py", line 49, in mainrun(fn, parsed_args)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/cli.py", line 70, in runout = globals().get(fn)(*args.get(fn), **args)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/cli.py", line 63, in new_fnreturn fn(*args, **new_kwargs)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/cli.py", line 269, in install_appinstall_app(app_name, verbose=verbose)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/installer.py", line 106, in install_appadd_to_installed_apps(name)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/installer.py", line 125, in add_to_installed_appsrebuild_website_template()File "/Users/jarvis/frappe-bench/apps/frappe/frappe/website/doctype/website_template/website_template.py", line 55, in rebuild_website_templatebuild_website_template(app)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/website/doctype/website_template/website_template.py", line 73, in build_website_templateadd_website_template(**args)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/website/doctype/website_template/website_template.py", line 130, in add_website_templatefrappe.bean(wsc).insert()File "/Users/jarvis/frappe-bench/apps/frappe/frappe/model/bean.py", line 265, in insertreturn self.save()File "/Users/jarvis/frappe-bench/apps/frappe/frappe/model/bean.py", line 323, in saveself.run_method("after_insert")File "/Users/jarvis/frappe-bench/apps/frappe/frappe/model/bean.py", line 238, in run_methodfrappe.call(getattr(self.controller, method), *args, **kwargs))File "/Users/jarvis/frappe-bench/apps/frappe/frappe/__init__.py", line 489, in callreturn fn(*args, **newargs)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/website/doctype/website_template/website_template.py", line 27, in after_insertupdate_sitemap(website_route, opts)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/website/doctype/website_route/website_route.py", line 164, in update_sitemapbean.doc.page_name = options.link_nameAttributeError: 'dict' object has no attribute 'link_name'Traceback (most recent call last):File "/Users/jarvis/frappe-bench/env/bin/frappe", line 9, in <module>load_entry_point('frappe==4.0.0-beta', 'console_scripts', 'frappe')()File "/Users/jarvis/frappe-bench/apps/frappe/frappe/cli.py", line 49, in mainrun(fn, parsed_args)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/cli.py", line 70, in runout = globals().get(fn)(*args.get(fn), **args)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/cli.py", line 63, in new_fnreturn fn(*args, **new_kwargs)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/cli.py", line 269, in install_appinstall_app(app_name, verbose=verbose)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/installer.py", line 106, in install_appadd_to_installed_apps(name)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/installer.py", line 125, in add_to_installed_appsrebuild_website_template()File "/Users/jarvis/frappe-bench/apps/frappe/frappe/website/doctype/website_template/website_template.py", line 55, in rebuild_website_templatebuild_website_template(app)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/website/doctype/website_template/website_template.py", line 73, in build_website_templateadd_website_template(**args)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/website/doctype/website_template/website_template.py", line 130, in add_website_templatefrappe.bean(wsc).insert()File "/Users/jarvis/frappe-bench/apps/frappe/frappe/model/bean.py", line 265, in insertreturn self.save()File "/Users/jarvis/frappe-bench/apps/frappe/frappe/model/bean.py", line 323, in saveself.run_method("after_insert")File "/Users/jarvis/frappe-bench/apps/frappe/frappe/model/bean.py", line 238, in run_methodfrappe.call(getattr(self.controller, method), *args, **kwargs))File "/Users/jarvis/frappe-bench/apps/frappe/frappe/__init__.py", line 489, in callreturn fn(*args, **newargs)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/website/doctype/website_template/website_template.py", line 27, in after_insertupdate_sitemap(website_route, opts)File "/Users/jarvis/frappe-bench/apps/frappe/frappe/website/doctype/website_route/website_route.py", line 164, in update_sitemapbean.doc.page_name = options.link_nameAttributeError: 'dict' object has no attribute 'link_name'Before that changes, I've found out & suspected that the newest XCode CommandLine Tools 5.1 (March 2014) has been updated with the new CLang "clang: Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)". This broke the fresh install of the bench repo. The old CLT 5.0.2 (Sept 2013) works perfectly i.e zero error before the last 8 hours of changes.FYI: https://langui.sh/2014/03/10/wunused-command-line-argument-hard-error-in-future-is-a-harsh-mistress/
Please verifyOn Tuesday, March 18, 2014 1:22:43 PM UTC+8, Pratik Vyas wrote:Hi Mayur,
On Mon, Mar 17, 2014 at 9:17 PM, MP <ma…@gmail.com> wrote:
>
> Hi Pratik,
>
> Now I am getting below error message. Could you please look into this?
> Thanks.
>
> Executing frappe.patches.4_0.remove_old_parent in erp4_test
> Success
> Executing frappe.patches.4_0.rename_profile_to_user in erp4_test
>> "/var/www/frappe-bench/apps/frappe/frappe/patches/4_0/rename_profile_to_user.py",
> Traceback (innermost last):
> File "/var/www/frappe-bench/apps/frappe/frappe/modules/patch_handler.py",
> line 65, in execute_patch
> frappe.get_attr(patchmodule + ".execute")()
> File
> line 12, in execute
> rename_field("Website Route Permission", "profile", "user")
> File "/var/www/frappe-bench/apps/frappe/frappe/model/init.py", line
> 110, in rename_field
> (doctype, new_fieldname, old_fieldname))
> File "/var/www/frappe-bench/apps/frappe/frappe/database.py", line 112, in
> sql
> self.cursor.execute(query)
> File
> "/var/www/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py",
> line 205, in execute
> self.errorhandler(self, exc, value)
> File
> "/var/www/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py",
> line 36, in defaulterrorhandler
> raise errorclass, errorvalue
> OperationalError: (1054, "Unknown column 'profile' in 'field list'")
>
> frappe.patches.4_0.renameprofile_to_user: failed: STOPPED
>> frappe.patches.4_0.rename_profile_to_user
> Traceback (most recent call last):
> File "scripts/3to4.py", line 33, in <module>
> migrate(args.site)
> File "scripts/3to4.py", line 27, in migrate
> latest()
> File "/var/www/frappe-bench/apps/frappe/frappe/cli.py", line 63, in new_fn
> return fn(*args, **new_kwargs)
> File "/var/www/frappe-bench/apps/frappe/frappe/cli.py", line 326, in
> latest
>
> frappe.modules.patch_handler.run_all()
> File "/var/www/frappe-bench/apps/frappe/frappe/modules/patch_handler.py",
> line 27, in run_all
> raise PatchError(patch)
> frappe.modules.patch_handler.PatchError:
>
We updated the patch to handle this case. Please update and try again.
Thanks for reporting!
>
> Kind regards,
> MP
>> https://groups.google.com/d/msgid/erpnext-developer-forum/3ea714e7-7c16-49f0-84cc-60b0aa635236%40googlegroups.com.
> –
> 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.
> To view this discussion on the web visit
–
Pratik
erpnext
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/f51cd51e-3411-4879-a564-7162e3523698%40googlegroups.com.–
Note:
If you are posting an issue,
- 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.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- 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.
–
Note:
If you are posting an issue,
–
Note:
If you are posting an issue,
–
Note:
If you are posting an issue,
Hi Mayur,
Any update?
We are in middle of Model changes (merging of doc, controller and
bean), Model Cleanup · Issue #478 · frappe/frappe · GitHub. For that we’ve
merged Nabin’s work for chart of accounts. Build is broken at the
moment
Kind regards,
MP–
Note:If you are posting an issue,
- 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.- Paste your code at http://pastebin.com or http://gist.github.com and send
only the URL via email- 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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/erpnext-developer-forum/e59d4d4b-ae32-4df1-b3d0-872672c122e8%40googlegroups.com.For more options, visit https://groups.google.com/d/optout.
Pratik
erpnext
–
Note:
If you are posting an issue,