trac-admin 在upgrade 的时候显示问号.

6 views
Skip to first unread message

sniperpr

unread,
Jul 30, 2012, 7:51:26 AM7/30/12
to trach...@googlegroups.com, Z.Q.大妈

trac-admin test 
随便敲一个字母,

Trac [/home/trac/test]> a
Error: ??????

???? 'a' ???

如果是敲入upgrade
就显示 ?????????????

请问这个是什么情况啊?
我就安装了这几个插件啊....

内嵌图片 1

--
DDNAS系列!

adam.huang

trac.png

Zoom.Quiet

unread,
Jul 30, 2012, 8:37:09 AM7/30/12
to sniperpr, trach...@googlegroups.com
终端编码?

在 2012年7月30日 下午7:51,sniperpr <snip...@gmail.com>写道:
>
>
> trac-admin test
> 随便敲一个字母,
>
> Trac [/home/trac/test]> a
> Error: ??????
>
> ???? 'a' ???
>
> 如果是敲入upgrade
> 就显示 ?????????????
>
> 请问这个是什么情况啊?
> 我就安装了这几个插件啊....
>
>
>

> --
> DDNAS系列!
>
> adam.huang
>

--
人生苦短, Pythonic! 冗余不做,日子甭过!备份不做,十恶不赦!
俺: http://about.me/zoom.quiet
文字协议: http://creativecommons.org/licenses/by-sa/2.5/cn/

Zoom.Quiet

unread,
Jul 30, 2012, 8:52:04 AM7/30/12
to sniperpr, trach...@googlegroups.com
在 2012年7月30日 下午8:47,sniperpr <snip...@gmail.com> 写道:
> PS:今天刚架了trac给一个10人的开发小组使用.
> 拿你的那个html在线 文档做了一次简单的培训.
> 娃哈哈哈......
>
> 另外,我用 trac+nginx+uwsgi+postgres 来部署,安装一些插件会无法使用.必须注释以下代码才可以.
>

- 同我们的一致
- 应该是版本不兼容吧,有类似的 trac-hacks.org 找一下就有了,,,

> AutocompleteUsers 0.4.2dev
>
> TracWysiwygPlugin
>
> 这两个插件.
>
> BTW: Z.Q. 你有什么更好的 来代替autocompileusers.
> 谢谢.
>
>
> #location /chrome/ {
> # alias /home/trac/tracs/htdocs/;
> # autoindex off;
> # }
>
> #location /trac/raw-attachment {
> # alias /home/trac/yunho/attachments/;
> # autoindex off;
> #}
> #location /trac/pygments {
> # alias /home/trac/yunho/pygments;
> # autoindex off;
> #}
>
>
>
>
>
> 在 2012年7月30日 下午8:37,Zoom.Quiet <zoom....@gmail.com>写道:
>>
>> 终端编码?
>
> 谢谢回复. :D
>
>
> declare -x LANG="zh_CN"
> declare -x LANGUAGE="zh_CN:zh"
> declare -x LC_ALL="C"
> declare -x LC_COLLATE="zh_CN.UTF-8"
> declare -x LC_CTYPE="zh_CN.UTF-8"
> declare -x LC_MESSAGES="zh_CN.UTF-8"
>
> 环境变量是这个.
>
> 应该是编码问题导致的.
>
> 这个问号???应该是 升级成功或者没什么可以升级的....

sniperpr

unread,
Jul 30, 2012, 8:58:36 AM7/30/12
to Zoom.Quiet, trach...@googlegroups.com
请教个问题呢.

如何在wiki页面 显示出 这种查询后的结果呢? 
谢谢了.

-- ## 7: My Tickets ## --

-- 
-- This report demonstrates the use of the automatically set 
-- USER dynamic variable, replaced with the username of the
-- logged in user when executed.


SELECT p.value AS __color__,
   (CASE status WHEN 'accepted' THEN 'Accepted' ELSE 'Owned' END) AS __group__,
   id AS ticket, summary, component, version, milestone,
   t.type AS type, priority, time AS created,
   changetime AS _changetime, description AS _description,
   reporter AS _reporter
  FROM ticket t
  LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority'
  WHERE t.status <> 'closed' AND owner = $USER
  ORDER BY (status = 'accepted') DESC, CAST(p.value AS int), milestone, t.type, time
--
DDNAS系列!

adam.huang

Zoom.Quiet

unread,
Jul 30, 2012, 9:00:29 AM7/30/12
to sniperpr, trach...@googlegroups.com
尝试包含个 query ?
- 查询 tracwiki 的文档吧,以前俺没有这么整理过,都是定义报表,然后链接过去
Reply all
Reply to author
Forward
0 new messages