Problem of source link under windows

0 views
Skip to first unread message

Victor Lin

unread,
Oct 20, 2008, 10:46:01 AM10/20/08
to Apydia
Hi,

I generate document of my module with Apydia under windows. I
encounter a problem.

http://webchuan.ez2learn.com/browser/webchuan/trunk/lib/webchuan\decorator.py#L1

As you see, it append wrong slash to the url, so I can't use the link.
I think it use join function or something like that to create link.
Because windows use "\" in path, so it use it as slash in url, too.

Daniel Haus

unread,
Oct 21, 2008, 2:41:40 AM10/21/08
to apy...@googlegroups.com
Hello Victor,

what version of Apydia do you use, trunk?

Greetings
Daniel

--
Daniel Haus
http://ematia.de

Victor Lin

unread,
Oct 21, 2008, 8:29:20 AM10/21/08
to Apydia
I use easy_install to install Apydia. It is 0.0.2

Daniel Haus

unread,
Oct 21, 2008, 8:31:36 AM10/21/08
to apy...@googlegroups.com
Ah, okay. try the trunk. I doubt it's less stable
than 0.0.2, but has lots of fixes.

The following command should do the job:

easy_install http://apydia.ematia.de/svn/apydia/trunk/


Greetings!

--
Daniel Haus
http://ematia.de

Victor Lin

unread,
Oct 21, 2008, 9:06:16 AM10/21/08
to Apydia
Hi,
After update Apydia to trunk version, the slash is correct now. But
however, there is still some mistake in source link.

http://webchuan.ez2learn.com/browser/webchuan/trunk/lib/webchuan/base.py1

As you see, every source link, have a extra 1 as suffix.

On 10月21日, 下午8時31分, Daniel Haus <daniel.h...@gmail.com> wrote:
> Ah, okay. try the trunk. I doubt it's less stable
> than 0.0.2, but has lots of fixes.
>
> The following command should do the job:
>
> easy_installhttp://apydia.ematia.de/svn/apydia/trunk/

Daniel Haus

unread,
Oct 21, 2008, 11:48:30 AM10/21/08
to apy...@googlegroups.com
Okay, do you set the "trac_link_format" option?
The default should be "%s%s%d%s".

--
Daniel Haus
http://ematia.de

Victor Lin

unread,
Oct 21, 2008, 1:10:21 PM10/21/08
to Apydia
Nope, the configure I set:
[apydia]
title = WebChuan
theme = default
docformat = reStructuredText
modules = webchuan
trac_browser_url = http://webchuan.ez2learn.com/browser/webchuan/trunk/lib/webchuan

On 10月21日, 下午11時48分, Daniel Haus <daniel.h...@gmail.com> wrote:
> Okay, do you set the "trac_link_format" option?
> The default should be "%s%s%d%s".
>
> Am 21.10.2008 um 15:06 schrieb Victor Lin:
>
>
>
>
>
> > Hi,
> > After update Apydia to trunk version, the slash is correct now. But
> > however, there is still some mistake in source link.
>
> >http://webchuan.ez2learn.com/browser/webchuan/trunk/lib/webchuan/base...

Victor Lin

unread,
Oct 21, 2008, 1:13:40 PM10/21/08
to Apydia
Even I add

trac_link_format = %s%s%d%s

to my configure file, there is still a extra 1. I think it is added
from other place.

On 10月21日, 下午11時48分, Daniel Haus <daniel.h...@gmail.com> wrote:
> Okay, do you set the "trac_link_format" option?
> The default should be "%s%s%d%s".
>
> Am 21.10.2008 um 15:06 schrieb Victor Lin:
>
>
>
>
>
> > Hi,
> > After update Apydia to trunk version, the slash is correct now. But
> > however, there is still some mistake in source link.
>
> >http://webchuan.ez2learn.com/browser/webchuan/trunk/lib/webchuan/base...
Reply all
Reply to author
Forward
0 new messages