YUILibrary - Open source JavaScript and CSS for building richly interactive software.
Fork YUI on GitHub

YUI 2.x

Ticket #2173325 (closed defect)

Reporter


Janos P Toth
Opened: 08/11/09
Last modified: 08/11/09
Status: closed
Type: defect
Resolution: duplicate
Duplicate of: #22

Owner


Adam Moore
Target Release:
Priority: P3 (normal)
Summary: Whines badly when sees non-ascii character
Description:

YUIDoc seems to be quite sensitive with non-ascii characters. This is the moderately useful traceback it says:

Traceback (most recent call last):
File "yuidoc/bin/yuidoc.py", line 104, in <module>
main()
File "yuidoc/bin/yuidoc.py", line 86, in main
opts.newext )
File "yuidoc/bin/yuidoc_highlight.py", line 82, in __init__
highlightDir(os.path.abspath(i))
File "yuidoc/bin/yuidoc_highlight.py", line 68, in highlightDir
highlightFile(path, i)
File "yuidoc/bin/yuidoc_highlight.py", line 57, in highlightFile
out.writelines(highlighted)
TypeError: writelines() argument must be a sequence of strings

The attached url mentions a one-line fix, but would be useful to look at this properly.

Type: defect Observed in Version: 1.0.0b1
Component: YUIDoc Severity: S2 (high)
Assigned To: Adam Moore Target Release:
Location: Priority: P3 (normal)
Tags: Relates To:
Browsers: N/A
URL: http://www.shlomygantz.com/blog/index.cfm/2009/5/16/Solving-UTF8-issue-with-YUI-Doc
Test Information:

Change History

Adam Moore

YUI Developer

Posted: 08/11/09
  • duplicate changed to 22
  • priority changed to P3 (normal)
  • resolution changed to duplicate
  • status changed from new to closed

This ticket was marked as a duplicate of #22

Janos P Toth

Posted: 08/11/09

apologies.