[Trac] ImportError: No module named trac.web.main after upgrade

2013-07-11 Thread Chris Sandrini
Hi
 
I upgraded trac from 0.12 to 1.0.1 today according to the trac upgrade 
documentation (http://trac.edgewall.org/wiki/TracUpgrade). Everything works 
fine. I can start trac when I use tracd without any problems. But it does 
not work anymore using apage and mod_wsgi. I get
 
[Thu Jul 11 13:49:40 2013] [error] [client 10.5.37.61] mod_wsgi (pid=7831): 
Exception occurred processing WSGI script 
'/pkgs/trac/www/cgi-bin/trac.wsgi'.
[Thu Jul 11 13:49:40 2013] [error] [client 10.5.37.61] Traceback (most 
recent call last):
[Thu Jul 11 13:49:40 2013] [error] [client 10.5.37.61]   File 
/pkgs/trac/www/cgi-bin/trac.wsgi, line 32, in application
[Thu Jul 11 13:49:40 2013] [error] [client 10.5.37.61] from 
trac.web.main import dispatch_request
[Thu Jul 11 13:49:40 2013] [error] [client 10.5.37.61] ImportError: No 
module named trac.web.main
After the upgrade I have redeployed the files using trac-admin trac_site 
deploy deploy_path and copied the files into cgi-bin. The files should have 
propper permissions
 
# ls -la /pkgs/trac/www/cgi-bin/
total 20
drwxr-xr-x  2 apache apache 4096 Jul 11 13:26 .
drwxr-xr-x 11 apache apache 4096 Jul 11 13:20 ..
-rwxr-xr-x  1 apache apache 1633 Jul 11 13:04 trac.cgi
-rwxr-xr-x  1 apache apache 1589 Jul 11 13:04 trac.fcgi
-rwxr-xr-x  1 apache apache 1353 Jul 11 13:26 trac.wsgi
I use RHEL 6.4
 
Any ideas what fails?

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] Email2Trac - The ticket is not updating, Ticket is duplicated.

2013-07-11 Thread Ivanelson Nunes
But the plugin does not detect that the subject already exists? If yes,
then update?!

ServiceDesk Call [#729]

@ivanelson
[]s


2013/7/9 W. Martin Borgert deba...@debian.org

 On 2013-07-08 22:36, Ivanelson Nunes wrote:
  Duplicate Tickets in Email2Trac!
 
  In my messages the default subject field is:
 
  ServiceDesk Call [#729]
 
  where 729 is the number of control or Ticket generated in the tool
  [1] GLPI.

 Not sure, whether this would help you:

 To update an existing Trac ticket via email2trac you need to
 have the Trac ticket number in the subject. It must be preceeded
 by a hash mark (#) and followed by a colon (:). If I understand
 correctly, the number above is not the Trac ticket, but an id of
 the GLPI tool. For ticket 1234 you would need something like

 ServiceDesk Call [#729] #1234:

 --
 You received this message because you are subscribed to the Google Groups
 Trac Users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to trac-users+unsubscr...@googlegroups.com.
 To post to this group, send email to trac-users@googlegroups.com.
 Visit this group at http://groups.google.com/group/trac-users.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] Email2Trac - The ticket is not updating, Ticket is duplicated.

2013-07-11 Thread W. Martin Borgert
On 2013-07-11 17:00, Ivanelson Nunes wrote:
 But the plugin does not detect that the subject already exists? If yes,
 then update?!

As far as I know, such a function is not supported. Only the
Trac ticket number in the format '#NNN:' is taken into account.

IMHO, the best and correct way would be to make use of the
message-ids, but again, this is probably not supported by
email2trac. Using the ticket number leads to many waste tickets
(false positives) in my experience, while assuming that
identical subjects would belong to the same ticket would lead
to false negatives, i.e. messages belonging to different
issues would be merged wrongly.

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.