In trying the sparklines slice, I am getting an error.  Using osx with 
web2py v2.3.2,

here is the error:
<type 'exceptions.SyntaxError'> EOL while scanning single-quoted string 
(index.html, line 83)VERSIONweb2py™(2, 3, 2, datetime.datetime(2012, 12, 
17, 15, 3, 30), 'stable')PythonPython 2.5.1: 
/Applications/web2py/web2py.app/Contents/MacOS/pythonTRACEBACK

1.
2.
3.
4.
5.
6.
7.
8.

Traceback (most recent call last):
  File "gluon/restricted.py", line 211, in restricted
  File "gluon/restricted.py", line 194, in compile2
  File 
"/Applications/web2py/web2py.app/Contents/Resources/applications/spls/views/default/index.html",
 line 83
    chartoptions = "{type: 'bar', barColor: 'green', 'chartRangeMin':
                                                                    ^
SyntaxError: EOL while scanning single-quoted string


I did put the XML in the view, here is that part shown,

snip--


 {{for n in xrange(ngraphs):}} 
                $("#dynbar{{=n}}").sparkline(data.dynbar{{=n}}, 
{{=XML(chartoptions)}}); 
                {{pass}} 

snip--

How do I fix this please?  thank you


Margaret

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to