Hi,

I was able to resolve this, it was an issue with PCBSD(freebsd 9) it self
the python 2.7 port was broken, and that caused py-sqlite3 to fail on
install. I updated the ports and installed py-sqlite3 everything is working
as expected now.

On Sat, Jan 14, 2012 at 10:50 PM, Bruno Rocha <[email protected]> wrote:

> Judging from your error message and our exchange in the comments, I think
> the big problem is you might just be missing sqlite3 support for python.
>
> From your error messages I take it you're running FreeBSD, so you should
> install the databases/py-sqlite3 package from ports.
>
> I don't know much about FreeBSD's ports system, but after you install the
> py-sqlite3 package, your problem should hopefully be cleared up.
>
> I'm going to assume, from brief reading, you do something like this,
> assuming you have the ports tree on your system:
>
>> cd /usr/ports/databases/py-sqlite3
>> make && make install
>>
>
>
>
> --
>
> http://stackoverflow.com/questions/7973660/python-sqlite3-error-in-freebsd-9
>
>
>
> On Sun, Jan 15, 2012 at 4:40 AM, Bruce Wade <[email protected]> wrote:
>
>> ** Now I am running python 2.7 **
>>
>>
>> On Sat, Jan 14, 2012 at 10:40 PM, Bruce Wade <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> Fresh install of pcbsd 9, just downloaded web2py source version, when
>>> running python web2py:
>>>
>>> please visit:
>>>         http://127.0.0.1:8000
>>> use "kill -SIGTERM 21799" to shutdown the web2py server
>>> DEBUG: connect attempt 0, connection error:
>>> Traceback (most recent call last):
>>>   File "/usr/home/detectedstealth/Downloads/web2py/gluon/dal.py", line
>>> 4736, in __init__
>>>     self._adapter = ADAPTERS[self._dbname](*args)
>>>   File "/usr/home/detectedstealth/Downloads/web2py/gluon/dal.py", line
>>> 1634, in __init__
>>>     raise RuntimeError, "Unable to import driver"
>>> RuntimeError: Unable to import driver
>>> DEBUG: connect attempt 1, connection error:
>>> Traceback (most recent call last):
>>>   File "/usr/home/detectedstealth/Downloads/web2py/gluon/dal.py", line
>>> 4736, in __init__
>>>     self._adapter = ADAPTERS[self._dbname](*args)
>>>   File "/usr/home/detectedstealth/Downloads/web2py/gluon/dal.py", line
>>> 1634, in __init__
>>>     raise RuntimeError, "Unable to import driver"
>>> RuntimeError: Unable to import driver
>>> DEBUG: connect attempt 2, connection error:
>>> Traceback (most recent call last):
>>>   File "/usr/home/detectedstealth/Downloads/web2py/gluon/dal.py", line
>>> 4736, in __init__
>>>     self._adapter = ADAPTERS[self._dbname](*args)
>>>   File "/usr/home/detectedstealth/Downloads/web2py/gluon/dal.py", line
>>> 1634, in __init__
>>>     raise RuntimeError, "Unable to import driver"
>>> RuntimeError: Unable to import driver
>>> DEBUG: connect attempt 3, connection error:
>>> Traceback (most recent call last):
>>>   File "/usr/home/detectedstealth/Downloads/web2py/gluon/dal.py", line
>>> 4736, in __init__
>>>     self._adapter = ADAPTERS[self._dbname](*args)
>>>   File "/usr/home/detectedstealth/Downloads/web2py/gluon/dal.py", line
>>> 1634, in __init__
>>>     raise RuntimeError, "Unable to import driver"
>>> RuntimeError: Unable to import driver
>>>
>>>
>>> DEBUG: connect attempt 4, connection error:
>>>
>>>
>>> Traceback (most recent call last):
>>>   File "/usr/home/detectedstealth/Downloads/web2py/gluon/dal.py", line
>>> 4736, in __init__
>>>     self._adapter = ADAPTERS[self._dbname](*args)
>>>   File "/usr/home/detectedstealth/Downloads/web2py/gluon/dal.py", line
>>> 1634, in __init__
>>>     raise RuntimeError, "Unable to import driver"
>>> RuntimeError: Unable to import driver
>>>
>>> Not I am running python 2.7 and the default database is sqlite.
>>> --
>>> --
>>> Regards,
>>> Bruce Wade
>>> http://ca.linkedin.com/in/brucelwade
>>> http://www.wadecybertech.com
>>> http://www.warplydesigned.com
>>> http://www.fitnessfriendsfinder.com
>>>
>>
>>
>>
>> --
>> --
>> Regards,
>> Bruce Wade
>> http://ca.linkedin.com/in/brucelwade
>> http://www.wadecybertech.com
>> http://www.warplydesigned.com
>> http://www.fitnessfriendsfinder.com
>>
>
>
>
> --
>
> Bruno Rocha
> [http://rochacbruno.com.br]
>
>


-- 
-- 
Regards,
Bruce Wade
http://ca.linkedin.com/in/brucelwade
http://www.wadecybertech.com
http://www.warplydesigned.com
http://www.fitnessfriendsfinder.com

Reply via email to