[GH-ISSUE #22] Error with mailbox name #5

Closed
opened 2026-02-27 11:09:37 +03:00 by kerem · 1 comment
Owner

Originally created by @tonioo on GitHub (Dec 4, 2013).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/22

Originally assigned to: @tonioo on GitHub.

Originally created by Antoine Nguyen on 2009-05-31T20:26:20Z

Mailbox creation or modification fails if the name field contains only one word.

Traceback:
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in get_response

  1.             response = callback(request, _callback_args, *_callback_kwargs)
    
    File "/usr/lib/python2.5/site-packages/django/contrib/auth/decorators.py" in +call+
  2.         return self.view_func(request, _args, *_kwargs)
    
    File "/var/www/users/www-data/mailng/admin/views.py" in newmailbox
  3.                 fname, lname = mb.name.split()
    
    Exception Type: ValueError at /mailng/admin/domains/2/newmailbox/
    Exception Value: need more than 1 value to unpack
Originally created by @tonioo on GitHub (Dec 4, 2013). Original GitHub issue: https://github.com/modoboa/modoboa/issues/22 Originally assigned to: @tonioo on GitHub. **Originally created by Antoine Nguyen on 2009-05-31T20:26:20Z** Mailbox creation or modification fails if the name field contains only one word. Traceback: File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in get_response 1. response = callback(request, _callback_args, *_callback_kwargs) File "/usr/lib/python2.5/site-packages/django/contrib/auth/decorators.py" in +call+ 2. return self.view_func(request, _args, *_kwargs) File "/var/www/users/www-data/mailng/admin/views.py" in newmailbox 3. fname, lname = mb.name.split() Exception Type: [[ValueError]] at /mailng/admin/domains/2/newmailbox/ Exception Value: need more than 1 value to unpack
kerem 2026-02-27 11:09:37 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tonioo commented on GitHub (Dec 4, 2013):

Posted by Antoine Nguyen on 2009-06-09T13:45:11Z

Fixed in r075703888422

<!-- gh-comment-id:29813121 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Antoine Nguyen on 2009-06-09T13:45:11Z** Fixed in r075703888422
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#5
No description provided.