파이썬에서 새로운 기능으로, Python 응용 프로그램에 의존하는 레일 프로젝트를 실행해야합니다. 나는 MySQL과 파이썬을 사용하고 서버를 실행하려고하지만 오류가 발생하고있다 :오류 : MySQL_python : 스레드 간의 공유 연결을 지원하지 않습니다.
17:41:41 affiliates.1 | /home/jayashri/homebrew/izea-exchange-master/affiliates/plugins/antipool.py:477: UserWarning: Warning: Your DBAPI module '<module 'MySQLdb' from '/usr/local/lib/python2.7/dist-packages/MySQL_python-1.2.4b4-py2.7-linux-x86_64.egg/MySQLdb/__init__.pyc'>' does not support sharing connections between threads.
17:41:41 affiliates.1 | "connections between threads." % str(dbapi))
17:41:41 affiliates.1 | [15/Jan/2014:17:41:41] ENGINE Listening for SIGHUP.
17:41:41 affiliates.1 | [15/Jan/2014:17:41:41] ENGINE Listening for SIGTERM.
17:41:41 affiliates.1 | [15/Jan/2014:17:41:41] ENGINE Listening for SIGUSR1.
17:41:41 affiliates.1 | [15/Jan/2014:17:41:41] ENGINE Bus STARTING
17:41:41 affiliates.1 | [15/Jan/2014:17:41:41] ENGINE PID 22407 written to './affiliates_dev.pid'.
17:41:41 affiliates.1 | [15/Jan/2014:17:41:41] ENGINE Started monitor thread '_TimeoutMonitor'.
17:41:41 affiliates.1 | [15/Jan/2014:17:41:41] ENGINE Started monitor thread 'Autoreloader'.
17:41:42 lucre.1 | => Booting WEBrick
17:41:42 lucre.1 | => Rails 2.3.15 application starting
17:41:46 affiliates.1 | [15/Jan/2014:17:41:46] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x1470f50>>
17:41:46 affiliates.1 | Traceback (most recent call last):
17:41:46 affiliates.1 | File "/usr/local/lib/python2.7/dist-packages/CherryPy-3.1.2-py2.7.egg/cherrypy/process/wspbus.py", line 147, in publish
17:41:46 affiliates.1 | output.append(listener(*args, **kwargs))
17:41:46 affiliates.1 | File "/usr/local/lib/python2.7/dist-packages/CherryPy-3.1.2-py2.7.egg/cherrypy/_cpserver.py", line 90, in start
17:41:46 affiliates.1 | ServerAdapter.start(self)
17:41:46 affiliates.1 | File "/usr/local/lib/python2.7/dist-packages/CherryPy-3.1.2-py2.7.egg/cherrypy/process/servers.py", line 53, in start
17:41:46 affiliates.1 | wait_for_free_port(*self.bind_addr)
17:41:46 affiliates.1 | File "/usr/local/lib/python2.7/dist-packages/CherryPy-3.1.2-py2.7.egg/cherrypy/process/servers.py", line 251, in wait_for_free_port
17:41:46 affiliates.1 | raise IOError("Port %r not free on %r" % (port, host))
17:41:46 affiliates.1 | IOError: Port 7180 not free on '0.0.0.0'
17:41:46 affiliates.1 |
17:41:46 affiliates.1 | [15/Jan/2014:17:41:46] ENGINE Shutting down due to error in start listener:
17:41:46 affiliates.1 | Traceback (most recent call last):
17:41:46 affiliates.1 | File "/usr/local/lib/python2.7/dist-packages/CherryPy-3.1.2-py2.7.egg/cherrypy/process/wspbus.py", line 184, in start
지정한 오류는 경고가 아닙니다. 경고입니다. 그리고 실제 오류는'IOError : 포트 7180은 '0.0.0.0'에서 자유롭지 않습니다. 같은 주소에 여러 번 바인드하려고합니다. – twil