Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465454 - [ikelos overlay] mail-client/mailnag use python3 (current default) instead of python2
Summary: [ikelos overlay] mail-client/mailnag use python3 (current default) instead of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Mike Auty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-10 22:40 UTC by Alessandro Capogna
Modified: 2013-04-15 07:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Capogna 2013-04-10 22:40:51 UTC
$ mailnag_config 
Traceback (most recent call last):
  File "/usr/share/mailnag/Mailnag/config.py", line 27, in <module>
    from common.utils import set_procname
  File "/usr/share/mailnag/Mailnag/common/utils.py", line 30, in <module>
    import urllib2
ImportError: No module named urllib2
mailnag-config discarded


Reproducible: Always
Comment 1 Mike Auty (RETIRED) gentoo-dev 2013-04-13 14:28:30 UTC
So this took a little more work than a straight conversion because mailnag provides bash scripts that then run python in order to do logging and daemon restarting, etc.  Still, it's been updated in the repo so should now be fixed.  Please let me know if there's any problems...  5:)
Comment 2 Alessandro Capogna 2013-04-14 18:06:54 UTC
kind of same problem


$ mailnag_config 
Traceback (most recent call last):
  File "/usr/share/mailnag/Mailnag/config.py", line 37, in <module>
    if __name__ == "__main__":  main()
  File "/usr/share/mailnag/Mailnag/config.py", line 33, in main
    confwin = ConfigWindow()
  File "/usr/share/mailnag/Mailnag/configuration/configwindow.py", line 41, in __init__
    builder.add_from_file(get_data_file("config_window.ui"))
  File "/usr/lib64/python2.7/site-packages/gi/types.py", line 47, in function
    return info.invoke(*args, **kwargs)
TypeError: Argument 1 does not allow None as a value
mailnag-config discarded
Comment 3 Mike Auty (RETIRED) gentoo-dev 2013-04-15 07:57:36 UTC
Hiya, That's a bit of a different problem, and looks related to gobject introspection.  I'll start looking into it when I get some more time, but in the interim would you mind filing it as a separate bug please?  Otherwise this'll become a "problems with mailnag" bug that'll never get closed off...  5:)