On Thu, Nov 5, 2009 at 3:22 PM, Roger Oberholtzer
<[email protected]> wrote:
> On Thu, 2009-10-15 at 14:47 -0500, Olemis Lang wrote:
>
>> .. [1] Preparing your data to be compatible with GViz wire protocol
>>
>> (https://opensvn.csie.org/traccgi/swlcu/wiki/En/Devel/TracGViz/RawData)
>
> I have been trying to get tracgviz to do a simple table of data on my
> wiki page. I only get a square and then red text that it has timed out.
>
> My wiki text is:
>
> [[iGoogleGadget(url=http://www.google.com/ig/modules/simple-table.xml,
> _table_query_url=[raw-attachment:wiki:transducer/inclinometer:LSOC-0105-90_SN0611344_20090305.json],
> title=´LSOC-0105-90_SN0611344_20090305',
> _table_query_refresh_interval=30000, width=600, height=400)]]
>
> all on one line.
>
> The trac log contains this:
>
[...]
>
> File "build/bdist.linux-i686/egg/tracgviz/ig/wiki.py", line 200, in
> expand_macro
> return self.do_expand_macro(formatter, args)
> File "build/bdist.linux-i686/egg/tracgviz/ig/wiki.py", line 190, in
> do_expand_macro
> urlencode(gadget_params), ''])
Triggered by iGoogleMacro yes ...
> File "/usr/lib/python2.5/urllib.py", line 1251, in urlencode
> v = quote_plus(str(v))
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xb4' in
> position 0: ordinal not in range(128)
>
Seems to be related to bizarre Unicode characters in one of the URLs .
Seems to be an issue with urllib module in Py stdlib. If you take a
look at the bottom of the last traceback you'll see that there's where
it is raised
;o)
> I think it must be complaining about my data file. Which is attached. I
> think it looks ok.
>
Nope ... it's the URL, please check it out
After first inspection seems to be the backquote in
{{{
title=´LSOC-0105-90_SN0611344_20090305'
}}}
> I have tried many alternatives, but I do not get past this. The only
> things I can see are different in my try is (1) the attachment is on a
> wiki page with a name like transducer/inclinometer, or (2) my json file
> has tabs. But the docs imply white space is allowed.
>
None of those ...
> So I am guessing it is too obvious so I do not see the problem.
>
> Help!
>
I'm calling both Batman and Superman (they have cell phones you know
?) . If they don't get there soon then, please, submit a ticket to the
prj site .
:)
--
Regards,
Olemis.
Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/
Featured article:
Can I call a wiki-macro from another wiki-macro? | Trac | Users -
http://feedproxy.google.com/~r/TracGViz-full/~3/Can8A-Em7gI/44142
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---