Update error

I get the following error while updating.

nu…@server:/var/www/erpnext$ sudo lib/wnf.py --update origin master
From git://github.com/webnotes/wnframework
 * branch            master     -> FETCH_HEAD
Already up-to-date.
From git://github.com/webnotes/erpnext
 * branch            master     -> FETCH_HEAD
Already up-to-date.

Traceback (most recent call last):
  File “lib/wnf.py”, line 485, in <module>
    run()
  File “lib/wnf.py”, line 405, in run
    update_erpnext(options.update[0], options.update[1])
  File “lib/wnf.py”, line 77, in update_erpnext
    patch_sync_build()
  File “lib/wnf.py”, line 80, in patch_sync_build
    patch_sync()
  File “lib/wnf.py”, line 91, in patch_sync
    sync_all()
  File “lib/wnf.py”, line 73, in sync_all
    webnotes.model.sync.sync_all(force)
  File “/var/www/erpnext/lib/webnotes/model/sync.py”, line 13, in sync_all
    sync_for(“app”, force)
  File “/var/www/erpnext/lib/webnotes/model/sync.py”, line 18, in sync_for
    folder), force, sync_everything)
  File “/var/www/erpnext/lib/webnotes/model/sync.py”, line 39, in walk_and_sync
    sync_doctype(module_name, name, force)
  File “/var/www/erpnext/lib/webnotes/model/sync.py”, line 52, in sync_doctype
    doclist = peval_doclist(f.read())
  File “/var/www/erpnext/lib/webnotes/modules/utils.py”, line 171, in peval_doclist
    return uncommonify_doclist(eval(txt))
  File “<string>”, line 59
    {
    ^
SyntaxError: invalid syntax



What shoul i do, the system is still usable.



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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/UPKh26ABrnUJ.

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

 

 

Update again. This error was fixed. There are a lot of updates. Will post a note bit later.

Sent from mobile

On 23-Jan-2013, at 9:30 PM, Hernan Gonzalez <nu...@gmail.com> wrote:

I get the following error while updating.

nu...@server:/var/www/erpnext$ sudo lib/wnf.py --update origin master
From git://github.com/webnotes/wnframework
 * branch            master     -> FETCH_HEAD
Already up-to-date.
From git://github.com/webnotes/erpnext
 * branch            master     -> FETCH_HEAD
Already up-to-date.

Traceback (most recent call last):
  File "lib/wnf.py", line 485, in <module>
    run()
  File "lib/wnf.py", line 405, in run
    update_erpnext(options.update[0], options.update[1])
  File "lib/wnf.py", line 77, in update_erpnext
    patch_sync_build()
  File "lib/wnf.py", line 80, in patch_sync_build
    patch_sync()
  File "lib/wnf.py", line 91, in patch_sync
    sync_all()
  File "lib/wnf.py", line 73, in sync_all
    webnotes.model.sync.sync_all(force)
  File "/var/www/erpnext/lib/webnotes/model/sync.py", line 13, in sync_all
    sync_for("app", force)
  File "/var/www/erpnext/lib/webnotes/model/sync.py", line 18, in sync_for
    folder), force, sync_everything)
  File "/var/www/erpnext/lib/webnotes/model/sync.py", line 39, in walk_and_sync
    sync_doctype(module_name, name, force)
  File "/var/www/erpnext/lib/webnotes/model/sync.py", line 52, in sync_doctype
    doclist = peval_doclist(f.read())
  File "/var/www/erpnext/lib/webnotes/modules/utils.py", line 171, in peval_doclist
    return uncommonify_doclist(eval(txt))
  File "<string>", line 59
    {
    ^
SyntaxError: invalid syntax



What shoul i do, the system is still usable.



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

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

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

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/UPKh26ABrnUJ.

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

 

 



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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

Sorry had not pushed, please update now.


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

On 23-Jan-2013, at 9:30 PM, Hernan Gonzalez <nu...@gmail.com> wrote:

I get the following error while updating.

nu...@server:/var/www/erpnext$ sudo lib/wnf.py --update origin master
From git://github.com/webnotes/wnframework
 * branch            master     -> FETCH_HEAD
Already up-to-date.
From git://github.com/webnotes/erpnext
 * branch            master     -> FETCH_HEAD
Already up-to-date.

Traceback (most recent call last):
  File "lib/wnf.py", line 485, in <module>
    run()
  File "lib/wnf.py", line 405, in run
    update_erpnext(options.update[0], options.update[1])
  File "lib/wnf.py", line 77, in update_erpnext
    patch_sync_build()
  File "lib/wnf.py", line 80, in patch_sync_build
    patch_sync()
  File "lib/wnf.py", line 91, in patch_sync
    sync_all()
  File "lib/wnf.py", line 73, in sync_all
    webnotes.model.sync.sync_all(force)
  File "/var/www/erpnext/lib/webnotes/model/sync.py", line 13, in sync_all
    sync_for("app", force)
  File "/var/www/erpnext/lib/webnotes/model/sync.py", line 18, in sync_for
    folder), force, sync_everything)
  File "/var/www/erpnext/lib/webnotes/model/sync.py", line 39, in walk_and_sync
    sync_doctype(module_name, name, force)
  File "/var/www/erpnext/lib/webnotes/model/sync.py", line 52, in sync_doctype
    doclist = peval_doclist(f.read())
  File "/var/www/erpnext/lib/webnotes/modules/utils.py", line 171, in peval_doclist
    return uncommonify_doclist(eval(txt))
  File "<string>", line 59
    {
    ^
SyntaxError: invalid syntax



What shoul i do, the system is still usable.




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

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

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

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/UPKh26ABrnUJ.

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

 

 




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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

Works great, the currency selection is Awesome

On Wednesday, January 23, 2013 2:02:27 PM UTC-3, rushabh wrote:

Sorry had not pushed, please update now.



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

On 23-Jan-2013, at 9:30 PM, Hernan Gonzalez <nu...@gmail.com> wrote:

I get the following error while updating.

nu...@server:/var/www/erpnext$ sudo lib/wnf.py --update origin master
From git://github.com/webnotes/wnframework
 * branch            master     -> FETCH_HEAD
Already up-to-date.
From git://github.com/webnotes/erpnext
 * branch            master     -> FETCH_HEAD
Already up-to-date.

Traceback (most recent call last):
  File "lib/wnf.py", line 485, in <module>
    run()
  File "lib/wnf.py", line 405, in run
    update_erpnext(options.update[0], options.update[1])
  File "lib/wnf.py", line 77, in update_erpnext
    patch_sync_build()
  File "lib/wnf.py", line 80, in patch_sync_build
    patch_sync()
  File "lib/wnf.py", line 91, in patch_sync
    sync_all()
  File "lib/wnf.py", line 73, in sync_all
    webnotes.model.sync.sync_all(force)
  File "/var/www/erpnext/lib/webnotes/model/sync.py", line 13, in sync_all
    sync_for("app", force)
  File "/var/www/erpnext/lib/webnotes/model/sync.py", line 18, in sync_for
    folder), force, sync_everything)
  File "/var/www/erpnext/lib/webnotes/model/sync.py", line 39, in walk_and_sync
    sync_doctype(module_name, name, force)
  File "/var/www/erpnext/lib/webnotes/model/sync.py", line 52, in sync_doctype
    doclist = peval_doclist(f.read())
  File "/var/www/erpnext/lib/webnotes/modules/utils.py", line 171, in peval_doclist
    return uncommonify_doclist(eval(txt))
  File "<string>", line 59
    {
    ^
SyntaxError: invalid syntax



What shoul i do, the system is still usable.




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-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/UPKh26ABrnUJ.

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

 

 




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

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

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/eR8Sh3rpC4MJ.

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

 

 

Hi,

Getting this error after update and blank page after login

Traceback (most recent call last):
  File “lib/wnf.py”, line 434, in <module>
    append_future_import()
  File “lib/wnf.py”, line 388, in run
   
  File “lib/wnf.py”, line 102, in update_erpnext
    import conf
  File “lib/wnf.py”, line 105, in patch_sync_build
    conf_path = conf_path[:-1]
  File “lib/wnf.py”, line 116, in patch_sync
   
  File “lib/wnf.py”, line 98, in sync_all
   
  File “/var/www/erpnext/lib/webnotes/model/sync.py”, line 12, in sync_all
    sync_for(“lib”, force)
  File “/var/www/erpnext/lib/webnotes/model/sync.py”, line 18, in sync_for
    folder), force, sync_everything)
  File “/var/www/erpnext/lib/webnotes/model/sync.py”, line 39, in walk_and_sync
    sync_doctype(module_name, name, force)
  File “/var/www/erpnext/lib/webnotes/model/sync.py”, line 52, in sync_doctype
    doclist = peval_doclist(f.read())
  File “/var/www/erpnext/lib/webnotes/modules/utils.py”, line 171, in peval_doclist
    return uncommonify_doclist(eval(txt))
  File “/var/www/erpnext/lib/webnotes/modules/utils.py”, line 134, in uncommonify_doclist
    common_dict = webnotes._dict()
