Updating error

When trying to get the latest update i get the following error:

er...@server:~/erpnext$ ./lib/wnf.py --latest
Executing execute:webnotes.get_module('website.doctype.website_sitemap_config.website_sitemap_config').rebuild_website_sitemap_config() in erpnext
Traceback (innermost last):
  File "lib/webnotes/modules/patch_handler.py", line 56, in execute_patch
    exec patchmodule.split("execute:")[1] in globals()
  File "<string>", line 1, in <module>
  File "lib/website/doctype/website_sitemap_config/website_sitemap_config.py", line 35, in rebuild_website_sitemap_config
    webnotes.conn.sql("""delete from `tabWebsite Sitemap Config`""")
  File "lib/webnotes/db.py", line 108, in sql
    self._cursor.execute(query)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
 ProgrammingError: (1146, "Table 'erpnext.tabWebsite Sitemap Config' doesn't exist")

execute:webnotes.get_module('website.doctype.website_sitemap_config.website_sitemap_config').rebuild_website_sitemap_config(): failed: STOPPED
Traceback (most recent call last):
  File "./lib/wnf.py", line 727, in <module>
    main()
  File "./lib/wnf.py", line 23, in main
    run(fn, parsed_args)
  File "./lib/wnf.py", line 43, in run
    out = globals().get(fn)(**args)
  File "./lib/wnf.py", line 34, in new_fn
    return fn(*args, **new_kwargs)
  File "./lib/wnf.py", line 289, in latest
    webnotes.modules.patch_handler.run_all()
  File "lib/webnotes/modules/patch_handler.py", line 30, in run_all
    raise PatchError(patch)
webnotes.modules.patch_handler.PatchError: execute:webnotes.get_module('website.doctype.website_sitemap_config.website_sitemap_config').rebuild_website_sitemap_config()



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.

    For more options, visit https://groups.google.com/groups/opt_out.
Please update again. This has been fixed. Use --update origin master 

Assuming you are on the master branch and Wsgi architecture. 

On 19-Nov-2013, at 6:21 pm, Hernan Gonzalez <nu...@gmail.com> wrote:

When trying to get the latest update i get the following error:

er...@server:~/erpnext$ ./lib/wnf.py --latest
Executing execute:webnotes.get_module('website.doctype.website_sitemap_config.website_sitemap_config').rebuild_website_sitemap_config() in erpnext
Traceback (innermost last):
  File "lib/webnotes/modules/patch_handler.py", line 56, in execute_patch
    exec patchmodule.split("execute:")[1] in globals()
  File "<string>", line 1, in <module>
  File "lib/website/doctype/website_sitemap_config/website_sitemap_config.py", line 35, in rebuild_website_sitemap_config
    webnotes.conn.sql("""delete from `tabWebsite Sitemap Config`""")
  File "lib/webnotes/db.py", line 108, in sql
    self._cursor.execute(query)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
 ProgrammingError: (1146, "Table 'erpnext.tabWebsite Sitemap Config' doesn't exist")

execute:webnotes.get_module('website.doctype.website_sitemap_config.website_sitemap_config').rebuild_website_sitemap_config(): failed: STOPPED
Traceback (most recent call last):
  File "./lib/wnf.py", line 727, in <module>
    main()
  File "./lib/wnf.py", line 23, in main
    run(fn, parsed_args)
  File "./lib/wnf.py", line 43, in run
    out = globals().get(fn)(**args)
  File "./lib/wnf.py", line 34, in new_fn
    return fn(*args, **new_kwargs)
  File "./lib/wnf.py", line 289, in latest
    webnotes.modules.patch_handler.run_all()
  File "lib/webnotes/modules/patch_handler.py", line 30, in run_all
    raise PatchError(patch)
webnotes.modules.patch_handler.PatchError: execute:webnotes.get_module('website.doctype.website_sitemap_config.website_sitemap_config').rebuild_website_sitemap_config()



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.

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



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.

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