[Trac] Re: TracNav Plugin Installation

2009-04-01 Thread sunny063

Thanks for your answer, now it is working just fine!

On Mar 27, 11:55 am, Thomas Moschny  wrote:
> 2009/3/27 sunny063 :
>
> > I tried to execute "easy_install TracNav==dev" but then I end up with:
> > "error: Unexpected HTML page found at
> >http://svn.ipd.uka.de/repos/javaparty/JP/trac/plugins/tracnav-0.11#eg...";
>
> > Is this URL wrong?
>
> No, it is perfectly right, but your setuptools is too old. It can't
> deal with newer subversion servers.
>
> So, do this instead:
>
> cd /tmp
> svn cohttp://svn.ipd.uka.de/repos/javaparty/JP/trac/plugins/tracnav-0.11
> cd tracnav-0.11
> easy_install .
>
> > On the other hand I figured out that when I call TracNav() (whitout a
> > paramter) it will show the page called TOC, so at least one index is
> > working now...
>
> Yes the problem is the code parsing the macro's arguments.
>
> --
> Thomas Moschny 
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracNav Plugin Installation

2009-03-27 Thread Thomas Moschny

2009/3/27 sunny063 :
> I tried to execute "easy_install TracNav==dev" but then I end up with:
> "error: Unexpected HTML page found at
> http://svn.ipd.uka.de/repos/javaparty/JP/trac/plugins/tracnav-0.11#egg=TracNav-dev";
>
> Is this URL wrong?

No, it is perfectly right, but your setuptools is too old. It can't
deal with newer subversion servers.

So, do this instead:

cd /tmp
svn co http://svn.ipd.uka.de/repos/javaparty/JP/trac/plugins/tracnav-0.11
cd tracnav-0.11
easy_install .

> On the other hand I figured out that when I call TracNav() (whitout a
> paramter) it will show the page called TOC, so at least one index is
> working now...

Yes the problem is the code parsing the macro's arguments.

-- 
Thomas Moschny 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracNav Plugin Installation

2009-03-27 Thread sunny063

Hi Thomas,

thanks for your answer.

I tried to execute "easy_install TracNav==dev" but then I end up with:
"error: Unexpected HTML page found at
http://svn.ipd.uka.de/repos/javaparty/JP/trac/plugins/tracnav-0.11#egg=TracNav-dev";

Is this URL wrong?

On the other hand I figured out that when I call TracNav() (whitout a
paramter) it will show the page called TOC, so at least one index is
working now...


On Mar 25, 3:26 pm, Thomas Moschny  wrote:
> 2009/3/25 sunny063 :
>
> > meanwhile I read some articles and turned on logging in trac, so I got
> > the following messages:
> > [...]
> > AttributeError: 'unicode' object has no attribute 'partition'
>
> Yes, that's a known issue with TracNav 4.1 and Python 2.4. Use
> "easy_install TracNav==dev", the trunk version contains a fix.
>
> - Thomas
>
> --
> Thomas Moschny 
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracNav Plugin Installation

2009-03-25 Thread Thomas Moschny

2009/3/25 sunny063 :
> meanwhile I read some articles and turned on logging in trac, so I got
> the following messages:
> [...]
> AttributeError: 'unicode' object has no attribute 'partition'

Yes, that's a known issue with TracNav 4.1 and Python 2.4. Use
"easy_install TracNav==dev", the trunk version contains a fix.

- Thomas

-- 
Thomas Moschny 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracNav Plugin Installation

2009-03-25 Thread sunny063

Hi,

meanwhile I read some articles and turned on logging in trac, so I got
the following messages:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/
wiki/formatter.py", line 470, in _macro_formatter
return macro.process(args, in_paragraph=True)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/
wiki/formatter.py", line 180, in process
text = self.processor(text)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/
wiki/formatter.py", line 167, in _macro_processor
text)
  File "build/bdist.linux-i686/egg/tracnav/tracnav.py", line 281, in
expand_macro
  File "build/bdist.linux-i686/egg/tracnav/tracnav.py", line 129, in
__init__
  File "build/bdist.linux-i686/egg/tracnav/tracnav.py", line 129, in

AttributeError: 'unicode' object has no attribute 'partition'


To provide mor information: I use Trac 0.11.2.1 and 2.4.3
to install TracNav I used setup tools with easy_install command.


On 25 Mrz., 00:10, sunny063  wrote:
> Hi,
>
> I'm new to Trac and tried to install the TracNav plugin (probably also
> succeeded partially).
>
> When I try to use it, I get the following Error:
>
> Error: Macro TracNav(ToC) failed
> 'unicode' object has no attribute 'partition'
>
> So far I created a wiki Page called ToC that includes the index.
> Can anybody give me a hint on that?
>
> Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---