Re: [th-users] basic egg cooking - help

2011-09-26 Thread Steffen Hoffmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 26.09.2011 23:35, wrote j98789 hotmail:
>> Hi all,
>> 
>> I followed the tutorial 
>> http://trac-hacks.org/wiki/EggCookingTutorialTrac0.11 [...] I could
>> build the egg file. Copied it to my test project plugins folder. 
>> Added the components section in conf/trac.ini. Restarted tracd -
>> but no helloworld link in the navigation bar. Admin - manage
>> plugins - the helloworld plugin is not in the list. Admin - manage
>> plugin - install - browse to egg file - press install - Plugin
>> Trachelloworld-1.1-py2.7.egg already installed.
>> 
>> I'm stuck ... any suggestions how to get me going again??

Sure, enable DEBUG logging in Trac [1] and watch the lines on
environment startup. This may already give more inside in why you can't
see our plugin.

Steffen Hoffmann
(hasienda)


[1] http://trac.edgewall.org/wiki/TracLogging
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6BCMEACgkQ31DJeiZFuHcqegCfRPXSDT511ogjlLGOeW1XYpDM
oEgAniW3sIYrnwoZJoPJH9d4rEr/OxhJ
=fKtM
-END PGP SIGNATURE-
___
th-users mailing list
th-users@lists.trac-hacks.org
https://lists.trac-hacks.org/mailman/listinfo/th-users


[th-users] basic egg cooking - help

2011-09-26 Thread j98789 hotmail

Hi all,
 
I followed the tutorial http://trac-hacks.org/wiki/EggCookingTutorialTrac0.11
 
Excellent document. No nonsense just plain steps just what I wanted. If only it 
would work. I'm sure it actually does. But not on my configuration :-(
System Information (winXP)
Trac 0.13dev-r10801 
Genshi 0.7dev-r1177 
pysqlite 2.6.0 
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] 
setuptools 0.6c11 
SQLite 3.6.21 
Subversion 1.6.15 (r1038135) 
jQuery: 1.5.1 

 
I could build the egg file. Copied it to my test project plugins folder. Added 
the components section in conf/trac.ini. Restarted tracd - but no helloworld 
link in the navigation bar.
Admin - manage plugins - the helloworld plugin is not in the list.
Admin - manage plugin - install - browse to egg file - press install - Plugin 
Trachelloworld-1.1-py2.7.egg already installed.
 
I'm stuck ... any suggestions how to get me going again??
 
Thanks,
 
Jeroen
  ___
th-users mailing list
th-users@lists.trac-hacks.org
https://lists.trac-hacks.org/mailman/listinfo/th-users


Re: [th-users] TagsPlugin and quoting (ab)use

2011-09-26 Thread Itamar O
On Sat, Sep 24, 2011 at 11:32 PM, Steffen Hoffmann  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Dear fellow developers,
>
> as I've been spending some time with the TagsPlugin source lately, I've
> been stumbling over the rather strange habit of quoting that it does.
>
> It is not required in the TagsQuery input field, but is getting there,
> i.e. if you follow tags links that look like
>  `http://localhost:8000/sandbox/tags/%27Test%27`
>
> Despite of the handler for '/tags' there is no such thing like a Trac
> resource 'tags'. This is making all sorts of things more complicated.
> Consider URL construction with the Href class from trac.web.href, if
> you'd like to append some query attributes. It seems impossible right now.
>
> Anyone able to explain the history and reasons behind this situation?
> Would dropping the quoting in favor of something like
>  `http://localhost:8000/sandbox/tags/Test?realms=wiki&format=table`
> do any harm?
>

This looks great for specific tags, but the query syntax supports richer
queries, e.g:
`http://localhost:8000/sandbox/tags?q=tags1+-tag2&realms=wiki&format=table`
Nonetheless, the example I have just specified has no need for quoting,
so I'm still not sure why the quoting exists, and see no good reason to
stick with it.


>
> I'd like to rather fix this than hack around it to resolve other, even
> related issues. Advise? Suggestions? Thoughts?
>
> Sincerely.
>
> Steffen Hoffmann
> (hasienda)
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk5+PlcACgkQ31DJeiZFuHdMLQCgl4RADroNzR1oRljB89SmdBFD
> 4PkAoL8w5f/SFnnen4YBCYJv2HE95mzX
> =GrHM
> -END PGP SIGNATURE-
> ___
> th-users mailing list
> th-users@lists.trac-hacks.org
> https://lists.trac-hacks.org/mailman/listinfo/th-users
>
___
th-users mailing list
th-users@lists.trac-hacks.org
https://lists.trac-hacks.org/mailman/listinfo/th-users