AttributeError: ‘module’ object has no attribute ‘_dict’


On Thursday, January 24, 2013 3:00:18 AM UTC+11, Hernan Gonzalez wrote:

I get the following error while updating.

nu…@server:/var/www/erpnext$ sudo lib/wnf.py --update origin master
From git://github.com/webnotes/wnframework
 * branch            master     -> FETCH_HEAD
Already up-to-date.
From git://github.com/webnotes/erpnext
 * branch            master     -> FETCH_HEAD
Already up-to-date.

Traceback (most recent call last):
  File “lib/wnf.py”, line 485, in <module>
    run()
  File “lib/wnf.py”, line 405, in run
    update_erpnext(options.update[0], options.update[1])
  File “lib/wnf.py”, line 77, in update_erpnext
    patch_sync_build()
  File “lib/wnf.py”, line 80, in patch_sync_build
    patch_sync()
  File “lib/wnf.py”, line 91, in patch_sync
    sync_all()
  File “lib/wnf.py”, line 73, in sync_all
    webnotes.model.sync.sync_all(force)
  File “/var/www/erpnext/lib/webnotes/model/sync.py”, line 13, in sync_all
    sync_for(“app”, force)
  File “/var/www/erpnext/lib/webnotes/model/sync.py”, line 18, in sync_for
    folder), force, sync_everything)
  File “/var/www/erpnext/lib/webnotes/model/sync.py”, line 39, in walk_and_sync
    sync_doctype(module_name, name, force)
  File “/var/www/erpnext/lib/webnotes/model/sync.py”, line 52, in sync_doctype
    doclist = peval_doclist(f.read())
  File “/var/www/erpnext/lib/webnotes/modules/utils.py”, line 171, in peval_doclist
    return uncommonify_doclist(eval(txt))
  File “<string>”, line 59
    {
    ^
SyntaxError: invalid syntax



What shoul i do, the system is still usable.



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 post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/N2HbGIRg0rsJ.

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

 

 

Hi,

Just run the update again.

If you have pulled the update after a long time, there will be changes in the webnotes/__init__.py file. While running update, it didn't reload with the new changes. Running update again should work.

Thanks,
Anand.

On Jan 29, 2013 6:41 AM, "electromania" <ia...@gmail.com> wrote:
Hi,

Getting this error after update and blank page after login

Traceback (most recent call last):
File "lib/wnf.py", line 434, in <module>
append_future_import()
File "lib/wnf.py", line 388, in run

File "lib/wnf.py", line 102, in update_erpnext
import conf
File "lib/wnf.py", line 105, in patch_sync_build
conf_path = conf_path[:-1]
File "lib/wnf.py", line 116, in patch_sync

File "lib/wnf.py", line 98, in sync_all

File "/var/www/erpnext/lib/webnotes/model/sync.py", line 12, in sync_all
sync_for("lib", force)
File "/var/www/erpnext/lib/webnotes/model/sync.py", line 18, in sync_for
folder), force, sync_everything)
File "/var/www/erpnext/lib/webnotes/model/sync.py", line 39, in walk_and_sync
sync_doctype(module_name, name, force)
File "/var/www/erpnext/lib/webnotes/model/sync.py", line 52, in sync_doctype
doclist = peval_doclist(f.read())
File "/var/www/erpnext/lib/webnotes/modules/utils.py", line 171, in peval_doclist
return uncommonify_doclist(eval(txt))
File "/var/www/erpnext/lib/webnotes/modules/utils.py", line 134, in uncommonify_doclist
common_dict = webnotes._dict()
AttributeError: 'module' object has no attribute '_dict'


