Edgewall Software
Modify

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#12393 closed defect (wontfix)

PHPRenderer UnicodeDecodeError: 'ascii' codec can't decode byte 0xb2 in position 6: ordinal not in range(128))

Reported by: 1648303836@… 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)

in reply to:  description comment:1 by Jun Omae, 9 years ago

Replying to 1648303836@…:

## 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)

PluginIssue (MoveableTypeSkinTheme).

in reply to:  description ; comment:2 by Jun Omae, 9 years ago

Component: generalrendering
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.

in reply to:  2 comment:3 by 1648303836@…, 9 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 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.

Sure, I'll try to follow your method to solve the problem.

in reply to:  2 comment:4 by Ryan J Ollos, 8 years ago

Milestone: next-stable-1.0.x
Resolution: wontfix
Status: newclosed

Replying to Jun Omae:

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.

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.

Last edited 8 years ago by Ryan J Ollos (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.