Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #535 (new defect)

Opened 14 months ago

Last modified 14 months ago

email.MIMEMultipart

Reported by: eapontep Owned by: htgoebel
Priority: normal Milestone:
Component: Hooks Version: 1.5.1
Severity: normal Keywords: email.mime
Cc:

Description (last modified by htgoebel) (diff)

Hi,

I had a problem mentioned several times in other places, but none of the solutions seems to work. If I try to compile a file with only

from email.MIMEMultipart import MIMEMultipart

it compiles the program but, once I tried to run the programm, I obtain the following error

ImportError: No module named email.mime.multipart

This problem has been reported in other places (f.e. http://osdir.com/ml/python.pyinstaller/2008-06/msg00041.html) and a hook has been uploaded (http://www.pyinstaller.org/browser/project/PyInstaller/hooks/hook-email.py?rev=279fa1d4d62f615ab3123c604be4e72a1124c3c0). However this hook didn't work and I couldn't find any working solution for me. I am using Python 2.7 with pyinstaller 1.5.1, in an Ubuntu installation. The error in my project seems to be caused by importing scipy.weave.inline.

Is there any solution to this problem?

Eduardo

Attachments

Change History

comment:1 Changed 14 months ago by htgoebel

  • Description modified (diff)

comment:2 Changed 14 months ago by htgoebel

  • Summary changed from mime. to email.MIMEMultipart

I really wonder why this hook does not work, we have even a test-case for it: buildtests/basic/test_email2.py.

Can you please run see if this test-case passes on your setup? Thanks.

View

Add a comment

Modify Ticket

Action
as new
Author


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

 
Note: See TracTickets for help on using tickets.