[Trac] Installing Trac on OS X 10.4 and SQLite
Jeffrey E. Forcier
jforcier at strozllc.com
Fri Jun 17 15:21:24 CDT 2005
I think I was mistaken when I said you needed pysqlite
2.0.3...pysqlite in general has really sh!tty naming conventions. All
I can give you right now (at work, kinda busy =)) is that in
DarwinPorts I got Trac working with 'pysqlite2 1.0.1', and the
following URL on pysqlite's site that may make sense if you read it
enough:
http://initd.org/tracker/pysqlite/wiki/PysqliteVersions
The end result, anyway, should be that you fire up the default Python
interpreter and do 'import sqlite' and can call 'sqlite.connect()'
without getting a "module sqlite has no attribute 'connect'" error
message. If you can do that, you're golden.
-Jeff
On Jun 17, 2005, at 4:08 PM, Bryan Dyck wrote:
> I have pysqlite installed (v2.03), and Tiger ships with SQLite
> v3.1.3, so I'm not sure that that's the problem... pysqlite also
> installed fine (or appeared to :).
>
> Bryan
>
>
> On Jun-17-05, at 12:58 PM, Jeffrey E. Forcier wrote:
>
>
>> Make sure you have the Python module 'py-sqlite' (or 'pysqlite'
>> depending) and that you have SQLite 2.x and py-sqlite 2.0.3
>> (pysqlite.org). Annoyingly, I can't help too much with manual
>> installs of either as I use DarwinPorts on my Mac; I'm fairly sure
>> you just need to unpack a tarball into /System/Frameworks/
>> Python.framework/Versions/2.4/lib/.../site-packages or similar.
>>
>> Good luck,
>> Jeff
>>
>> On Jun 17, 2005, at 3:45 PM, Bryan Dyck wrote:
>>
>>
>>
>>> I hope this hasn't been covered somewhere horribly obvious - if
>>> it has, my apologies in advance: I recently upgraded to Tiger,
>>> and have been going through the interminable process that is
>>> making a fresh OS install usable :) - but I have run into a bit
>>> of a snag with Trac.
>>>
>>> On my previous system, I had been running Apache2/Subversion/Trac
>>> as installed by fink, mostly due to laziness at the time.
>>> However, as nice as fink generally is, I decided this time around
>>> to ditch fink and build everything manually in order to have a
>>> bit more control over how things happen - many thanks to Mario
>>> Ruggier for his "TracOnOSxNoFink" wiki entry: OS X 10.4 has been
>>> different enough that it's helped avoid errors due to differences
>>> between it and 10.3.x. The build/install process has gone
>>> swimmingly until I tried to set up my Trac environment again, and
>>> I received the following error:
>>>
>>> Traceback (most recent call last):
>>> File "/usr/local/bin/trac-admin", line 30, in ?
>>> import sqlite
>>> ImportError: No module named sqlite
>>>
>>> Although Mario's wiki entry indicates to install SQLite, I wasn't
>>> sure if that would be necessary for OS X 10.4, as it ships with
>>> SQLite pre-installed so I skipped that part - apparently to my
>>> detriment. :) I poked around a bit and verified that yes, SQLite
>>> exists on my system, but it seems that 10.4's Python install is
>>> unaware of that fact (can you tell I'm not a Python hacker? ;).
>>> Is this correct, and if so, how do I correct it? Suggestions,
>>> hints or polite whacks with the Clue Stick would be appreciated.
>>>
>>> Thanks!
>>>
>>> Bryan
>>> _______________________________________________
>>> Trac mailing list
>>> Trac at lists.edgewall.com
>>> http://lists.edgewall.com/mailman/listinfo/trac
>>>
>>>
>>>
>>
>>
>> --
>> Jeffrey E. Forcier
>> Junior Developer, Research and Development
>> Stroz Friedberg, LLC
>> 15 Maiden Lane, 12th Floor
>> New York, NY 10038
>> [main]212-981-6540 [direct]212-981-6546
>> http://www.strozllc.com
>>
>> This message is for the named person's use only. It may contain
>> confidential, proprietary or legally privileged information. No
>> right to
>> confidential or privileged treatment of this message is waived or
>> lost
>> by any error in transmission. If you have received this message in
>> error, please immediately notify the sender by e-mail or by
>> telephone at
>> 212.981.6540, delete the message and all copies from your system and
>> destroy any hard copies. You must not, directly or indirectly, use,
>> disclose, distribute, print or copy any part of this message if
>> you are
>> not the intended recipient.
>>
>> _______________________________________________
>> Trac mailing list
>> Trac at lists.edgewall.com
>> http://lists.edgewall.com/mailman/listinfo/trac
>>
>>
>
> _______________________________________________
> Trac mailing list
> Trac at lists.edgewall.com
> http://lists.edgewall.com/mailman/listinfo/trac
>
--
Jeffrey E. Forcier
Junior Developer, Research and Development
Stroz Friedberg, LLC
15 Maiden Lane, 12th Floor
New York, NY 10038
[main]212-981-6540 [direct]212-981-6546
http://www.strozllc.com
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No right to
confidential or privileged treatment of this message is waived or lost
by any error in transmission. If you have received this message in
error, please immediately notify the sender by e-mail or by telephone at
212.981.6540, delete the message and all copies from your system and
destroy any hard copies. You must not, directly or indirectly, use,
disclose, distribute, print or copy any part of this message if you are
not the intended recipient.
More information about the Trac
mailing list