Parse error upon logging in

So I logged into erpnext and it showed me a parse error.

This also effects the form which appears as lot of the filed contain empty options eg: country field did not have any options and default currency field too etc.


attached is a screenshot of the issue - parser error on the bottom RHS

how can I sort this 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.
Check your JS console. There might be an error there.

On Saturday, September 28, 2013 12:10:27 AM UTC+5:30, Aditya Kumar wrote:
So I logged into erpnext and it showed me a parse error.

This also effects the form which appears as lot of the filed contain empty options eg: country field did not have any options and default currency field too etc.


attached is a screenshot of the issue - parser error on the bottom RHS

how can I sort this 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.
How do I check this JS console - you mean the chrome developer console? What exactly could be wrong and how can I fix it?

On Saturday, September 28, 2013 9:54:32 PM UTC+5:30, rushabh wrote:
Check your JS console. There might be an error there.

On Saturday, September 28, 2013 12:10:27 AM UTC+5:30, Aditya Kumar wrote:
So I logged into erpnext and it showed me a parse error.

This also effects the form which appears as lot of the filed contain empty options eg: country field did not have any options and default currency field too etc.


attached is a screenshot of the issue - parser error on the bottom RHS

how can I sort this 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.
Possibly some python library didn't get install.

Check the response of sever.py in the network tab and see if it shows any traceback.

-Anand.

On 30-Sep-2013, at 1:07 AM, Aditya Kumar <to...@gmail.com> wrote:

How do I check this JS console - you mean the chrome developer console? What exactly could be wrong and how can I fix it?

On Saturday, September 28, 2013 9:54:32 PM UTC+5:30, rushabh wrote:
Check your JS console. There might be an error there.

On Saturday, September 28, 2013 12:10:27 AM UTC+5:30, Aditya Kumar wrote:
So I logged into erpnext and it showed me a parse error.

This also effects the form which appears as lot of the filed contain empty options eg: country field did not have any options and default currency field too etc.


attached is a screenshot of the issue - parser error on the bottom RHS

