[Trac] Re: Mod_Python vs mod_wsgi

2009-07-28 Thread Jeroen Ruigrok van der Werven

-On [20090728 03:00], Graham Dumpleton (graham.dumple...@gmail.com) wrote:
That said, the Python interpreter itself, even when destroyed, does
leak a small amount of memory depending on which version of Python you
are using.

I assume you logged something about this on bugs.python.org, Graham?

-- 
Jeroen Ruigrok van der Werven asmodai(-at-)in-nomine.org / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
I dream of gardens in the desert sand...

--~--~-~--~~~---~--~~
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] PPA Ubuntu packges

2009-07-28 Thread Rafael Silva

Hello group, How are you?

Please, Does somebody know if is feasible to build Ubuntu packages
from
trac's source code? For example, is there a make packages or
setup.py packages
commands to generate specific packages for the supported Linux
distributions?
Is there any trac's PPA repository available?

thanks in advance,
Rafael

--~--~-~--~~~---~--~~
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: PPA Ubuntu packges

2009-07-28 Thread Chris Carr

Trac already exists as a Debian package - isn't that installable on Ubuntu? 

Having said that, the Debian package is quite out of date (0.11.1) - see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521513

Chris Carr
 

 -Original Message-
 From: trac-users@googlegroups.com 
 [mailto:trac-us...@googlegroups.com] On Behalf Of Rafael Silva
 Sent: 27 July 2009 21:38
 To: Trac Users
 Subject: [Trac] PPA Ubuntu packges
 
 
 Hello group, How are you?
 
 Please, Does somebody know if is feasible to build Ubuntu packages
 from
 trac's source code? For example, is there a make packages or
 setup.py packages
 commands to generate specific packages for the supported Linux
 distributions?
 Is there any trac's PPA repository available?
 
 thanks in advance,
 Rafael
 
  
 


--~--~-~--~~~---~--~~
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: PPA Ubuntu packges

2009-07-28 Thread Olemis Lang

On Mon, Jul 27, 2009 at 3:38 PM, Rafael Silvacontest@gmail.com wrote:

 Hello group, How are you?

 Please, Does somebody know if is feasible to build Ubuntu packages
 from
 trac's source code? For example, is there a make packages or
 setup.py packages
 commands to generate specific packages for the supported Linux
 distributions?

In general, it depends on the distro . RedHat and its derivations are
supported OOTB

{{{
$ setup.py bdist_rpm
}}}

For Debian and flavours I know about stdeb and there r more (I cant
remember right now :-/ )

{{{
$ setup.py sdist_stdeb
}}}

AFAICR

There are other `distutils` extensions for other kinds of packages .

 Is there any trac's PPA repository available?


I often find fresh packages for Py-(libs|apps) at Launchpad (e.g.
Mercurial 1.3 even for latest Ubuntu ;o)

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

--~--~-~--~~~---~--~~
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: Using contents of Wiki pages from Trac externally

2009-07-28 Thread Olemis Lang

On Thu, Jul 23, 2009 at 4:55 PM, Ferenczi Viktorpyt...@cx.hu wrote:

 Dear Community,

 I'd like to reuse the contents of some Wiki pages from our Trac instance on
 our company Web site, but without Trac's header and footer. It'd also make
 those pages editable in a familiar way.

 Could you please point me to a plugin allowing external access to the contents
 of Wiki pages? I wasn't able to find such a plugin despite it should not be a
 complicated one.


TracXmlRpc plugin. The WikiRPC handler offeres a method for that (dont
remember the name but I've used it several times) and also to render
arbitrary WikiFormatting AFAICR. You can use those methods inside the
code of a Trac plugin or from remote using `xmlrpclib.ServerProxy` (or
any other XML RPC lib written in any particular prog lang ;o)

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

--~--~-~--~~~---~--~~
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] newticket problem when installing trac 0.11 (and some minor documentation related problems)

2009-07-28 Thread Stephan

Hello.

I have just tried to install trac 0.11 on debian and experienced a
problem with creating a new ticket for which I could not find any
solutions. I am now back to trac 0.10 which works fine for me.
However, I post this to the list. Maybe it can help someone or you can
tell me if I missed something.

