[Trac] Re: Trac 0.10 gets stuck after an hour or so

2006-10-28 Thread Christian Boos

Christian wrote:
 Hello Christian,

 I did the patch, reinstalled...but the problem persists and we have
 apache2 spiking again, I did an update of all the packages on ubuntu
 but still that didn't do it.
   
ok
 It really only started with 0.10, you mentioned a thread dump, how do
 we go about doing that?
   

With ps or top, get the pid of the apache process that spikes to 100% 
(say 1234).
Then, start gdb, and do attach 1234. You're now attached to that 
process and you can to a 'bt' (backtrace) to see where it is stuck. 
There are additional tricks to get access to the Python stacktrace from 
there [1], but the C stacktrace should already be a good start to 
understand what's going on.


-- Christian

[1] http://trac.edgewall.org/ticket/1401#comment:14


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~--~~~~--~~--~--~---



[Trac] Avaiable Projects page error: VERSION files are missing

2006-10-28 Thread Jonathan Métillon

Hi,

I'm new to this list. Hello Trac users!

I installed Trac 0.10 on my Debian server. It is served using
Lighttpd/FastCGI.

It works but the Avaiable Projects page throws this error:

*  attachments: Error
  ([Errno 2] No such file or directory:
'/var/www/trac/myproject/attachments/VERSION')
* cache: Error
  ([Errno 2] No such file or directory:
'/var/www/trac/myproject/cache/VERSION')
* conf: Error
  ([Errno 2] No such file or directory:
'/var/www/trac/myproject/conf/VERSION')
* htdocs: Error
  ([Errno 2] No such file or directory:
'/var/www/trac/myproject/htdocs/VERSION')
* log: Error
  ([Errno 2] No such file or directory:
'/var/www/trac/myproject/log/VERSION')
* plugins: Error
  ([Errno 2] No such file or directory:
'/var/www/trac/myproject/plugins/VERSION')
* templates: Error
  ([Errno 2] No such file or directory:
'/var/www/trac/myproject/templates/VERSION')
* wiki-macros: Error
  ([Errno 2] No such file or directory:
'/var/www/trac/myproject/wiki-macros/VERSION')

I tried to copy /var/www/trac/myproject/VERSION to these directories
but it's not working either.

What are these VERSION files? Why are they missing? How can I fix that?

Thank you for your time.


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~--~~~~--~~--~--~---



[Trac] Re: Avaiable Projects page error: VERSION files are missing

2006-10-28 Thread Noah Kantrowitz

Sounds like you are using TRAC_ENV_PARENT_DIR when you mean to use 
TRAC_ENV. The former works in the same way of Subversion's SVNParentPath.

--Noah

Jonathan Métillon wrote:
 Hi,
 
 I'm new to this list. Hello Trac users!
 
 I installed Trac 0.10 on my Debian server. It is served using
 Lighttpd/FastCGI.
 
 It works but the Avaiable Projects page throws this error:
 
 *  attachments: Error
   ([Errno 2] No such file or directory:
 '/var/www/trac/myproject/attachments/VERSION')
 * cache: Error
   ([Errno 2] No such file or directory:
 '/var/www/trac/myproject/cache/VERSION')
 * conf: Error
   ([Errno 2] No such file or directory:
 '/var/www/trac/myproject/conf/VERSION')
 * htdocs: Error
   ([Errno 2] No such file or directory:
 '/var/www/trac/myproject/htdocs/VERSION')
 * log: Error
   ([Errno 2] No such file or directory:
 '/var/www/trac/myproject/log/VERSION')
 * plugins: Error
   ([Errno 2] No such file or directory:
 '/var/www/trac/myproject/plugins/VERSION')
 * templates: Error
   ([Errno 2] No such file or directory:
 '/var/www/trac/myproject/templates/VERSION')
 * wiki-macros: Error
   ([Errno 2] No such file or directory:
 '/var/www/trac/myproject/wiki-macros/VERSION')
 
 I tried to copy /var/www/trac/myproject/VERSION to these directories
 but it's not working either.
 
 What are these VERSION files? Why are they missing? How can I fix that?
 
 Thank you for your time.
 
 
  


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~--~~~~--~~--~--~---



