Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#262 closed defect (fixed)

TypeError: iterable argument required

Reported by: glenn Owned by: bas
Priority: major Milestone: New email2trac release 2.4.0
Component: email2trac Version: 2.1.0
Keywords: Cc:

Description

email2trac option ticket_permission_system: trac is not working.

Aug 5 04:56:23 monitor-vm Trac[env] INFO: -------------------------------- environment startup [Trac 0.12.2] -------------------------------- Aug 5 04:56:23 monitor-vm email2trac sinonet: subject: test Aug 5 04:56:24 monitor-vm email2trac sinonet: Traceback (most recent call last): Aug 5 04:56:24 monitor-vm email2trac sinonet: File "/usr/local/email2trac/bin/email2trac", line 2467, in ? tktparser.parse(sys.stdin) Aug 5 04:56:24 monitor-vm email2trac sinonet: File "/usr/local/email2trac/bin/email2trac", line 1660, in parse self.new_ticket(m, subject, spam_msg) Aug 5 04:56:24 monitor-vm email2trac sinonet: File "/usr/local/email2trac/bin/email2trac", line 1069, in new_ticket if not self.check_permission(tkt, 'TICKET_CREATE'): Aug 5 04:56:24 monitor-vm email2trac sinonet: File "/usr/local/email2trac/bin/email2trac", line 693, in check_permission if perm.check_permission(action, self.author): Aug 5 04:56:24 monitor-vm email2trac sinonet: File "build/bdist.linux-i686/egg/trac/perm.py", line 454, in check_permission Aug 5 04:56:24 monitor-vm email2trac sinonet: File "build/bdist.linux-i686/egg/privatetickets/policy.py", line 32, in check_permission Aug 5 04:56:24 monitor-vm email2trac sinonet: TypeError?: iterable argument required

Attachments (0)

Change History (7)

comment:1 Changed 13 years ago by bas

  • Status changed from new to assigned

Just a question. did you enabled PrivateTicketsPlugin? I see reports from other plugins that have the same error

comment:2 Changed 13 years ago by glenn

yes it is. is there any conflict between the two?

comment:3 Changed 13 years ago by bas

  • Milestone set to New email2trac release 2.X.X

Other plugins experience the same problem when PrivateTicketsPlugin is installed. There are several solution for this problem. I let you know when i have patched email2trac

comment:4 Changed 13 years ago by glenn

  • Component changed from email2trac to discussion
  • Milestone New email2trac release 2.X.X deleted

thank you bas. I will just wait for the patch.

comment:5 Changed 13 years ago by anonymous

  • Component changed from discussion to email2trac
  • Milestone set to New email2trac release 2.X.X

comment:6 Changed 13 years ago by bas

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [539]) fixed check permission problem when PrivateTicketsPlugin? is installed, closes #262

comment:7 Changed 13 years ago by anonymous

now working. thank you bas

Add Comment

Modify Ticket

Change Properties
Action
as closed The owner will remain bas.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.