[Trac] Cannot update tickets after 1.0.1 upgrade

2014-03-24 Thread omar . crea
Hi all,

I already saw this ticket http://trac.edgewall.org/ticket/11155, and 
thishttps://groups.google.com/forum/#!topic/trac-users/7PIjhH5N2_Ydiscussion 
too, but I can't resolve my problem.
After upgrading from TraC 0.11 to 1.0.1, I cannot modify tickets, nor old 
nor the newly created ones.

I haven't Agilo installed, so the solution described in the above 
discussion does not apply to me.

The strange thing is that only one of my six TraC environments has the 
problem, and they use all the same environment (same machine, same 
database, no external plugins).

System information:

PackageVersion  Trac 1.0.1 Babel 0.9.6 Docutils 0.8.1 Genshi 0.6 (with 
speedups) mod_python 3.3.1 MySQL server: 5.5.35-0+wheezy1, client: 
5.5.35, thread-safe: 1 MySQLdb 1.2.3 Pygments 1.5 Python 2.7.3 (default, 
Mar 14 2014, 12:14:27) [GCC 4.7.2] pytz 2012c setuptools 0.6 Subversion 1.6.17 
(r1128011) jQuery1.7.2 
Installed Plugins NameVersionLocation  Bitten http://bitten.edgewall.org/ 
0.6 /usr/lib/python2.7/dist-packages  
graphvizhttp://trac-hacks.org/wiki/GraphvizPlugin 
0.7.5 /usr/lib/pymodules/python2.7  
TracAccountManagerhttp://trac-hacks.org/wiki/AccountManagerPlugin 
0.2.1dev /usr/lib/pymodules/python2.7  
TracAuthOpenIdhttp://bitbucket.org/Dalius/authopenid-plugin/overview/ 
0.3.1dev /usr/lib/pymodules/python2.7  
TracCustomFieldAdminhttp://trac-hacks.org/wiki/CustomFieldAdminPlugin 
0.2.6 /usr/lib/python2.7/dist-packages  
TracMasterTicketshttp://github.com/coderanger/trac-mastertickets 
3.0.2 /usr/lib/python2.7/dist-packages  
TracWysiwyghttp://trac-hacks.org/wiki/TracWysiwygPlugin 
0.12.0.3 /usr/lib/python2.7/dist-packages

If I try to udpate a ticket, the log says:

2014-03-24 13:16:06,675 Trac[main] DEBUG: Dispatching RequestWithSession 
POST '/ticket/335'
2014-03-24 13:16:06,677 Trac[session] DEBUG: Retrieving session for ID 
'USER'
2014-03-24 13:16:06,679 Trac[main] DEBUG: Negotiated locale: None - en_US
2014-03-24 13:16:06,691 Trac[api] INFO: Synchronized '(default)' repository 
in 0.01 seconds
2014-03-24 13:16:06,697 Trac[chrome] DEBUG: Prepare chrome data for request
2014-03-24 13:16:06,714 Trac[default_workflow] DEBUG: 
render_ticket_action_control: action leave
2014-03-24 13:16:06,714 Trac[default_workflow] DEBUG: 
render_ticket_action_control: action resolve
2014-03-24 13:16:06,716 Trac[default_workflow] DEBUG: 
render_ticket_action_control: action reassign
2014-03-24 13:16:06,717 Trac[default_workflow] DEBUG: 
render_ticket_action_control: action accept
2014-03-24 13:16:07,554 Trac[main] DEBUG: Dispatching RequestWithSession 
GET '/ticket/334'
2014-03-24 13:16:07,555 Trac[session] DEBUG: Retrieving session for ID 
'USER'
2014-03-24 13:16:07,557 Trac[main] DEBUG: Negotiated locale: None - en_US
2014-03-24 13:16:07,568 Trac[api] INFO: Synchronized '(default)' repository 
in 0.01 seconds
2014-03-24 13:16:07,578 Trac[default_workflow] DEBUG: 
render_ticket_action_control: action leave
2014-03-24 13:16:07,579 Trac[default_workflow] DEBUG: 
render_ticket_action_control: action resolve
2014-03-24 13:16:07,580 Trac[default_workflow] DEBUG: 
render_ticket_action_control: action reassign
2014-03-24 13:16:07,581 Trac[default_workflow] DEBUG: 
render_ticket_action_control: action accept
2014-03-24 13:16:07,583 Trac[chrome] DEBUG: Prepare chrome data for request


Loaded modules/libraries:

