#12393 closed defect (wontfix)
PHPRenderer UnicodeDecodeError: 'ascii' codec can't decode byte 0xb2 in position 6: ordinal not in range(128))
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | rendering | Version: | 1.0.10 |
| Severity: | normal | Keywords: | windows php |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
## logger out info ##
2016-03-09 14:55:06,888 Trac[chrome] WARNING: File moveabletypeskin.css not found in any of ['C:\\Users\\dell\\AppData\\Roaming\\Python-Eggs\\moveabletypeskin-1.0-py2.7.egg-tmp\\moveabletypeskintheme\\htdocs'] 2016-03-09 14:55:06,897 Trac[main] WARNING: [127.0.0.1] HTTPNotFound: 404 Not Found (File moveabletypeskin.css not found)
## page out info ##
警告: 使用PHPRenderer进行HTML预览失败 (UnicodeDecodeError: 'ascii' codec can't decode byte 0xb2 in position 6: ordinal not in range(128))
Attachments (0)
Change History (4)
comment:1 by , 10 years ago
follow-ups: 3 4 comment:2 by , 10 years ago
| Component: | general → rendering |
|---|---|
| Keywords: | windows php added |
| Milestone: | → next-stable-1.0.x |
Replying to 1648303836@…:
## page out info ##
警告: 使用PHPRenderer进行HTML预览失败 (UnicodeDecodeError: 'ascii' codec can't decode byte 0xb2 in position 6: ordinal not in range(128))
The PHPRenderer in tracopt.mimeview.php requires php interpreter. Could you please configure [mimeviewer] php_path? It seems that the component with no php (or NaivePopen) is broken on Windows.
Also, we recommend to install Pygments to use trac.mimeview.pygmnets rather than tracopt.mimeview.php.
comment:3 by , 10 years ago
Replying to Jun Omae:
Replying to 1648303836@…:
## page out info ##
警告: 使用PHPRenderer进行HTML预览失败 (UnicodeDecodeError: 'ascii' codec can't decode byte 0xb2 in position 6: ordinal not in range(128))The
PHPRendererin tracopt.mimeview.php requires php interpreter. Could you please configure[mimeviewer] php_path? It seems that the component with no php (orNaivePopen) is broken on Windows.Also, we recommend to install Pygments to use trac.mimeview.pygmnets rather than tracopt.mimeview.php.
Sure, I'll try to follow your method to solve the problem.
comment:4 by , 9 years ago
| Milestone: | next-stable-1.0.x |
|---|---|
| Resolution: | → wontfix |
| Status: | new → closed |
Replying to Jun Omae:
The
PHPRendererin tracopt.mimeview.php requires php interpreter. Could you please configure[mimeviewer] php_path? It seems that the component with no php (orNaivePopen) is broken on Windows.
Closing since PHPRenderer is deprecated and I don't think it's worth fixing. However, feel free to reopen if you want to fix it.



Replying to 1648303836@…:
PluginIssue (MoveableTypeSkinTheme).