Opened 10 years ago

Last modified 10 years ago

#43272 new defect

py33-zmq @14.1.1 +universal and arch -i386 ipython notebook error

Reported by: wrighteap@… Owned by: jrjsmrtn
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: cooljeanius (Eric Gallager)
Port: py-zmq

Description

I installed all the required ports with the +universal version to run a 32bit ipython notebook. While I can use the 64 bit version successfully, on running arch -i386 ipython notebook I get the following error message:

 File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/zmq/__init__.py", line 52, in <module>
    from zmq.utils import initthreads # initialize threads
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/zmq/utils/initthreads.so, 2): no suitable image found.  Did find:
	/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/zmq/utils/initthreads.so: mach-o, but wrong architecture

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/IPython/utils/zmqrelated.py", line 35, in check_for_zmq
    import zmq
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/zmq/__init__.py", line 54, in <module>
    raise ImportError("%s\nAre you trying to `import zmq` from the pyzmq source dir?" % e)
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/zmq/utils/initthreads.so, 2): no suitable image found.  Did find:
	/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/zmq/utils/initthreads.so: mach-o, but wrong architecture
Are you trying to `import zmq` from the pyzmq source dir?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/local/bin/ipython", line 9, in <module>
    load_entry_point('ipython==1.2.1', 'console_scripts', 'ipython3')()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/IPython/__init__.py", line 118, in start_ipython
    return launch_new_instance(argv=argv, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/IPython/config/application.py", line 544, in launch_instance
    app.initialize(argv)
  File "<string>", line 2, in initialize
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/IPython/terminal/ipapp.py", line 312, in initialize
    super(TerminalIPythonApp, self).initialize(argv)
  File "<string>", line 2, in initialize
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/IPython/core/application.py", line 373, in initialize
    self.parse_command_line(argv)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/IPython/terminal/ipapp.py", line 307, in parse_command_line
    return super(TerminalIPythonApp, self).parse_command_line(argv)
  File "<string>", line 2, in parse_command_line
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/IPython/config/application.py", line 474, in parse_command_line
    return self.initialize_subcommand(subc, subargv)
  File "<string>", line 2, in initialize_subcommand
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/IPython/config/application.py", line 89, in catch_config_error
    return method(app, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/IPython/config/application.py", line 405, in initialize_subcommand
    subapp = import_item(subapp)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/IPython/utils/importstring.py", line 42, in import_item
    module = __import__(package, fromlist=[obj])
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/IPython/html/notebookapp.py", line 36, in <module>
    check_for_zmq('2.1.11', 'IPython.html')
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/IPython/utils/zmqrelated.py", line 37, in check_for_zmq
    raise ImportError("%s requires pyzmq >= %s"%(required_by, minimum_version))
ImportError: IPython.html requires pyzmq >= 2.1.11

Is this a port flaw or could there be anything else going on? I'm running OS X 10.9.2, Macports 2.2.1 and Xcode 5B130a. If there is any other relevant information I left out please let me know!

Change History (4)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Keywords: py33-zmq +universal arch -i386 ipython notebook removed
Owner: changed from macports-tickets@… to jrjsmrtn@…
Port: py-zmq added; py33-zmq @14.1.1 removed

In the future, please Cc the port maintainers (port info --maintainers py33-zmq).

comment:2 Changed 10 years ago by wrighteap@…

Last edited 10 years ago by wrighteap@… (previous) (diff)

comment:3 in reply to:  1 Changed 10 years ago by wrighteap@…

Replying to macsforever2000@…:

In the future, please Cc the port maintainers (port info --maintainers py33-zmq).

Thank you - duly noted.

comment:4 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.