how can I sort this 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.



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.
I checked my server.py

  1. Request URL:
    http://toadityakumar.com:8080/server.py
  2. Request Method:
    POST
  3. Status Code:
    200 OK
  4. Request Headersview source
    1. Accept:
      application/json, text/javascript, */*; q=0.01
    2. Accept-Encoding:
      gzip,deflate,sdch
    3. Accept-Language:
      en-US,en;q=0.8
    4. Cache-Control:
      max-age=0
    5. Connection:
      keep-alive
    6. Content-Length:
      62
    7. Content-Type:
      application/x-www-form-urlencoded; charset=UTF-8
    8. Cookie:
      country=None; full_name=Administrator; sid=9caa7197d3dd25f8229a87159b23ff4a9a8156a5338b80970c3daefe
    9. Host:
      toadityakumar.com:8080
    10. Origin:
      http://toadityakumar.com:8080
    11. Referer:
      http://toadityakumar.com:8080/app.html
    12. User-Agent:
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36
    13. X-Requested-With:
      XMLHttpRequest
  5. Form Dataview sourceview URL encoded
    1. cmd:
      webnotes.country_info.get_country_timezone_info
    2. _type:
      POST
  6. Response Headersview source
    1. <!--:
      spam
    2. Connection:
      Keep-Alive
    3. Content-Type:
      text/html
    4. Date:
      Mon, 30 Sep 2013 07:01:26 GMT
    5. Keep-Alive:
      timeout=5, max=253
    6. Server:
      Apache
    7. Set-Cookie:
      country=None
    8. Set-Cookie:
      full_name=Administrator
    9. Set-Cookie:
      sid=9caa7197d3dd25f8229a87159b23ff4a9a8156a5338b80970c3daefe; expires=Thu, 03 Oct 2013 07:01:26
    10. Transfer-Encoding:
      chunked


Preview shows me this :


 
<type 'exceptions.AttributeError'>
Python 2.6.6: /usr/bin/python
Mon Sep 30 07:01:26 2013

A problem occurred in a Python script. Here is the sequence offunction calls leading up to the error, in the order they occurred.

 /home/toaditya/public_html/erp1/public/server.py in ()
   55                 print "<html><head><script>window.location.href='index.html';</script></head></html>"
   56 
   57 if __name__=="__main__":
   58         if init():
   59                 respond()
respond = <function respond>
 /home/toaditya/public_html/erp1/public/server.py in respond()
   49         import webnotes
   50         if 'cmd' in webnotes.form_dict:
   51                 webnotes.handler.handle()
   52         else:
   53                 print "Content-Type: text/html"
webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.handler = <module 'webnotes.handler' from '../lib/webnotes/handler.py'>, webnotes.handler.handle = <function handle>
 /home/toaditya/public_html/erp1/lib/webnotes/handler.py in handle()
  109                         webnotes.conn.commit()
  110                                 
  111         print_response()
  112 
  113         if webnotes.conn:
global print_response = <function print_response>
 /home/toaditya/public_html/erp1/lib/webnotes/handler.py in print_response()
  168         }
  169         
  170         print_map.get(webnotes.response.get('type'), print_json)()
  171 
  172 def print_page():
print_map = {u'csv': <function print_csv>, u'download': <function print_raw>, u'iframe': <function print_iframe>, u'json': <function print_json>, u'page': <function print_page>}, print_map.get = <built-in method get of dict object>, global webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.response = {u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, webnotes.response.get = <built-in method get of _dict object>, global print_json = <function print_json>
 /home/toaditya/public_html/erp1/lib/webnotes/handler.py in print_json()
  188 
  189         import json
  190         print_zip(json.dumps(webnotes.response, default=json_handler, separators=(',',':')))
  191                 
  192 def print_csv():
global print_zip = <function print_zip>, json = <module 'json' from '/usr/lib64/python2.6/json/__init__.pyc'>, json.dumps = <function dumps>, global webnotes = <module 'webnotes' from '../lib/webnotes/__init__.pyc'>, webnotes.response = {u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, default undefinedglobal json_handler = <function json_handler>, separators undefined
 /usr/lib64/python2.6/json/__init__.py in dumps(obj={u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, cls=<class 'json.encoder.JSONEncoder'>, indent=None, separators=(u',', u':'), encoding='utf-8', default=<function json_handler>, **kw={})
  235         check_circular=check_circular, allow_nan=allow_nan, indent=indent,
  236         separators=separators, encoding=encoding, default=default,
  237         **kw).encode(obj)
  238 
  239 
kw = {}, ).encode undefinedobj = {u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}
 /usr/lib64/python2.6/json/encoder.py in encode(self=<json.encoder.JSONEncoder object>, o={u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''})
  365         # exceptions aren't as detailed.  The list call should be roughly
  366         # equivalent to the PySequence_Fast that ''.join() would do.
  367         chunks = list(self.iterencode(o))
  368         return ''.join(chunks)
  369 
chunks undefinedbuiltin list = <type 'list'>, self = <json.encoder.JSONEncoder object>, self.iterencode = <bound method JSONEncoder.iterencode of <json.encoder.JSONEncoder object>>, o = {u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}
 /usr/lib64/python2.6/json/encoder.py in _iterencode(self=<json.encoder.JSONEncoder object>, o={u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, markers={23251088: {u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, 25872976: {u'all_timezones': ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], u'country_info': {u'Afghanistan': {u'currency_fraction': u'Pul', u'currency_fraction_units': 100, u'currency_symbol': u'\u060b', u'number_format': u'#,###.##', u'timezones': [u'Asia/Kabul']}, u'Albania': {u'currency': u'ALL', u'currency_fraction': u'Qindark\xeb', u'currency_fraction_units': 100, u'currency_name': u'Lek', u'currency_symbol': u'L', u'number_format': u'#,###.##', u'timezones': [u'Europe/Tirane']}, u'Algeria': {u'currency': u'DZD', u'currency_fraction': u'Santeem', u'currency_fraction_units': 100, u'currency_name': u'Algerian Dinar', u'currency_symbol': u'\u062f.\u062c', u'number_format': u'#,###.##', u'timezones': [u'Africa/Algiers']}, u'American Samoa': {u'number_format': u'#,###.##'}, u'Andorra': {u'currency': u'EUR', u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'\u20ac', u'number_format': u'#,###.##', u'timezones': [u'Europe/Andorra']}, u'Angola': {u'currency_fraction': u'C\xeantimo', u'currency_fraction_units': 100, u'currency_symbol': u'Kz', u'number_format': u'#,###.##', u'timezones': [u'Africa/Luanda']}, u'Anguilla': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Anguilla']}, u'Antarctica': {u'number_format': u'#,###.##', u'timezones': [u'Antarctica/Casey', u'Antarctica/Davis', u'Antarctica/DumontDUrville', u'Antarctica/Macquarie', u'Antarctica/Mawson', u'Antarctica/McMurdo', u'Antarctica/Palmer', u'Antarctica/Rothera', u'Antarctica/South_Pole', u'Antarctica/Syowa', u'Antarctica/Vostok']}, u'Antigua and Barbuda': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Antigua']}, u'Argentina': {u'currency': u'ARS', u'currency_fraction': u'Centavo', u'currency_fraction_units': 100, u'currency_name': u'Argentine Peso', u'currency_symbol': u'$', u'number_format': u'#.###,##', u'timezones': [u'America/Argentina/Buenos_Aires', u'America/Argentina/Catamarca', u'America/Argentina/Cordoba', u'America/Argentina/Jujuy', u'America/Argentina/La_Rioja', u'America/Argentina/Mendoza', u'America/Argentina/Rio_Gallegos', u'America/Argentina/Salta', u'America/Argentina/San_Juan', u'America/Argentina/San_Luis', u'America/Argentina/Tucuman', u'America/Argentina/Ushuaia']}, ...}}})
  307                 yield chunk
  308         elif isinstance(o, dict):
  309             for chunk in self._iterencode_dict(o, markers):
  310                 yield chunk
  311         else:
chunk = u':', self = <json.encoder.JSONEncoder object>, self._iterencode_dict = <bound method JSONEncoder._iterencode_dict of <json.encoder.JSONEncoder object>>, o = {u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, markers = {23251088: {u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, 25872976: {u'all_timezones': ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], u'country_info': {u'Afghanistan': {u'currency_fraction': u'Pul', u'currency_fraction_units': 100, u'currency_symbol': u'\u060b', u'number_format': u'#,###.##', u'timezones': [u'Asia/Kabul']}, u'Albania': {u'currency': u'ALL', u'currency_fraction': u'Qindark\xeb', u'currency_fraction_units': 100, u'currency_name': u'Lek', u'currency_symbol': u'L', u'number_format': u'#,###.##', u'timezones': [u'Europe/Tirane']}, u'Algeria': {u'currency': u'DZD', u'currency_fraction': u'Santeem', u'currency_fraction_units': 100, u'currency_name': u'Algerian Dinar', u'currency_symbol': u'\u062f.\u062c', u'number_format': u'#,###.##', u'timezones': [u'Africa/Algiers']}, u'American Samoa': {u'number_format': u'#,###.##'}, u'Andorra': {u'currency': u'EUR', u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'\u20ac', u'number_format': u'#,###.##', u'timezones': [u'Europe/Andorra']}, u'Angola': {u'currency_fraction': u'C\xeantimo', u'currency_fraction_units': 100, u'currency_symbol': u'Kz', u'number_format': u'#,###.##', u'timezones': [u'Africa/Luanda']}, u'Anguilla': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Anguilla']}, u'Antarctica': {u'number_format': u'#,###.##', u'timezones': [u'Antarctica/Casey', u'Antarctica/Davis', u'Antarctica/DumontDUrville', u'Antarctica/Macquarie', u'Antarctica/Mawson', u'Antarctica/McMurdo', u'Antarctica/Palmer', u'Antarctica/Rothera', u'Antarctica/South_Pole', u'Antarctica/Syowa', u'Antarctica/Vostok']}, u'Antigua and Barbuda': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Antigua']}, u'Argentina': {u'currency': u'ARS', u'currency_fraction': u'Centavo', u'currency_fraction_units': 100, u'currency_name': u'Argentine Peso', u'currency_symbol': u'$', u'number_format': u'#.###,##', u'timezones': [u'America/Argentina/Buenos_Aires', u'America/Argentina/Catamarca', u'America/Argentina/Cordoba', u'America/Argentina/Jujuy', u'America/Argentina/La_Rioja', u'America/Argentina/Mendoza', u'America/Argentina/Rio_Gallegos', u'America/Argentina/Salta', u'America/Argentina/San_Juan', u'America/Argentina/San_Luis', u'America/Argentina/Tucuman', u'America/Argentina/Ushuaia']}, ...}}}
 /usr/lib64/python2.6/json/encoder.py in _iterencode_dict(self=<json.encoder.JSONEncoder object>, dct={u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, markers={23251088: {u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, 25872976: {u'all_timezones': ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], u'country_info': {u'Afghanistan': {u'currency_fraction': u'Pul', u'currency_fraction_units': 100, u'currency_symbol': u'\u060b', u'number_format': u'#,###.##', u'timezones': [u'Asia/Kabul']}, u'Albania': {u'currency': u'ALL', u'currency_fraction': u'Qindark\xeb', u'currency_fraction_units': 100, u'currency_name': u'Lek', u'currency_symbol': u'L', u'number_format': u'#,###.##', u'timezones': [u'Europe/Tirane']}, u'Algeria': {u'currency': u'DZD', u'currency_fraction': u'Santeem', u'currency_fraction_units': 100, u'currency_name': u'Algerian Dinar', u'currency_symbol': u'\u062f.\u062c', u'number_format': u'#,###.##', u'timezones': [u'Africa/Algiers']}, u'American Samoa': {u'number_format': u'#,###.##'}, u'Andorra': {u'currency': u'EUR', u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'\u20ac', u'number_format': u'#,###.##', u'timezones': [u'Europe/Andorra']}, u'Angola': {u'currency_fraction': u'C\xeantimo', u'currency_fraction_units': 100, u'currency_symbol': u'Kz', u'number_format': u'#,###.##', u'timezones': [u'Africa/Luanda']}, u'Anguilla': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Anguilla']}, u'Antarctica': {u'number_format': u'#,###.##', u'timezones': [u'Antarctica/Casey', u'Antarctica/Davis', u'Antarctica/DumontDUrville', u'Antarctica/Macquarie', u'Antarctica/Mawson', u'Antarctica/McMurdo', u'Antarctica/Palmer', u'Antarctica/Rothera', u'Antarctica/South_Pole', u'Antarctica/Syowa', u'Antarctica/Vostok']}, u'Antigua and Barbuda': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Antigua']}, u'Argentina': {u'currency': u'ARS', u'currency_fraction': u'Centavo', u'currency_fraction_units': 100, u'currency_name': u'Argentine Peso', u'currency_symbol': u'$', u'number_format': u'#.###,##', u'timezones': [u'America/Argentina/Buenos_Aires', u'America/Argentina/Catamarca', u'America/Argentina/Cordoba', u'America/Argentina/Jujuy', u'America/Argentina/La_Rioja', u'America/Argentina/Mendoza', u'America/Argentina/Rio_Gallegos', u'America/Argentina/Salta', u'America/Argentina/San_Juan', u'America/Argentina/San_Luis', u'America/Argentina/Tucuman', u'America/Argentina/Ushuaia']}, ...}}})
  273             yield encoder(key)
  274             yield key_separator
  275             for chunk in self._iterencode(value, markers):
  276                 yield chunk
  277         if newline_indent is not None:
chunk = u':', self = <json.encoder.JSONEncoder object>, self._iterencode = <bound method JSONEncoder._iterencode of <json.encoder.JSONEncoder object>>, value = {u'all_timezones': ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], u'country_info': {u'Afghanistan': {u'currency_fraction': u'Pul', u'currency_fraction_units': 100, u'currency_symbol': u'\u060b', u'number_format': u'#,###.##', u'timezones': [u'Asia/Kabul']}, u'Albania': {u'currency': u'ALL', u'currency_fraction': u'Qindark\xeb', u'currency_fraction_units': 100, u'currency_name': u'Lek', u'currency_symbol': u'L', u'number_format': u'#,###.##', u'timezones': [u'Europe/Tirane']}, u'Algeria': {u'currency': u'DZD', u'currency_fraction': u'Santeem', u'currency_fraction_units': 100, u'currency_name': u'Algerian Dinar', u'currency_symbol': u'\u062f.\u062c', u'number_format': u'#,###.##', u'timezones': [u'Africa/Algiers']}, u'American Samoa': {u'number_format': u'#,###.##'}, u'Andorra': {u'currency': u'EUR', u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'\u20ac', u'number_format': u'#,###.##', u'timezones': [u'Europe/Andorra']}, u'Angola': {u'currency_fraction': u'C\xeantimo', u'currency_fraction_units': 100, u'currency_symbol': u'Kz', u'number_format': u'#,###.##', u'timezones': [u'Africa/Luanda']}, u'Anguilla': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Anguilla']}, u'Antarctica': {u'number_format': u'#,###.##', u'timezones': [u'Antarctica/Casey', u'Antarctica/Davis', u'Antarctica/DumontDUrville', u'Antarctica/Macquarie', u'Antarctica/Mawson', u'Antarctica/McMurdo', u'Antarctica/Palmer', u'Antarctica/Rothera', u'Antarctica/South_Pole', u'Antarctica/Syowa', u'Antarctica/Vostok']}, u'Antigua and Barbuda': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Antigua']}, u'Argentina': {u'currency': u'ARS', u'currency_fraction': u'Centavo', u'currency_fraction_units': 100, u'currency_name': u'Argentine Peso', u'currency_symbol': u'$', u'number_format': u'#.###,##', u'timezones': [u'America/Argentina/Buenos_Aires', u'America/Argentina/Catamarca', u'America/Argentina/Cordoba', u'America/Argentina/Jujuy', u'America/Argentina/La_Rioja', u'America/Argentina/Mendoza', u'America/Argentina/Rio_Gallegos', u'America/Argentina/Salta', u'America/Argentina/San_Juan', u'America/Argentina/San_Luis', u'America/Argentina/Tucuman', u'America/Argentina/Ushuaia']}, ...}}, markers = {23251088: {u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, 25872976: {u'all_timezones': ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], u'country_info': {u'Afghanistan': {u'currency_fraction': u'Pul', u'currency_fraction_units': 100, u'currency_symbol': u'\u060b', u'number_format': u'#,###.##', u'timezones': [u'Asia/Kabul']}, u'Albania': {u'currency': u'ALL', u'currency_fraction': u'Qindark\xeb', u'currency_fraction_units': 100, u'currency_name': u'Lek', u'currency_symbol': u'L', u'number_format': u'#,###.##', u'timezones': [u'Europe/Tirane']}, u'Algeria': {u'currency': u'DZD', u'currency_fraction': u'Santeem', u'currency_fraction_units': 100, u'currency_name': u'Algerian Dinar', u'currency_symbol': u'\u062f.\u062c', u'number_format': u'#,###.##', u'timezones': [u'Africa/Algiers']}, u'American Samoa': {u'number_format': u'#,###.##'}, u'Andorra': {u'currency': u'EUR', u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'\u20ac', u'number_format': u'#,###.##', u'timezones': [u'Europe/Andorra']}, u'Angola': {u'currency_fraction': u'C\xeantimo', u'currency_fraction_units': 100, u'currency_symbol': u'Kz', u'number_format': u'#,###.##', u'timezones': [u'Africa/Luanda']}, u'Anguilla': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Anguilla']}, u'Antarctica': {u'number_format': u'#,###.##', u'timezones': [u'Antarctica/Casey', u'Antarctica/Davis', u'Antarctica/DumontDUrville', u'Antarctica/Macquarie', u'Antarctica/Mawson', u'Antarctica/McMurdo', u'Antarctica/Palmer', u'Antarctica/Rothera', u'Antarctica/South_Pole', u'Antarctica/Syowa', u'Antarctica/Vostok']}, u'Antigua and Barbuda': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Antigua']}, u'Argentina': {u'currency': u'ARS', u'currency_fraction': u'Centavo', u'currency_fraction_units': 100, u'currency_name': u'Argentine Peso', u'currency_symbol': u'$', u'number_format': u'#.###,##', u'timezones': [u'America/Argentina/Buenos_Aires', u'America/Argentina/Catamarca', u'America/Argentina/Cordoba', u'America/Argentina/Jujuy', u'America/Argentina/La_Rioja', u'America/Argentina/Mendoza', u'America/Argentina/Rio_Gallegos', u'America/Argentina/Salta', u'America/Argentina/San_Juan', u'America/Argentina/San_Luis', u'America/Argentina/Tucuman', u'America/Argentina/Ushuaia']}, ...}}}
 /usr/lib64/python2.6/json/encoder.py in _iterencode(self=<json.encoder.JSONEncoder object>, o={u'all_timezones': ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], u'country_info': {u'Afghanistan': {u'currency_fraction': u'Pul', u'currency_fraction_units': 100, u'currency_symbol': u'\u060b', u'number_format': u'#,###.##', u'timezones': [u'Asia/Kabul']}, u'Albania': {u'currency': u'ALL', u'currency_fraction': u'Qindark\xeb', u'currency_fraction_units': 100, u'currency_name': u'Lek', u'currency_symbol': u'L', u'number_format': u'#,###.##', u'timezones': [u'Europe/Tirane']}, u'Algeria': {u'currency': u'DZD', u'currency_fraction': u'Santeem', u'currency_fraction_units': 100, u'currency_name': u'Algerian Dinar', u'currency_symbol': u'\u062f.\u062c', u'number_format': u'#,###.##', u'timezones': [u'Africa/Algiers']}, u'American Samoa': {u'number_format': u'#,###.##'}, u'Andorra': {u'currency': u'EUR', u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'\u20ac', u'number_format': u'#,###.##', u'timezones': [u'Europe/Andorra']}, u'Angola': {u'currency_fraction': u'C\xeantimo', u'currency_fraction_units': 100, u'currency_symbol': u'Kz', u'number_format': u'#,###.##', u'timezones': [u'Africa/Luanda']}, u'Anguilla': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Anguilla']}, u'Antarctica': {u'number_format': u'#,###.##', u'timezones': [u'Antarctica/Casey', u'Antarctica/Davis', u'Antarctica/DumontDUrville', u'Antarctica/Macquarie', u'Antarctica/Mawson', u'Antarctica/McMurdo', u'Antarctica/Palmer', u'Antarctica/Rothera', u'Antarctica/South_Pole', u'Antarctica/Syowa', u'Antarctica/Vostok']}, u'Antigua and Barbuda': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Antigua']}, u'Argentina': {u'currency': u'ARS', u'currency_fraction': u'Centavo', u'currency_fraction_units': 100, u'currency_name': u'Argentine Peso', u'currency_symbol': u'$', u'number_format': u'#.###,##', u'timezones': [u'America/Argentina/Buenos_Aires', u'America/Argentina/Catamarca', u'America/Argentina/Cordoba', u'America/Argentina/Jujuy', u'America/Argentina/La_Rioja', u'America/Argentina/Mendoza', u'America/Argentina/Rio_Gallegos', u'America/Argentina/Salta', u'America/Argentina/San_Juan', u'America/Argentina/San_Luis', u'America/Argentina/Tucuman', u'America/Argentina/Ushuaia']}, ...}}, markers={23251088: {u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, 25872976: {u'all_timezones': ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], u'country_info': {u'Afghanistan': {u'currency_fraction': u'Pul', u'currency_fraction_units': 100, u'currency_symbol': u'\u060b', u'number_format': u'#,###.##', u'timezones': [u'Asia/Kabul']}, u'Albania': {u'currency': u'ALL', u'currency_fraction': u'Qindark\xeb', u'currency_fraction_units': 100, u'currency_name': u'Lek', u'currency_symbol': u'L', u'number_format': u'#,###.##', u'timezones': [u'Europe/Tirane']}, u'Algeria': {u'currency': u'DZD', u'currency_fraction': u'Santeem', u'currency_fraction_units': 100, u'currency_name': u'Algerian Dinar', u'currency_symbol': u'\u062f.\u062c', u'number_format': u'#,###.##', u'timezones': [u'Africa/Algiers']}, u'American Samoa': {u'number_format': u'#,###.##'}, u'Andorra': {u'currency': u'EUR', u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'\u20ac', u'number_format': u'#,###.##', u'timezones': [u'Europe/Andorra']}, u'Angola': {u'currency_fraction': u'C\xeantimo', u'currency_fraction_units': 100, u'currency_symbol': u'Kz', u'number_format': u'#,###.##', u'timezones': [u'Africa/Luanda']}, u'Anguilla': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Anguilla']}, u'Antarctica': {u'number_format': u'#,###.##', u'timezones': [u'Antarctica/Casey', u'Antarctica/Davis', u'Antarctica/DumontDUrville', u'Antarctica/Macquarie', u'Antarctica/Mawson', u'Antarctica/McMurdo', u'Antarctica/Palmer', u'Antarctica/Rothera', u'Antarctica/South_Pole', u'Antarctica/Syowa', u'Antarctica/Vostok']}, u'Antigua and Barbuda': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Antigua']}, u'Argentina': {u'currency': u'ARS', u'currency_fraction': u'Centavo', u'currency_fraction_units': 100, u'currency_name': u'Argentine Peso', u'currency_symbol': u'$', u'number_format': u'#.###,##', u'timezones': [u'America/Argentina/Buenos_Aires', u'America/Argentina/Catamarca', u'America/Argentina/Cordoba', u'America/Argentina/Jujuy', u'America/Argentina/La_Rioja', u'America/Argentina/Mendoza', u'America/Argentina/Rio_Gallegos', u'America/Argentina/Salta', u'America/Argentina/San_Juan', u'America/Argentina/San_Luis', u'America/Argentina/Tucuman', u'America/Argentina/Ushuaia']}, ...}}})
  307                 yield chunk
  308         elif isinstance(o, dict):
  309             for chunk in self._iterencode_dict(o, markers):
  310                 yield chunk
  311         else:
chunk = u':', self = <json.encoder.JSONEncoder object>, self._iterencode_dict = <bound method JSONEncoder._iterencode_dict of <json.encoder.JSONEncoder object>>, o = {u'all_timezones': ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], u'country_info': {u'Afghanistan': {u'currency_fraction': u'Pul', u'currency_fraction_units': 100, u'currency_symbol': u'\u060b', u'number_format': u'#,###.##', u'timezones': [u'Asia/Kabul']}, u'Albania': {u'currency': u'ALL', u'currency_fraction': u'Qindark\xeb', u'currency_fraction_units': 100, u'currency_name': u'Lek', u'currency_symbol': u'L', u'number_format': u'#,###.##', u'timezones': [u'Europe/Tirane']}, u'Algeria': {u'currency': u'DZD', u'currency_fraction': u'Santeem', u'currency_fraction_units': 100, u'currency_name': u'Algerian Dinar', u'currency_symbol': u'\u062f.\u062c', u'number_format': u'#,###.##', u'timezones': [u'Africa/Algiers']}, u'American Samoa': {u'number_format': u'#,###.##'}, u'Andorra': {u'currency': u'EUR', u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'\u20ac', u'number_format': u'#,###.##', u'timezones': [u'Europe/Andorra']}, u'Angola': {u'currency_fraction': u'C\xeantimo', u'currency_fraction_units': 100, u'currency_symbol': u'Kz', u'number_format': u'#,###.##', u'timezones': [u'Africa/Luanda']}, u'Anguilla': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Anguilla']}, u'Antarctica': {u'number_format': u'#,###.##', u'timezones': [u'Antarctica/Casey', u'Antarctica/Davis', u'Antarctica/DumontDUrville', u'Antarctica/Macquarie', u'Antarctica/Mawson', u'Antarctica/McMurdo', u'Antarctica/Palmer', u'Antarctica/Rothera', u'Antarctica/South_Pole', u'Antarctica/Syowa', u'Antarctica/Vostok']}, u'Antigua and Barbuda': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Antigua']}, u'Argentina': {u'currency': u'ARS', u'currency_fraction': u'Centavo', u'currency_fraction_units': 100, u'currency_name': u'Argentine Peso', u'currency_symbol': u'$', u'number_format': u'#.###,##', u'timezones': [u'America/Argentina/Buenos_Aires', u'America/Argentina/Catamarca', u'America/Argentina/Cordoba', u'America/Argentina/Jujuy', u'America/Argentina/La_Rioja', u'America/Argentina/Mendoza', u'America/Argentina/Rio_Gallegos', u'America/Argentina/Salta', u'America/Argentina/San_Juan', u'America/Argentina/San_Luis', u'America/Argentina/Tucuman', u'America/Argentina/Ushuaia']}, ...}}, markers = {23251088: {u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, 25872976: {u'all_timezones': ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], u'country_info': {u'Afghanistan': {u'currency_fraction': u'Pul', u'currency_fraction_units': 100, u'currency_symbol': u'\u060b', u'number_format': u'#,###.##', u'timezones': [u'Asia/Kabul']}, u'Albania': {u'currency': u'ALL', u'currency_fraction': u'Qindark\xeb', u'currency_fraction_units': 100, u'currency_name': u'Lek', u'currency_symbol': u'L', u'number_format': u'#,###.##', u'timezones': [u'Europe/Tirane']}, u'Algeria': {u'currency': u'DZD', u'currency_fraction': u'Santeem', u'currency_fraction_units': 100, u'currency_name': u'Algerian Dinar', u'currency_symbol': u'\u062f.\u062c', u'number_format': u'#,###.##', u'timezones': [u'Africa/Algiers']}, u'American Samoa': {u'number_format': u'#,###.##'}, u'Andorra': {u'currency': u'EUR', u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'\u20ac', u'number_format': u'#,###.##', u'timezones': [u'Europe/Andorra']}, u'Angola': {u'currency_fraction': u'C\xeantimo', u'currency_fraction_units': 100, u'currency_symbol': u'Kz', u'number_format': u'#,###.##', u'timezones': [u'Africa/Luanda']}, u'Anguilla': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Anguilla']}, u'Antarctica': {u'number_format': u'#,###.##', u'timezones': [u'Antarctica/Casey', u'Antarctica/Davis', u'Antarctica/DumontDUrville', u'Antarctica/Macquarie', u'Antarctica/Mawson', u'Antarctica/McMurdo', u'Antarctica/Palmer', u'Antarctica/Rothera', u'Antarctica/South_Pole', u'Antarctica/Syowa', u'Antarctica/Vostok']}, u'Antigua and Barbuda': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Antigua']}, u'Argentina': {u'currency': u'ARS', u'currency_fraction': u'Centavo', u'currency_fraction_units': 100, u'currency_name': u'Argentine Peso', u'currency_symbol': u'$', u'number_format': u'#.###,##', u'timezones': [u'America/Argentina/Buenos_Aires', u'America/Argentina/Catamarca', u'America/Argentina/Cordoba', u'America/Argentina/Jujuy', u'America/Argentina/La_Rioja', u'America/Argentina/Mendoza', u'America/Argentina/Rio_Gallegos', u'America/Argentina/Salta', u'America/Argentina/San_Juan', u'America/Argentina/San_Luis', u'America/Argentina/Tucuman', u'America/Argentina/Ushuaia']}, ...}}}
 /usr/lib64/python2.6/json/encoder.py in _iterencode_dict(self=<json.encoder.JSONEncoder object>, dct={u'all_timezones': ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], u'country_info': {u'Afghanistan': {u'currency_fraction': u'Pul', u'currency_fraction_units': 100, u'currency_symbol': u'\u060b', u'number_format': u'#,###.##', u'timezones': [u'Asia/Kabul']}, u'Albania': {u'currency': u'ALL', u'currency_fraction': u'Qindark\xeb', u'currency_fraction_units': 100, u'currency_name': u'Lek', u'currency_symbol': u'L', u'number_format': u'#,###.##', u'timezones': [u'Europe/Tirane']}, u'Algeria': {u'currency': u'DZD', u'currency_fraction': u'Santeem', u'currency_fraction_units': 100, u'currency_name': u'Algerian Dinar', u'currency_symbol': u'\u062f.\u062c', u'number_format': u'#,###.##', u'timezones': [u'Africa/Algiers']}, u'American Samoa': {u'number_format': u'#,###.##'}, u'Andorra': {u'currency': u'EUR', u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'\u20ac', u'number_format': u'#,###.##', u'timezones': [u'Europe/Andorra']}, u'Angola': {u'currency_fraction': u'C\xeantimo', u'currency_fraction_units': 100, u'currency_symbol': u'Kz', u'number_format': u'#,###.##', u'timezones': [u'Africa/Luanda']}, u'Anguilla': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Anguilla']}, u'Antarctica': {u'number_format': u'#,###.##', u'timezones': [u'Antarctica/Casey', u'Antarctica/Davis', u'Antarctica/DumontDUrville', u'Antarctica/Macquarie', u'Antarctica/Mawson', u'Antarctica/McMurdo', u'Antarctica/Palmer', u'Antarctica/Rothera', u'Antarctica/South_Pole', u'Antarctica/Syowa', u'Antarctica/Vostok']}, u'Antigua and Barbuda': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Antigua']}, u'Argentina': {u'currency': u'ARS', u'currency_fraction': u'Centavo', u'currency_fraction_units': 100, u'currency_name': u'Argentine Peso', u'currency_symbol': u'$', u'number_format': u'#.###,##', u'timezones': [u'America/Argentina/Buenos_Aires', u'America/Argentina/Catamarca', u'America/Argentina/Cordoba', u'America/Argentina/Jujuy', u'America/Argentina/La_Rioja', u'America/Argentina/Mendoza', u'America/Argentina/Rio_Gallegos', u'America/Argentina/Salta', u'America/Argentina/San_Juan', u'America/Argentina/San_Luis', u'America/Argentina/Tucuman', u'America/Argentina/Ushuaia']}, ...}}, markers={23251088: {u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, 25872976: {u'all_timezones': ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], u'country_info': {u'Afghanistan': {u'currency_fraction': u'Pul', u'currency_fraction_units': 100, u'currency_symbol': u'\u060b', u'number_format': u'#,###.##', u'timezones': [u'Asia/Kabul']}, u'Albania': {u'currency': u'ALL', u'currency_fraction': u'Qindark\xeb', u'currency_fraction_units': 100, u'currency_name': u'Lek', u'currency_symbol': u'L', u'number_format': u'#,###.##', u'timezones': [u'Europe/Tirane']}, u'Algeria': {u'currency': u'DZD', u'currency_fraction': u'Santeem', u'currency_fraction_units': 100, u'currency_name': u'Algerian Dinar', u'currency_symbol': u'\u062f.\u062c', u'number_format': u'#,###.##', u'timezones': [u'Africa/Algiers']}, u'American Samoa': {u'number_format': u'#,###.##'}, u'Andorra': {u'currency': u'EUR', u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'\u20ac', u'number_format': u'#,###.##', u'timezones': [u'Europe/Andorra']}, u'Angola': {u'currency_fraction': u'C\xeantimo', u'currency_fraction_units': 100, u'currency_symbol': u'Kz', u'number_format': u'#,###.##', u'timezones': [u'Africa/Luanda']}, u'Anguilla': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Anguilla']}, u'Antarctica': {u'number_format': u'#,###.##', u'timezones': [u'Antarctica/Casey', u'Antarctica/Davis', u'Antarctica/DumontDUrville', u'Antarctica/Macquarie', u'Antarctica/Mawson', u'Antarctica/McMurdo', u'Antarctica/Palmer', u'Antarctica/Rothera', u'Antarctica/South_Pole', u'Antarctica/Syowa', u'Antarctica/Vostok']}, u'Antigua and Barbuda': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Antigua']}, u'Argentina': {u'currency': u'ARS', u'currency_fraction': u'Centavo', u'currency_fraction_units': 100, u'currency_name': u'Argentine Peso', u'currency_symbol': u'$', u'number_format': u'#.###,##', u'timezones': [u'America/Argentina/Buenos_Aires', u'America/Argentina/Catamarca', u'America/Argentina/Cordoba', u'America/Argentina/Jujuy', u'America/Argentina/La_Rioja', u'America/Argentina/Mendoza', u'America/Argentina/Rio_Gallegos', u'America/Argentina/Salta', u'America/Argentina/San_Juan', u'America/Argentina/San_Luis', u'America/Argentina/Tucuman', u'America/Argentina/Ushuaia']}, ...}}})
  273             yield encoder(key)
  274             yield key_separator
  275             for chunk in self._iterencode(value, markers):
  276                 yield chunk
  277         if newline_indent is not None:
chunk undefinedself = <json.encoder.JSONEncoder object>, self._iterencode = <bound method JSONEncoder._iterencode of <json.encoder.JSONEncoder object>>, value = ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], markers = {23251088: {u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, 25872976: {u'all_timezones': ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], u'country_info': {u'Afghanistan': {u'currency_fraction': u'Pul', u'currency_fraction_units': 100, u'currency_symbol': u'\u060b', u'number_format': u'#,###.##', u'timezones': [u'Asia/Kabul']}, u'Albania': {u'currency': u'ALL', u'currency_fraction': u'Qindark\xeb', u'currency_fraction_units': 100, u'currency_name': u'Lek', u'currency_symbol': u'L', u'number_format': u'#,###.##', u'timezones': [u'Europe/Tirane']}, u'Algeria': {u'currency': u'DZD', u'currency_fraction': u'Santeem', u'currency_fraction_units': 100, u'currency_name': u'Algerian Dinar', u'currency_symbol': u'\u062f.\u062c', u'number_format': u'#,###.##', u'timezones': [u'Africa/Algiers']}, u'American Samoa': {u'number_format': u'#,###.##'}, u'Andorra': {u'currency': u'EUR', u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'\u20ac', u'number_format': u'#,###.##', u'timezones': [u'Europe/Andorra']}, u'Angola': {u'currency_fraction': u'C\xeantimo', u'currency_fraction_units': 100, u'currency_symbol': u'Kz', u'number_format': u'#,###.##', u'timezones': [u'Africa/Luanda']}, u'Anguilla': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Anguilla']}, u'Antarctica': {u'number_format': u'#,###.##', u'timezones': [u'Antarctica/Casey', u'Antarctica/Davis', u'Antarctica/DumontDUrville', u'Antarctica/Macquarie', u'Antarctica/Mawson', u'Antarctica/McMurdo', u'Antarctica/Palmer', u'Antarctica/Rothera', u'Antarctica/South_Pole', u'Antarctica/Syowa', u'Antarctica/Vostok']}, u'Antigua and Barbuda': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Antigua']}, u'Argentina': {u'currency': u'ARS', u'currency_fraction': u'Centavo', u'currency_fraction_units': 100, u'currency_name': u'Argentine Peso', u'currency_symbol': u'$', u'number_format': u'#.###,##', u'timezones': [u'America/Argentina/Buenos_Aires', u'America/Argentina/Catamarca', u'America/Argentina/Cordoba', u'America/Argentina/Jujuy', u'America/Argentina/La_Rioja', u'America/Argentina/Mendoza', u'America/Argentina/Rio_Gallegos', u'America/Argentina/Salta', u'America/Argentina/San_Juan', u'America/Argentina/San_Luis', u'America/Argentina/Tucuman', u'America/Argentina/Ushuaia']}, ...}}}
 /usr/lib64/python2.6/json/encoder.py in _iterencode(self=<json.encoder.JSONEncoder object>, o=['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], markers={23251088: {u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, 25872976: {u'all_timezones': ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], u'country_info': {u'Afghanistan': {u'currency_fraction': u'Pul', u'currency_fraction_units': 100, u'currency_symbol': u'\u060b', u'number_format': u'#,###.##', u'timezones': [u'Asia/Kabul']}, u'Albania': {u'currency': u'ALL', u'currency_fraction': u'Qindark\xeb', u'currency_fraction_units': 100, u'currency_name': u'Lek', u'currency_symbol': u'L', u'number_format': u'#,###.##', u'timezones': [u'Europe/Tirane']}, u'Algeria': {u'currency': u'DZD', u'currency_fraction': u'Santeem', u'currency_fraction_units': 100, u'currency_name': u'Algerian Dinar', u'currency_symbol': u'\u062f.\u062c', u'number_format': u'#,###.##', u'timezones': [u'Africa/Algiers']}, u'American Samoa': {u'number_format': u'#,###.##'}, u'Andorra': {u'currency': u'EUR', u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'\u20ac', u'number_format': u'#,###.##', u'timezones': [u'Europe/Andorra']}, u'Angola': {u'currency_fraction': u'C\xeantimo', u'currency_fraction_units': 100, u'currency_symbol': u'Kz', u'number_format': u'#,###.##', u'timezones': [u'Africa/Luanda']}, u'Anguilla': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Anguilla']}, u'Antarctica': {u'number_format': u'#,###.##', u'timezones': [u'Antarctica/Casey', u'Antarctica/Davis', u'Antarctica/DumontDUrville', u'Antarctica/Macquarie', u'Antarctica/Mawson', u'Antarctica/McMurdo', u'Antarctica/Palmer', u'Antarctica/Rothera', u'Antarctica/South_Pole', u'Antarctica/Syowa', u'Antarctica/Vostok']}, u'Antigua and Barbuda': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Antigua']}, u'Argentina': {u'currency': u'ARS', u'currency_fraction': u'Centavo', u'currency_fraction_units': 100, u'currency_name': u'Argentine Peso', u'currency_symbol': u'$', u'number_format': u'#.###,##', u'timezones': [u'America/Argentina/Buenos_Aires', u'America/Argentina/Catamarca', u'America/Argentina/Cordoba', u'America/Argentina/Jujuy', u'America/Argentina/La_Rioja', u'America/Argentina/Mendoza', u'America/Argentina/Rio_Gallegos', u'America/Argentina/Salta', u'America/Argentina/San_Juan', u'America/Argentina/San_Luis', u'America/Argentina/Tucuman', u'America/Argentina/Ushuaia']}, ...}}})
  304             yield floatstr(o, self.allow_nan)
  305         elif isinstance(o, (list, tuple)):
  306             for chunk in self._iterencode_list(o, markers):
  307                 yield chunk
  308         elif isinstance(o, dict):
chunk undefinedself = <json.encoder.JSONEncoder object>, self._iterencode_list = <bound method JSONEncoder._iterencode_list of <json.encoder.JSONEncoder object>>, o = ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], markers = {23251088: {u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, 25872976: {u'all_timezones': ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], u'country_info': {u'Afghanistan': {u'currency_fraction': u'Pul', u'currency_fraction_units': 100, u'currency_symbol': u'\u060b', u'number_format': u'#,###.##', u'timezones': [u'Asia/Kabul']}, u'Albania': {u'currency': u'ALL', u'currency_fraction': u'Qindark\xeb', u'currency_fraction_units': 100, u'currency_name': u'Lek', u'currency_symbol': u'L', u'number_format': u'#,###.##', u'timezones': [u'Europe/Tirane']}, u'Algeria': {u'currency': u'DZD', u'currency_fraction': u'Santeem', u'currency_fraction_units': 100, u'currency_name': u'Algerian Dinar', u'currency_symbol': u'\u062f.\u062c', u'number_format': u'#,###.##', u'timezones': [u'Africa/Algiers']}, u'American Samoa': {u'number_format': u'#,###.##'}, u'Andorra': {u'currency': u'EUR', u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'\u20ac', u'number_format': u'#,###.##', u'timezones': [u'Europe/Andorra']}, u'Angola': {u'currency_fraction': u'C\xeantimo', u'currency_fraction_units': 100, u'currency_symbol': u'Kz', u'number_format': u'#,###.##', u'timezones': [u'Africa/Luanda']}, u'Anguilla': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Anguilla']}, u'Antarctica': {u'number_format': u'#,###.##', u'timezones': [u'Antarctica/Casey', u'Antarctica/Davis', u'Antarctica/DumontDUrville', u'Antarctica/Macquarie', u'Antarctica/Mawson', u'Antarctica/McMurdo', u'Antarctica/Palmer', u'Antarctica/Rothera', u'Antarctica/South_Pole', u'Antarctica/Syowa', u'Antarctica/Vostok']}, u'Antigua and Barbuda': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Antigua']}, u'Argentina': {u'currency': u'ARS', u'currency_fraction': u'Centavo', u'currency_fraction_units': 100, u'currency_name': u'Argentine Peso', u'currency_symbol': u'$', u'number_format': u'#.###,##', u'timezones': [u'America/Argentina/Buenos_Aires', u'America/Argentina/Catamarca', u'America/Argentina/Cordoba', u'America/Argentina/Jujuy', u'America/Argentina/La_Rioja', u'America/Argentina/Mendoza', u'America/Argentina/Rio_Gallegos', u'America/Argentina/Salta', u'America/Argentina/San_Juan', u'America/Argentina/San_Luis', u'America/Argentina/Tucuman', u'America/Argentina/Ushuaia']}, ...}}}
 /usr/lib64/python2.6/json/encoder.py in _iterencode_list(self=<json.encoder.JSONEncoder object>, lst=['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], markers={23251088: {u'message': {u'all_timezones': ['Africa/Abidjan...', u'number_format': u'#,###.##'}}}, u'exc': u''}, 25872976: {u'all_timezones': ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], u'country_info': {u'Afghanistan': {u'currency_fraction': u'Pul', u'currency_fraction_units': 100, u'currency_symbol': u'\u060b', u'number_format': u'#,###.##', u'timezones': [u'Asia/Kabul']}, u'Albania': {u'currency': u'ALL', u'currency_fraction': u'Qindark\xeb', u'currency_fraction_units': 100, u'currency_name': u'Lek', u'currency_symbol': u'L', u'number_format': u'#,###.##', u'timezones': [u'Europe/Tirane']}, u'Algeria': {u'currency': u'DZD', u'currency_fraction': u'Santeem', u'currency_fraction_units': 100, u'currency_name': u'Algerian Dinar', u'currency_symbol': u'\u062f.\u062c', u'number_format': u'#,###.##', u'timezones': [u'Africa/Algiers']}, u'American Samoa': {u'number_format': u'#,###.##'}, u'Andorra': {u'currency': u'EUR', u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'\u20ac', u'number_format': u'#,###.##', u'timezones': [u'Europe/Andorra']}, u'Angola': {u'currency_fraction': u'C\xeantimo', u'currency_fraction_units': 100, u'currency_symbol': u'Kz', u'number_format': u'#,###.##', u'timezones': [u'Africa/Luanda']}, u'Anguilla': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Anguilla']}, u'Antarctica': {u'number_format': u'#,###.##', u'timezones': [u'Antarctica/Casey', u'Antarctica/Davis', u'Antarctica/DumontDUrville', u'Antarctica/Macquarie', u'Antarctica/Mawson', u'Antarctica/McMurdo', u'Antarctica/Palmer', u'Antarctica/Rothera', u'Antarctica/South_Pole', u'Antarctica/Syowa', u'Antarctica/Vostok']}, u'Antigua and Barbuda': {u'currency_fraction': u'Cent', u'currency_fraction_units': 100, u'currency_symbol': u'$', u'number_format': u'#,###.##', u'timezones': [u'America/Antigua']}, u'Argentina': {u'currency': u'ARS', u'currency_fraction': u'Centavo', u'currency_fraction_units': 100, u'currency_name': u'Argentine Peso', u'currency_symbol': u'$', u'number_format': u'#.###,##', u'timezones': [u'America/Argentina/Buenos_Aires', u'America/Argentina/Catamarca', u'America/Argentina/Cordoba', u'America/Argentina/Jujuy', u'America/Argentina/La_Rioja', u'America/Argentina/Mendoza', u'America/Argentina/Rio_Gallegos', u'America/Argentina/Salta', u'America/Argentina/San_Juan', u'America/Argentina/San_Luis', u'America/Argentina/Tucuman', u'America/Argentina/Ushuaia']}, ...}}})
  179 
  180     def _iterencode_list(self, lst, markers=None):
  181         if not lst:
  182             yield '[]'
  183             return
lst = ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu']
 /usr/lib/python2.6/site-packages/pytz-2013d-py2.6.egg/pytz/lazy.py in _lazy(self=['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis...amoa', 'UTC', 'Universal', 'W-SU', 'WET', 'Zulu'], *args=(), **kw={})
   90                     finally:
   91                         _fill_lock.release()
   92                 real = getattr(list, name)
   93                 setattr(self.__class__, name, real)
   94                 return real(self, *args, **kw)
real undefinedbuiltin getattr = <built-in function getattr>, builtin list = <type 'list'>, name = '__nonzero__'

<type 'exceptions.AttributeError'>: type object 'list' has no attribute '__nonzero__'
      args =("type object 'list' has no attribute '__nonzero__'",)
      message ="type object 'list' has no attribute '__nonzero__'"


Should I re-install something - is the pytz giving issues?


On Monday, September 30, 2013 12:10:15 PM UTC+5:30, Anand Doshi wrote:
Possibly some python library didn't get install.

Check the response of sever.py in the network tab and see if it shows any traceback.

-Anand.

On 30-Sep-2013, at 1:07 AM, Aditya Kumar <to...@gmail.com> wrote:

How do I check this JS console - you mean the chrome developer console? What exactly could be wrong and how can I fix it?

On Saturday, September 28, 2013 9:54:32 PM UTC+5:30, rushabh wrote:
Check your JS console. There might be an error there.

On Saturday, September 28, 2013 12:10:27 AM UTC+5:30, Aditya Kumar wrote:
So I logged into erpnext and it showed me a parse error.

This also effects the form which appears as lot of the filed contain empty options eg: country field did not have any options and default currency field too etc.


attached is a screenshot of the issue - parser error on the bottom RHS

how can I sort this 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.



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.