[Trac] Re: Avaiable Projects page error: VERSION files are missing

2006-10-28 Thread Jonathan Métillon

Noah,

I replaced TRAC_ENV_PARENT_DIR with TRAC_ENV and now it shows a Python
error about the VERSION file missing. So I changed the path from
/var/www/trac to /var/www/trac/myproject. Now it works but it shows
this project directly, not a list of avaiable projects. And the
template is missing styling, /chrome/common/css/trac.css is 404.


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~--~~~~--~~--~--~---



[Trac] Re: Trac 0.10 gets stuck after an hour or so

2006-10-28 Thread Christian Billen

Ok, well there's actually two apache process both spiking.

The first one:
#0  0xe410 in __kernel_vsyscall ()
#1  0xb7bc456b in __read_nocancel () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x080793e4 in ap_mpm_pod_check ()
#3  0x080773b3 in ap_graceful_stop_signalled ()
#4  0x0807751b in ap_graceful_stop_signalled ()
#5  0x080775e2 in ap_graceful_stop_signalled ()
#6  0x08078094 in ap_mpm_run ()
#7  0x0807ede5 in main ()

And the other one:
#0  0xe410 in __kernel_vsyscall ()
#1  0xb7bc456b in __read_nocancel () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x080793e4 in ap_mpm_pod_check ()
#3  0x080773b3 in ap_graceful_stop_signalled ()
#4  0x0807751b in ap_graceful_stop_signalled ()
#5  0x0807816c in ap_mpm_run ()
#6  0x0807ede5 in main ()

Does this tell you anything?


On 10/28/06 5:30 AM, Christian Boos [EMAIL PROTECTED] wrote:

 
 Christian wrote:
 Hello Christian,
 
 I did the patch, reinstalled...but the problem persists and we have
 apache2 spiking again, I did an update of all the packages on ubuntu
 but still that didn't do it.
   
 ok
 It really only started with 0.10, you mentioned a thread dump, how do
 we go about doing that?
   
 
 With ps or top, get the pid of the apache process that spikes to 100%
 (say 1234).
 Then, start gdb, and do attach 1234. You're now attached to that
 process and you can to a 'bt' (backtrace) to see where it is stuck.
 There are additional tricks to get access to the Python stacktrace from
 there [1], but the C stacktrace should already be a good start to
 understand what's going on.
 
 
 -- Christian
 
 [1] http://trac.edgewall.org/ticket/1401#comment:14
 
 
  


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~--~~~~--~~--~--~---



[Trac] Re: Announce new version of email2trac (version 0.8.2)

2006-10-28 Thread Malcolm J Harwood

On Friday 27 October 2006 11:51, Bas van der Vlies wrote:

 If you hit reply and update_ticket is set and #4 is not removed from the
 subject line it will try to update the ticket.

Is there a way to get it to trim what it inserts into the ticket? At work we 
have folks who insist on top-posting and never trim their replies, so the 
entire history of the ticket ends up in each comment. 


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~--~~~~--~~--~--~---



[Trac] Re: Trac 0.10 gets stuck after an hour or so

2006-10-28 Thread Christian Boos

Christian Billen wrote:
 Ok, well there's actually two apache process both spiking.

 The first one:
 #0  0xe410 in __kernel_vsyscall ()
 #1  0xb7bc456b in __read_nocancel () from /lib/tls/i686/cmov/libpthread.so.0
 #2  0x080793e4 in ap_mpm_pod_check ()
 #3  0x080773b3 in ap_graceful_stop_signalled ()
 #4  0x0807751b in ap_graceful_stop_signalled ()
 #5  0x080775e2 in ap_graceful_stop_signalled ()
 #6  0x08078094 in ap_mpm_run ()
 #7  0x0807ede5 in main ()

 And the other one:
 #0  0xe410 in __kernel_vsyscall ()
 #1  0xb7bc456b in __read_nocancel () from /lib/tls/i686/cmov/libpthread.so.0
 #2  0x080793e4 in ap_mpm_pod_check ()
 #3  0x080773b3 in ap_graceful_stop_signalled ()
 #4  0x0807751b in ap_graceful_stop_signalled ()
 #5  0x0807816c in ap_mpm_run ()
 #6  0x0807ede5 in main ()

 Does this tell you anything?
   

