Hi Michael,

It is really problem in python:

[EMAIL PROTECTED]:~] # python
Python 2.4.3 (#2, Nov  8 2006, 23:56:15)
[GCC 3.4.6 [FreeBSD] 20060305] on freebsd6
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.4/socket.py", line 45, in ?
    import _socket
ImportError: /usr/local/lib/python2.4/lib-dynload/_socket.so: Undefined 
symbol "__h_errno"
>>>
[EMAIL PROTECTED]:~] #

I will go to reinstall python.

Thanks in advance.


-- 
Welkson Renny de Medeiros
Focus Automação Comercial
Desenvolvimento / Gerência de Redes
[EMAIL PROTECTED]



----- Original Message ----- 
From: "Michael Ekstrand" <[EMAIL PROTECTED]>
To: <trac-users@googlegroups.com>
Cc: "Welkson Renny de Medeiros" <[EMAIL PROTECTED]>
Sent: Friday, February 16, 2007 11:05 AM
Subject: [Trac] Re: FreeBSD + Trac (python error)


>
> On Thu, 2007-02-15 at 18:27 -0300, Welkson Renny de Medeiros wrote:
>> [EMAIL PROTECTED]:~] # trac-admin
>> Traceback (most recent call last):
>>   File "/usr/local/bin/trac-admin", line 21, in ?
>>     from trac.scripts.admin import run
>>   File "/usr/local/lib/python2.4/site-packages/trac/scripts/admin.py", 
>> line
>> 23, in ?
>>     import urllib
>>   File "/usr/local/lib/python2.4/urllib.py", line 26, in ?
>>     import socket
>>   File "/usr/local/lib/python2.4/socket.py", line 45, in ?
>>     import _socket
>> ImportError: /usr/local/lib/python2.4/lib-dynload/_socket.so: Undefined
>> symbol "__h_errno"
>
> Step 1 I'd try: isolate the problem.  Try this:
>
> [EMAIL PROTECTED]:~] # python
>>>> import socket
>>>> ^D
>
> If the 'import socket' line fails as trac-admin did, then the problem
> definitely lies in your Python installation (I think this will be the
> case).
>
> With this information in hand, you should go to FreeBSD's support and
> bug reporting channels to attempt to get it resolved.  There is a
> freebsd-python mailing list, as well as a freebsd-ports mailing list.  A
> brief Web search for some keywords from your error indicated that this
> kind of problem is not unknown on FreeBSD, so someone on their mailing
> lists can likely help you.
>
> If the above commands do work, then trac-admin is doing strange things
> that break Python's extension modules.  I don't know how this would
> happen, or why, and doubt that it is the case, but if it is, maybe
> someone else can provide some insight...
>
> - Michael
>
> -- 
> Michael Ekstrand
> Research Assistant, Scalable Computing Laboratory
> Goanna, compute cluster and InfiniBand network monitor tool:
>        http://www.scl.ameslab.gov/Projects/Monitor/
>
>
> >
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to