Hello everyone,
I came across a problem when updating the port devel/py-setuptools , and then found out that the problem appears elsewhere. I tried searching but couldn't find anything that would help me... I have basic FreeBSD knowledge only. So, here goes.
When I install py-setuptools, I get
Then, when I use hp-scan from print/hplip3 to scan something, I get
If I go to python and try to manually import SSLError, I get
Here is also my system information from uname -a
Can anybody help me? Thanks!
Bernardo
I came across a problem when updating the port devel/py-setuptools , and then found out that the problem appears elsewhere. I tried searching but couldn't find anything that would help me... I have basic FreeBSD knowledge only. So, here goes.
When I install py-setuptools, I get
Code:
===> Extracting for py26-setuptools-0.6c11
=> MD5 Checksum OK for python/setuptools-0.6c11.tar.gz.
=> SHA256 Checksum OK for python/setuptools-0.6c11.tar.gz.
===> Patching for py26-setuptools-0.6c11
===> py26-setuptools-0.6c11 depends on file: /usr/local/bin/python2.6 - found
===> Configuring for py26-setuptools-0.6c11
running config
===> Building for py26-setuptools-0.6c11
running build
running build_py
creating build
creating build/lib
copying pkg_resources.py -> build/lib
copying easy_install.py -> build/lib
copying site.py -> build/lib
creating build/lib/setuptools
copying setuptools/extension.py -> build/lib/setuptools
copying setuptools/sandbox.py -> build/lib/setuptools
copying setuptools/depends.py -> build/lib/setuptools
copying setuptools/__init__.py -> build/lib/setuptools
copying setuptools/archive_util.py -> build/lib/setuptools
copying setuptools/dist.py -> build/lib/setuptools
copying setuptools/package_index.py -> build/lib/setuptools
creating build/lib/setuptools/tests
copying setuptools/tests/test_resources.py -> build/lib/setuptools/tests
copying setuptools/tests/__init__.py -> build/lib/setuptools/tests
copying setuptools/tests/test_packageindex.py -> build/lib/setuptools/tests
copying setuptools/tests/doctest.py -> build/lib/setuptools/tests
creating build/lib/setuptools/command
copying setuptools/command/build_ext.py -> build/lib/setuptools/command
copying setuptools/command/upload.py -> build/lib/setuptools/command
copying setuptools/command/bdist_wininst.py -> build/lib/setuptools/command
copying setuptools/command/egg_info.py -> build/lib/setuptools/command
copying setuptools/command/__init__.py -> build/lib/setuptools/command
copying setuptools/command/setopt.py -> build/lib/setuptools/command
copying setuptools/command/install_egg_info.py -> build/lib/setuptools/command
copying setuptools/command/bdist_egg.py -> build/lib/setuptools/command
copying setuptools/command/install.py -> build/lib/setuptools/command
copying setuptools/command/bdist_rpm.py -> build/lib/setuptools/command
copying setuptools/command/install_lib.py -> build/lib/setuptools/command
copying setuptools/command/saveopts.py -> build/lib/setuptools/command
copying setuptools/command/develop.py -> build/lib/setuptools/command
copying setuptools/command/easy_install.py -> build/lib/setuptools/command
copying setuptools/command/build_py.py -> build/lib/setuptools/command
copying setuptools/command/install_scripts.py -> build/lib/setuptools/command
copying setuptools/command/sdist.py -> build/lib/setuptools/command
copying setuptools/command/rotate.py -> build/lib/setuptools/command
copying setuptools/command/alias.py -> build/lib/setuptools/command
copying setuptools/command/register.py -> build/lib/setuptools/command
copying setuptools/command/test.py -> build/lib/setuptools/command
copying setuptools/cli.exe -> build/lib/setuptools
copying setuptools/gui.exe -> build/lib/setuptools
===> Installing for py26-setuptools-0.6c11
===> py26-setuptools-0.6c11 depends on file: /usr/local/bin/python2.6 - found
===> Generating temporary packing list
===> Checking if devel/py-setuptools already installed
running install
sem_init: No space left on device
Traceback (most recent call last):
File "setup.py", line 94, in <module>
scripts = scripts,
File "/usr/local/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/local/lib/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/usr/ports/devel/py-setuptools/work/setuptools-0.6c11/setuptools/command/install.py", line 76, in run
self.do_egg_install()
File "/usr/ports/devel/py-setuptools/work/setuptools-0.6c11/setuptools/command/install.py", line 85, in do_egg_install
easy_install = self.distribution.get_command_class('easy_install')
File "/usr/ports/devel/py-setuptools/work/setuptools-0.6c11/setuptools/dist.py", line 395, in get_command_class
self.cmdclass[command] = cmdclass = ep.load()
File "/usr/ports/devel/py-setuptools/work/setuptools-0.6c11/pkg_resources.py", line 1954, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/ports/devel/py-setuptools/work/setuptools-0.6c11/setuptools/command/easy_install.py", line 21, in <module>
from setuptools.package_index import PackageIndex, parse_bdist_wininst
File "/usr/ports/devel/py-setuptools/work/setuptools-0.6c11/setuptools/package_index.py", line 2, in <module>
import sys, os.path, re, urlparse, urllib2, shutil, random, socket, cStringIO
File "/usr/local/lib/python2.6/urllib2.py", line 94, in <module>
import httplib
File "/usr/local/lib/python2.6/httplib.py", line 70, in <module>
import socket
File "/usr/local/lib/python2.6/socket.py", line 64, in <module>
from _ssl import SSLError as sslerror
ImportError: cannot import name SSLError
*** Error code 1
Stop in /usr/ports/devel/py-setuptools.
Then, when I use hp-scan from print/hplip3 to scan something, I get
Code:
sem_init: No space left on device
Traceback (most recent call last):
File "/usr/local/bin/hp-scan", line 37, in <module>
import socket
File "/usr/local/lib/python2.6/socket.py", line 64, in <module>
from _ssl import SSLError as sslerror
ImportError: cannot import name SSLError
If I go to python and try to manually import SSLError, I get
Code:
Python 2.6.5 (r265:79063, May 15 2010, 19:22:30)
[GCC 4.2.1 20070719 [FreeBSD]] on freebsd8
Type "help", "copyright", "credits" or "license" for more information.
>>> from _ssl import SSLError as sslerror
sem_init: No space left on device
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name SSLError
Here is also my system information from uname -a
Code:
FreeBSD FPserver.WORKGROUP 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #2: Tue Jan 26 06:10:27 WET 2010 root@FPserver.WORKGROUP:/usr/obj/usr/src/sys/NOULPTKERNEL i386
Can anybody help me? Thanks!
Bernardo