No, but some googling lead me to this:

http://www.forbiddenweb.org/viewtopic.php?id=25875

which seems to be quite close to what you have.

So following the hint given in that thread, you should perhaps 
double-check that all the modules you are using are compiled in a 
thread-safe way (esp. sqlite and clearsilver, check the PySqlite and 
ClearSilver pages in Trac's wiki for guidance).

-- Christian


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~--~~~~--~~--~--~---



[Trac] Error reactor already installed - exact module import order?

2006-10-28 Thread Zoltan (Twisted Python Mailing List)

Hi everyone,


I would be grateful if someone could help me with the error reactor already 
installed. I have seen this issue has been discussed previously, but I am not 
sure how to fix appropriate file so that error does not occur anymore.

I am using Twisted Python 2.4.0, as it is packaged by Mandriva.

Here is the Python stack trace:
- cut 8 ---
Traceback (most recent call last):
   File /usr/bin/pyscrabble.py, line 4, in ?
 gtk2reactor.install()
   File /usr/lib/python2.4/site-packages/twisted/internet/gtk2reactor.py, 
line 270, in install
 installReactor(reactor)
   File /usr/lib/python2.4/site-packages/twisted/internet/main.py, line 23, 
in installReactor
 assert not sys.modules.has_key('twisted.internet.reactor'), \
AssertionError: reactor already installed
- cut 8 ---


Here is the piece of code that causes error:

- /usr/bin/pyscrabble.py ---
#!/usr/bin/env python

from twisted.internet import gtk2reactor
gtk2reactor.install()
...
- /usr/bin/pyscrabble.py ---

As for the pyscrabble.py causing, I'll contact its author, but is it possible 
to change .../twisted/internet/main.py so that it does not throw assertion 
error on already installed reactor?


Many thanks in advance,

Zoltan

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~--~~~~--~~--~--~---



[Trac] Re: Error reactor already installed - exact module import order?

2006-10-28 Thread Noah Kantrowitz

The Twisted project just uses Trac to manage their development. This  
list is about the Trac software itself. Their website should indicate  
a more topical mailing list to ask on.

--Noah

On Oct 28, 2006, at 3:08 PM, Zoltan (Twisted Python Mailing List) wrote:


 Hi everyone,


 I would be grateful if someone could help me with the error  
 reactor already
 installed. I have seen this issue has been discussed previously,  
 but I am not
 sure how to fix appropriate file so that error does not occur anymore.

 I am using Twisted Python 2.4.0, as it is packaged by Mandriva.

 Here is the Python stack trace:
 - cut 8 ---
 Traceback (most recent call last):
File /usr/bin/pyscrabble.py, line 4, in ?
  gtk2reactor.install()
File /usr/lib/python2.4/site-packages/twisted/internet/ 
 gtk2reactor.py,
 line 270, in install
  installReactor(reactor)
File /usr/lib/python2.4/site-packages/twisted/internet/ 
 main.py, line 23,
 in installReactor
  assert not sys.modules.has_key('twisted.internet.reactor'), \
 AssertionError: reactor already installed
 - cut 8 ---


 Here is the piece of code that causes error:

 - /usr/bin/pyscrabble.py ---
 #!/usr/bin/env python

 from twisted.internet import gtk2reactor
 gtk2reactor.install()
 ...
 - /usr/bin/pyscrabble.py ---

 As for the pyscrabble.py causing, I'll contact its author, but is  
 it possible
 to change .../twisted/internet/main.py so that it does not throw  
 assertion
 error on already installed reactor?


 Many thanks in advance,

 Zoltan

 


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~--~~~~--~~--~--~---



[Trac] Re: Cannot authenticate on new trac install

2006-10-28 Thread midtoad

thanks so much, that did it!  I can now log in, authenticating from the
digest file.


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~--~~~~--~~--~--~---