First I installed the version with the stable debian package
0.11.1-2.1. I created a new trac environment for a local svn
repository and got it to run with lighttpd. After setting up
authentication I clicked through the links and when I tried to create
a new ticket, newticket gives me the following error:

Links Configurations didn't initialize correctly! = 'allow'

Google just led me to some reports of the problem but no solution.
E.g.
http://groups.google.com/group/trac-users/browse_thread/thread/00a80ffdcf3b133b
http://groups.google.com/group/agilo/browse_thread/thread/7a129f077f99592f

There is also an open ticket for the problem but not within trac
development:
http://code.optaros.com/trac/oforge/ticket/28

I then installed the latest stable version from tarball (Trac-0.11.5)
and also installed from the latest svn version (revision 8391),
however the problem remained. Any ideas what is wrong?

I am using debian stable (lenny) with python 2.5.2.

There were also two minor documentation related problems for me:

The information in /wiki/TracFastCgi seems to be outdated or not
correct. I could not find the trac.fcgi which I needed to run with
lighttpd but I found the solution (you need to run trac-admin deploy
first) here: 
http://www.nabble.com/Upgrade-0.10-to-0.11---where-did-cgi-bin-go--td18250299.html

Also http://trac.edgewall.org/wiki/TracInstall tells me to use
easy_install for installing:
easy_install http://svn.edgewall.org/repos/trac/tags/trac-0.11

However, this gives me an error:
error: Unexpected HTML page found at 
http://svn.edgewall.org/repos/trac/tags/trac-0.11

Same with:
easy_install http://svn.edgewall.org/repos/trac/branches/0.11-stable

I circumvented this by installing from tarball or checking out the
repository with svn. However it surprises me that this does not work.

I am now back to using trac 0.10 which works fine for me. However, I
(and maybe some other trac users) would be thankful for any hints how
to overcome these installation problems.

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
-~--~~~~--~~--~--~---



[Trac] Re: removing all tickets

2009-07-28 Thread David Starr


 Hi again just a quick question here.. What's the safest way to
 remove all the tickets from a Trac db?

 What do you mean by safest?  Now matter how you do it, once they're
 gone, they're gone.

Ah I think I had some auto increment problem when emptying the rows  
from 'ticket' table before but I've now also emptied the rows from  
'ticket_change' table and new tickets all seem to be working fine, now  
just to stress test it.

Any Python hackers out there with some quick and dirty code to insert  
a bunch of 'dummy' tickets in to Trac?

-David

--~--~-~--~~~---~--~~
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: PPA Ubuntu packges

2009-07-28 Thread Remy Blank
Chris Carr wrote:
 Having said that, the Debian package is quite out of date (0.11.1) - see
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521513

Yes, and that version has issues with Python 2.6. You should rather
install from source and get 0.11.5.

-- Remy



signature.asc
Description: OpenPGP digital signature


[Trac] Re: Planning a Trac Installation on Windows

2009-07-28 Thread yoheeb

On Jul 22, 8:55 am, ray ray.jos...@cdicorp.com wrote:
 Olemis,

 Thank you for your considerations.  I will march forward.

 Why Python 2.6?  Because I only want to be far enough forward on the
 bleeding edge that if I fall, death is quick and I won't be walking
 around thinking I'm alive.

 Ray

 On Jul 22, 7:33 am, Olemis Lang ole...@gmail.com wrote:

  On Tue, Jul 21, 2009 at 7:21 AM, rayray.jos...@cdicorp.com wrote:

  Hi !

   I would like help in reviewing of what I think is the sequence and
   content of the installation process:

   From reviewing documentation, it looks like -
  [...]

   Track 11.5   [ 1)  There is a windows zip and installer, what is the
   difference?]

  No diff at all .

  {{{
  $ unzip Trac-xxx.zip
  $ cd Tracxxx
  $ setup.py bdist_wininst bdist_msi     ; Windows installer
  $ easy_install -z Trac-xxx.zip            ; or alternately install
  using easy_install

  }}}

  And you'll get back a Windows installer . Py is magic !

  I prefer Wininsts in Windows

   Subversion 1.6.3
    Python bindings    svn-python-1.6.2.win32-py2.6.exe   [ 3) I only
   see binding for 1.6.2, do they work with 1.6.3?]

  AFAIK No . You should install svn-python-1.6.2.win32-py2.6.exe , which
  available at the same URL where you can find the Subversion win
  installer.

  Formerly (in some Win hosts ;o) the use of Subversion bindings
  triggered a segfault. The good news is that I tried this version
  (1.6.3) in such a problematic system and it doesnt suffer with that
  bug (so I could finally test my glorious LOCs using SVN backend :P ).

   Appache
    mod_python    [ 4) No version for Python 2.6?]

  I use this one with Py 2.5

  What's the benefit in using Py 2.6 ?

  --
  Regards,

  Olemis.

  Blog ES:http://simelo-es.blogspot.com/
  Blog EN:http://simelo-en.blogspot.com/

  Featured article:

Make sure you get the correct bindings for the version of Apache you
go with (2.0 vs. 2.2, etc)  This one has cause a lot of hair loss on
this list...
You might want to consider going with python 2.5 unless you have the
patience and time to work through some of the bleeding edge issues
as you mentioned.

Finally, you may wish to start with the default SQLite backend,
although I suspect this to be less of an issue.

I personally use mod_python, but that does come with some limitations
in terms of performance.  If you plan to have a very large number of
trac instances/tickets, consider trying to get mod_wsgi going out of
the gate.

One last thing:  It's Trac, not Track.  Not Nitpicking here, there is
a different system called Track out there somewhere.
--~--~-~--~~~---~--~~
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: removing all tickets

2009-07-28 Thread jevans

David Starr wrote:
 Any Python hackers out there with some quick and dirty code to insert
 a bunch of 'dummy' tickets in to Trac?

 -David

You could probably use the TicketImportPlugin.
- jevans
--~--~-~--~~~---~--~~
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: removing all tickets

2009-07-28 Thread David Champion

* On 28 Jul 2009, David Champion wrote: 
 
 import trac, trac.env, trac.ticket
 
 env = trac.env('/path/to/environment')
 ct = 0
 try:
   for i in xrange(1, 1000):
   tkt = trac.ticket.Ticket(env)
   tkt['description'] = 'dummy ticket %d' % i
   tkt['status'] = 'new'
   tkt['reporter'] = 'testbot'

You probably should set tkt['summary'] here also, or bad things might
happen.

   tktno = tkt.insert()
   print 'Inserted ticket #%d' % tktno
   ct += 1
 except:
   print 'Inserted %d dummy tickets' % ct

-- 
 -D.d...@uchicago.eduNSITUniversity of Chicago

--~--~-~--~~~---~--~~
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: Including whitespaces in tag name (TagsPlugin)

2009-07-28 Thread Kiffin Gish

I was also hoping to include multi-word tags, e.g. separated by commas
and/or enclosed within single/double quotes.

On Tue, 2009-07-28 at 12:51 -0500, Olemis Lang wrote:
 Is it possible (e.g. for tickets and tags in `keywords` field) ? How ?
 
-- 
Kiffin Gish kiffin.g...@planet.nl
Gouda, The Netherlands



--~--~-~--~~~---~--~~
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: Link to ticket custom field value?

2009-07-28 Thread RJOllos

Would one of the SQL macros [1], [2] help you?  Perhaps you can just
pull from the ticket_custom table.

[1] http://trac-hacks.org/wiki/SqlQueryMacro
[2] http://trac-hacks.org/wiki/WikiTableMacro

On Jul 27, 3:02 pm, yoheeb yoh...@gmail.com wrote:
 would this be possible?  I guess I could actually do it the other way
 by using a text area field, and using include macro to link to wiki
 text, however what I would like to do:

 include in the wiki something like:

 ticket X has an estimated hours value of [[GetTicketField
 (X ,estimatedhours)]]  where X is a ticket number

 What would be the best place to start for a macro like this?
 IncludeMacro?

 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
-~--~~~~--~~--~--~---