On Thursday, January 24, 2013 3:00:18 AM UTC+11, Hernan Gonzalez wrote:
I get the following error while updating.

nu...@server:/var/www/erpnext$ sudo lib/wnf.py --update origin master
From git://github.com/webnotes/wnframework
* branch master -> FETCH_HEAD
Already up-to-date.
From git://github.com/webnotes/erpnext
* branch master -> FETCH_HEAD
Already up-to-date.

Traceback (most recent call last):
File "lib/wnf.py", line 485, in <module>
run()
File "lib/wnf.py", line 405, in run
update_erpnext(options.update[0], options.update[1])
File "lib/wnf.py", line 77, in update_erpnext
patch_sync_build()
File "lib/wnf.py", line 80, in patch_sync_build
patch_sync()
File "lib/wnf.py", line 91, in patch_sync
sync_all()
File "lib/wnf.py", line 73, in sync_all
webnotes.model.sync.sync_all(force)
File "/var/www/erpnext/lib/webnotes/model/sync.py", line 13, in sync_all
sync_for("app", force)
File "/var/www/erpnext/lib/webnotes/model/sync.py", line 18, in sync_for
folder), force, sync_everything)
File "/var/www/erpnext/lib/webnotes/model/sync.py", line 39, in walk_and_sync
sync_doctype(module_name, name, force)
File "/var/www/erpnext/lib/webnotes/model/sync.py", line 52, in sync_doctype
doclist = peval_doclist(f.read())
File "/var/www/erpnext/lib/webnotes/modules/utils.py", line 171, in peval_doclist
return uncommonify_doclist(eval(txt))
File "<string>", line 59
{
^
SyntaxError: invalid syntax



What shoul i do, the system is still usable.



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 post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/N2HbGIRg0rsJ.

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






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 post to this group, send email to er...@googlegroups.com.

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

 

 

Getting this error now

id@PingERPNext:/var/www/erpnext$ sudo lib/wnf.py --update origin master
From git://github.com/webnotes/wnframework
 * branch            master     -> FETCH_HEAD
Already up-to-date.
From git://github.com/webnotes/erpnext
 * branch            master     -> FETCH_HEAD
Already up-to-date.
Traceback (most recent call last):
  File “lib/wnf.py”, line 494, in <module>
    run()
  File “lib/wnf.py”, line 405, in run
    update_erpnext(options.update[0], options.update[1])
  File “lib/wnf.py”, line 77, in update_erpnext
    patch_sync_build()
  File “lib/wnf.py”, line 80, in patch_sync_build
    patch_sync()
  File “lib/wnf.py”, line 84, in patch_sync
    apply_latest_patches()
  File “lib/wnf.py”, line 68, in apply_latest_patches
    webnotes.modules.patch_handler.run_all()
  File “/var/www/erpnext/lib/webnotes/modules/patch_handler.py”, line 45, in run_all
    if not run_single(patchmodule = patch):
  File “/var/www/erpnext/lib/webnotes/modules/patch_handler.py”, line 58, in run_single
    if force or method or not executed(patchmodule):
  File “/var/www/erpnext/lib/webnotes/modules/patch_handler.py”, line 113, in executed
    done = webnotes.conn.sql(“”“select patch from __PatchLog where patch=%s”“”, patchmodule)
  File “/var/www/erpnext/lib/webnotes/db.py”, line 111, in sql
    raise e
_mysql_exceptions.ProgrammingError: (1064, ‘You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ': “'patches.jan_mar_2012'”, u'patch_file': “'stable_branch_shift_09_01_12'”, u'd' at line 1’)




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 post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/YV828I00aqMJ.

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

 

 

Hi,

It seems that you are working on your own fork of erpnext, are you?

Thanks,
Anand.

On Jan 29, 2013 10:04 AM, "electromania" <ia...@gmail.com> wrote:
Getting this error now

id@PingERPNext:/var/www/erpnext$ sudo lib/wnf.py --update origin master
From git://github.com/webnotes/wnframework
* branch master -> FETCH_HEAD
Already up-to-date.
From git://github.com/webnotes/erpnext
* branch master -> FETCH_HEAD
Already up-to-date.
Traceback (most recent call last):
File "lib/wnf.py", line 494, in <module>
run()
File "lib/wnf.py", line 405, in run
update_erpnext(options.update[0], options.update[1])
File "lib/wnf.py", line 77, in update_erpnext
patch_sync_build()
File "lib/wnf.py", line 80, in patch_sync_build
patch_sync()
File "lib/wnf.py", line 84, in patch_sync
apply_latest_patches()
File "lib/wnf.py", line 68, in apply_latest_patches
webnotes.modules.patch_handler.run_all()
File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 45, in run_all
if not run_single(patchmodule = patch):
File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 58, in run_single
if force or method or not executed(patchmodule):
File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 113, in executed
done = webnotes.conn.sql("""select patch from __PatchLog where patch=%s""", patchmodule)
File "/var/www/erpnext/lib/webnotes/db.py", line 111, in sql
raise e
_mysql_exceptions.ProgrammingError: (1064, 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \': "\'patches.jan_mar_2012\'", u\'patch_file\': "\'stable_branch_shift_09_01_12\'", u\'d\' at line 1')




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 post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/YV828I00aqMJ.

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






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 post to this group, send email to er...@googlegroups.com.

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

 

 

Hi,


Yes I’ve install ERPNext on Ubuntu myself.

On Tuesday, January 29, 2013 3:42:19 PM UTC+11, Anand Doshi wrote:

Hi,

It seems that you are working on your own fork of erpnext, are you?

Thanks,
Anand.

On Jan 29, 2013 10:04 AM, "electromania" <ia...@gmail.com> wrote:
Getting this error now

id@PingERPNext:/var/www/erpnext$ sudo lib/wnf.py --update origin master
From git://github.com/webnotes/wnframework
 * branch            master     -> FETCH_HEAD
Already up-to-date.
From git://github.com/webnotes/erpnext
 * branch            master     -> FETCH_HEAD
Already up-to-date.
Traceback (most recent call last):
  File "lib/wnf.py", line 494, in <module>
    run()
  File "lib/wnf.py", line 405, in run
    update_erpnext(options.update[0], options.update[1])
  File "lib/wnf.py", line 77, in update_erpnext
    patch_sync_build()
  File "lib/wnf.py", line 80, in patch_sync_build
    patch_sync()
  File "lib/wnf.py", line 84, in patch_sync
    apply_latest_patches()
  File "lib/wnf.py", line 68, in apply_latest_patches
    webnotes.modules.patch_handler.run_all()
  File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 45, in run_all
    if not run_single(patchmodule = patch):
  File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 58, in run_single
    if force or method or not executed(patchmodule):
  File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 113, in executed
    done = webnotes.conn.sql("""select patch from __PatchLog where patch=%s""", patchmodule)
  File "/var/www/erpnext/lib/webnotes/db.py", line 111, in sql
    raise e
_mysql_exceptions.ProgrammingError: (1064, 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \': "\'patches.jan_mar_2012\'", u\'patch_file\': "\'stable_branch_shift_09_01_12\'", u\'d\' at line 1')




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 post to this group, send email to erpnext-dev…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/YV828I00aqMJ.

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

 

 



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 post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/84Xw4X7mJZEJ.

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

 

 

Hi,

Which folders do you see in your erpnext folder?

-Anand.

On 29-Jan-2013, at 10:18 AM, electromania <ia...@gmail.com> wrote:

Hi,

Yes I've install ERPNext on Ubuntu myself.

On Tuesday, January 29, 2013 3:42:19 PM UTC+11, Anand Doshi wrote:

Hi,

It seems that you are working on your own fork of erpnext, are you?

Thanks,
Anand.

On Jan 29, 2013 10:04 AM, "electromania" <ia...@gmail.com> wrote:
Getting this error now

id@PingERPNext:/var/www/erpnext$ sudo lib/wnf.py --update origin master
From git://github.com/webnotes/wnframework
 * branch            master     -> FETCH_HEAD
Already up-to-date.
From git://github.com/webnotes/erpnext
 * branch            master     -> FETCH_HEAD
Already up-to-date.
Traceback (most recent call last):
  File "lib/wnf.py", line 494, in <module>
    run()
  File "lib/wnf.py", line 405, in run
    update_erpnext(options.update[0], options.update[1])
  File "lib/wnf.py", line 77, in update_erpnext
    patch_sync_build()
  File "lib/wnf.py", line 80, in patch_sync_build
    patch_sync()
  File "lib/wnf.py", line 84, in patch_sync
    apply_latest_patches()
  File "lib/wnf.py", line 68, in apply_latest_patches
    webnotes.modules.patch_handler.run_all()
  File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 45, in run_all
    if not run_single(patchmodule = patch):
  File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 58, in run_single
    if force or method or not executed(patchmodule):
  File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 113, in executed
    done = webnotes.conn.sql("""select patch from __PatchLog where patch=%s""", patchmodule)
  File "/var/www/erpnext/lib/webnotes/db.py", line 111, in sql
    raise e
_mysql_exceptions.ProgrammingError: (1064, 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \': "\'patches.jan_mar_2012\'", u\'patch_file\': "\'stable_branch_shift_09_01_12\'", u\'d\' at line 1')





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 post to this group, send email to erpnext-dev…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/YV828I00aqMJ.

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

 

 




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 post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/84Xw4X7mJZEJ.

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

 

 




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 post to this group, send email to er...@googlegroups.com.

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

 

 

Hi,


accounts, app, buying, home, hr, lib, logs, patches, production, projects, public, sandbox, selling, setup, startup, stock, support, utilities, website.

Above are all the folder and I have few files conf.py, conf.pyc, install_erpnext.py, license.txt, master.sql.gz.



On Tuesday, January 29, 2013 3:53:29 PM UTC+11, Anand Doshi wrote:
Hi,

Which folders do you see in your erpnext folder?

-Anand.

On 29-Jan-2013, at 10:18 AM, electromania <ia…@gmail.com> wrote:

Hi,

Yes I’ve install ERPNext on Ubuntu myself.

On Tuesday, January 29, 2013 3:42:19 PM UTC+11, Anand Doshi wrote:

Hi,

It seems that you are working on your own fork of erpnext, are you?

Thanks,

Anand.

On Jan 29, 2013 10:04 AM, "electromania" <ia...@gmail.com> wrote:
Getting this error now

id@PingERPNext:/var/www/erpnext$ sudo lib/wnf.py --update origin master
From git://github.com/webnotes/wnframework
 * branch            master     -> FETCH_HEAD
Already up-to-date.
From git://github.com/webnotes/erpnext
 * branch            master     -> FETCH_HEAD
Already up-to-date.
Traceback (most recent call last):
  File "lib/wnf.py", line 494, in <module>
    run()
  File "lib/wnf.py", line 405, in run
    update_erpnext(options.update[0], options.update[1])
  File "lib/wnf.py", line 77, in update_erpnext
    patch_sync_build()
  File "lib/wnf.py", line 80, in patch_sync_build
    patch_sync()
  File "lib/wnf.py", line 84, in patch_sync
    apply_latest_patches()
  File "lib/wnf.py", line 68, in apply_latest_patches
    webnotes.modules.patch_handler.run_all()
  File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 45, in run_all
    if not run_single(patchmodule = patch):
  File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 58, in run_single
    if force or method or not executed(patchmodule):
  File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 113, in executed
    done = webnotes.conn.sql("""select patch from __PatchLog where patch=%s""", patchmodule)
  File "/var/www/erpnext/lib/webnotes/db.py", line 111, in sql
    raise e
_mysql_exceptions.ProgrammingError: (1064, 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \': "\'patches.jan_mar_2012\'", u\'patch_file\': "\'stable_branch_shift_09_01_12\'", u\'d\' at line 1')





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 post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/YV828I00aqMJ.

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

 

 




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 post to this group, send email to erpnext-dev…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/84Xw4X7mJZEJ.

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

 

 




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 post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/lAaO_BDQ6rEJ.

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

 

 

alright. Found the issue. It seems that you haven't updated for a long time. The whole directory structure has changed.

Make sure that you backup your database before the update using:
lib/wnf.py --backup

Follow the steps in the upgrade section:
https://github.com/webnotes/erpnext/wiki/How-to-Install-ERPNext/e0be233bcb3af28c1a50291d9bc5954c48dbc5f1

thanks,
Anand.

On 29-Jan-2013, at 10:26 AM, electromania <ia...@gmail.com> wrote:

Hi,

accounts, app, buying, home, hr, lib, logs, patches, production, projects, public, sandbox, selling, setup, startup, stock, support, utilities, website.

Above are all the folder and I have few files conf.py, conf.pyc, install_erpnext.py, license.txt, master.sql.gz.



On Tuesday, January 29, 2013 3:53:29 PM UTC+11, Anand Doshi wrote:
Hi,

Which folders do you see in your erpnext folder?

-Anand.

On 29-Jan-2013, at 10:18 AM, electromania <ia...@gmail.com> wrote:

Hi,

Yes I've install ERPNext on Ubuntu myself.

On Tuesday, January 29, 2013 3:42:19 PM UTC+11, Anand Doshi wrote:

Hi,

It seems that you are working on your own fork of erpnext, are you?

Thanks,
Anand.

On Jan 29, 2013 10:04 AM, "electromania" <ia...@gmail.com> wrote:
Getting this error now

id@PingERPNext:/var/www/erpnext$ sudo lib/wnf.py --update origin master
From git://github.com/webnotes/wnframework
 * branch            master     -> FETCH_HEAD
Already up-to-date.
From git://github.com/webnotes/erpnext
 * branch            master     -> FETCH_HEAD
Already up-to-date.
Traceback (most recent call last):
  File "lib/wnf.py", line 494, in <module>
    run()
  File "lib/wnf.py", line 405, in run
    update_erpnext(options.update[0], options.update[1])
  File "lib/wnf.py", line 77, in update_erpnext
    patch_sync_build()
  File "lib/wnf.py", line 80, in patch_sync_build
    patch_sync()
  File "lib/wnf.py", line 84, in patch_sync
    apply_latest_patches()
  File "lib/wnf.py", line 68, in apply_latest_patches
    webnotes.modules.patch_handler.run_all()
  File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 45, in run_all
    if not run_single(patchmodule = patch):
  File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 58, in run_single
    if force or method or not executed(patchmodule):
  File "/var/www/erpnext/lib/webnotes/modules/patch_handler.py", line 113, in executed
    done = webnotes.conn.sql("""select patch from __PatchLog where patch=%s""", patchmodule)
  File "/var/www/erpnext/lib/webnotes/db.py", line 111, in sql
    raise e
_mysql_exceptions.ProgrammingError: (1064, 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \': "\'patches.jan_mar_2012\'", u\'patch_file\': "\'stable_branch_shift_09_01_12\'", u\'d\' at line 1')





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 post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/YV828I00aqMJ.

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

 

 




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 post to this group, send email to erpnext-dev…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/84Xw4X7mJZEJ.

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

 

 





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 post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/lAaO_BDQ6rEJ.

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

 

 




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 post to this group, send email to er...@googlegroups.com.

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