2014-03-24 13:17:24,142 Trac[env] INFO:  
environment startup [Trac 1.0.1] 
2014-03-24 13:17:24,150 Trac[loader] DEBUG: Loading TracAuthOpenId from 
/usr/lib/pymodules/python2.7
2014-03-24 13:17:24,150 Trac[loader] DEBUG: Loading acct_mgr.admin from 
/usr/lib/pymodules/python2.7
2014-03-24 13:17:24,150 Trac[loader] DEBUG: Loading acct_mgr.api from 
/usr/lib/pymodules/python2.7
2014-03-24 13:17:24,150 Trac[loader] DEBUG: Loading acct_mgr.db from 
/usr/lib/pymodules/python2.7
2014-03-24 13:17:24,150 Trac[loader] DEBUG: Loading acct_mgr.htfile from 
/usr/lib/pymodules/python2.7
2014-03-24 13:17:24,151 Trac[loader] DEBUG: Loading acct_mgr.http from 
/usr/lib/pymodules/python2.7
2014-03-24 13:17:24,151 Trac[loader] DEBUG: Loading acct_mgr.notification 
from /usr/lib/pymodules/python2.7
2014-03-24 13:17:24,151 Trac[loader] DEBUG: Loading acct_mgr.pwhash from 
/usr/lib/pymodules/python2.7
2014-03-24 13:17:24,151 Trac[loader] DEBUG: Loading acct_mgr.svnserve from 
/usr/lib/pymodules/python2.7
2014-03-24 13:17:24,151 Trac[loader] DEBUG: Loading acct_mgr.web_ui from 
/usr/lib/pymodules/python2.7
2014-03-24 13:17:24,152 Trac[loader] DEBUG: Loading bitten.admin from 
/usr/lib/python2.7/dist-packages
2014-03-24 13:17:24,152 Trac[loader] DEBUG: Loading bitten.coverage from 
/usr/lib/python2.7/dist-packages
2014-03-24 13:17:24,152 Trac[loader] DEBUG: Loading bitten.lint from 
/usr/lib/python2.7/dist-packages
2014-03-24 13:17:24,152 Trac[loader] DEBUG: Loading bitten.main from 
/usr/lib/python2.7/dist-packages
2014-03-24 13:17:24,153 Trac[loader] DEBUG: Loading bitten.master 

[Trac] Error assigns a ticket to a Developer

2014-03-24 Thread Ivanelson Nunes
Always this error occurs. When will I assign a ticket.

I noticed that this only occurs in the ticket's created [1] email2trac. The
plugin is being broken TracjsGantt.

[1] https://oss.trac.surfsara.nl/email2trac

Traceback (most recent call last):
   File
 /usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/web/main.py,
 line 497, in _dispatch_request
 dispatcher.dispatch(req)
   File
 /usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/web/main.py,
 line 214, in dispatch
 resp = chosen_handler.process_request(req)
   File
 /usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/ticket/web_ui.py,
 line 179, in process_request
 return self._process_ticket_request(req)
   File
 /usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/ticket/web_ui.py,
 line 614, in _process_ticket_request
 self._do_save(req, ticket, action)
   File
 /usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/ticket/web_ui.py,
 line 1328, in _do_save
 replyto=req.args.get('replyto'))
   File
 /usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/ticket/model.py,
 line 363, in save_changes
 listener.ticket_changed(self, comment, author, old_values)
   File
 /usr/local/lib/python2.7/dist-packages/Trac_jsGantt-0.10-py2.7.egg/tracjsgantt/tracpm.py,
 line 2957, in ticket_changed
 self.rescheduleTickets(ticket, old_values)
   File
 /usr/local/lib/python2.7/dist-packages/Trac_jsGantt-0.10-py2.7.egg/tracjsgantt/tracpm.py,
 line 2766, in rescheduleTickets
 self.spliceGraph(tickets, ticket, old_values)
   File
 /usr/local/lib/python2.7/dist-packages/Trac_jsGantt-0.10-py2.7.egg/tracjsgantt/tracpm.py,
 line 2667, in spliceGraph
 if len(old_values[previewFields[fwd]]) == 0:
 TypeError: object of type 'NoneType' has no len()




@ivanelson
[]s

-- 
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/d/optout.


Re: [Trac] Cannot update tickets after 1.0.1 upgrade

2014-03-24 Thread Steffen Hoffmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24.03.2014 13:50, omar.c...@thyme.it wrote:
 Hi all,
 
 I already saw this ticket http://trac.edgewall.org/ticket/11155, and
 this https://groups.google.com/forum/#!topic/trac-users/7PIjhH5N2_Y
 discussion too, but I can't resolve my problem.
 After upgrading from TraC 0.11 to 1.0.1, I cannot modify tickets, nor
 old nor the newly created ones.

But the logs you provided reveal no permission issue, in fact no failed
permission checks at all. Does the session log come from session with
TRAC_ADMIN privileges? Do you have all/most Trac modules enabled?

 I haven't Agilo installed, so the solution described in the above
 discussion does not apply to me.
 
 The strange thing is that only one of my six TraC environments has the
 problem, and they use all the same environment (same machine, same
 database, no external plugins).
...

I would watch out for old custom templates in env/templates, because I
saw a lot of issues for upgraders coming from conflicts causes by old
custom templates.

 Installed Plugins
 
 Name  Version Location
...
 TracAccountManager http://trac-hacks.org/wiki/AccountManagerPlugin
 0.2.1dev

Too bad, this one is full of issues and obsoleted for years. Do not dare
to use it one day longer, but upgrade to current stable ASAP, looking at
upgrading notes for important, required configuration changes.

 If I try to udpate a ticket, the log says:
(snip)

Fine, no obvious problems here.

 Loaded modules/libraries:
(snip)

All well on first sight.

Steffen Hoffmann

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlMwetIACgkQ31DJeiZFuHe76ACg4yIyFSO8RXDs2Jj6GiH/rdD6
iAcAoL1sG3tEsAjWbWwAO7gNIUuwIJpn
=N2QW
-END PGP SIGNATURE-

-- 
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/d/optout.