[MacPorts] #48072: dolfin @1.5.0_2 command "import dolfin" fails in python
#48072: dolfin @1.5.0_2 command "import dolfin" fails in python ------------------------+-------------------------------- Reporter: hgonzale@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: dolfin ------------------------+-------------------------------- Running the following command: {{{ % python -c "import dolfin" }}} generates the following error: {{{ Traceback (most recent call last): File "<string>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/dolfin/__init__.py", line 16, in <module> from . import cpp File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/dolfin/cpp/__init__.py", line 42, in <module> exec("from . import %s" % module_name) File "<string>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/dolfin/cpp/common.py", line 132, in <module> __pythonversion__ = "%d.%d.%d"%(tuple(map(int, [tmp[2], tmp[4], tmp[6]]))) ValueError: invalid literal for int() with base 10: 'a' }}} I'm using python version 2.7.10, installed using Macports. -- Ticket URL: <https://trac.macports.org/ticket/48072> MacPorts <https://www.macports.org/> Ports system for OS X
#48072: dolfin @1.5.0_2 command "import dolfin" fails in python -------------------------+-------------------- Reporter: hgonzale@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: dolfin | -------------------------+-------------------- Changes (by larryv@…): * cc: sean@…, openmaintainer@… (removed) * owner: macports-tickets@… => sean@… -- Ticket URL: <https://trac.macports.org/ticket/48072#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48072: dolfin @1.5.0_2 command "import dolfin" fails in python -------------------------+-------------------- Reporter: hgonzale@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: dolfin | -------------------------+-------------------- Changes (by sean@…): * status: new => closed * resolution: => fixed Comment: `dolfin` was updated to 1.6.0 in r140111 so that hopefully fixes this issue. -- Ticket URL: <https://trac.macports.org/ticket/48072#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts