SQL logic error during activation

Joshua Root jmr at macports.org
Fri Apr 6 21:20:25 PDT 2012


On 2012-4-7 14:01 , Blair Zajac wrote:
> On 4/5/12 12:36 AM, Joshua Root wrote:
>> On 2012-4-5 17:26 , Blair Zajac wrote:
>>> Running
>>>
>>> $ sudo port -f -v uninstall python32
>>> $ sudo port -v install python32
>>>
>>> fails on the activation part:
>>>
>>> x ./Applications/MacPorts/Python
>>> 3.2/IDLE.app/Contents/Resources/PythonCompiled.icns
>>> x ./Applications/MacPorts/Python
>>> 3.2/IDLE.app/Contents/Resources/PythonSource.icns
>>> x ./Applications/MacPorts/Python 3.2/IDLE.app/Contents/MacOS/IDLE
>>> x ./Applications/MacPorts/Python 3.2/IDLE.app/Contents/MacOS/Python
>>> Error: Target org.macports.activate returned: sqlite error: SQL logic
>>> error or missing database (1) while executing query: UPDATE
>>> registry.files SET actual_path=?, active=1 WHERE path=? AND id=?
>>> Warning: the following items did not execute (for python32):
>>> org.macports.activate
>>> Log for python32 is at:
>>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python32/python32/main.log
>>>
>>>
>>> Error: Status 1 encountered during processing.
>>> To report a bug, see<http://guide.macports.org/#project.tickets>
>>>
>>> I can reproduce the same issue with the python24 port, but not any of
>>> the other Python ports.
>>>
>>> This is on a Lion system with the latest XCode.
>>>
>>> Any ideas?  Any commands to run?
>>
>> Is this with 2.0.4?
> 
> Yes.

Inspecting the rows pertaining to python32 in the ports and files tables
would probably be the place to start.

- Josh


More information about the macports-dev mailing list