Code Monkey home page Code Monkey logo

piio.ws's Issues

NameError: name 'file' is not defined

Tested by Python3.3 and Twisted 14.0

C:\tmp_dj\PiIO.WS-master>python server.py
Traceback (most recent call last):
File "", line 560, in module_for_loader_wrapper
File "", line 868, in _load_module
File "", line 313, in _call_with_frames_removed
File "C:\Program Files (x86)\Python33\lib\site-packages\twisted-14.0.0-py3.3.e
gg\twisted\internet\reactor.py", line 38, in
from twisted.internet import default
File "C:\Program Files (x86)\Python33\lib\site-packages\twisted-14.0.0-py3.3.e
gg\twisted\internet\default.py", line 56, in
install = _getInstallFunction(platform)
File "C:\Program Files (x86)\Python33\lib\site-packages\twisted-14.0.0-py3.3.e
gg\twisted\internet\default.py", line 50, in _getInstallFunction
from twisted.internet.selectreactor import install
File "C:\Program Files (x86)\Python33\lib\site-packages\twisted-14.0.0-py3.3.e
gg\twisted\internet\selectreactor.py", line 18, in
from twisted.internet import posixbase
File "C:\Program Files (x86)\Python33\lib\site-packages\twisted-14.0.0-py3.3.e
gg\twisted\internet\posixbase.py", line 24, in
from twisted.internet import error, udp, tcp
File "C:\Program Files (x86)\Python33\lib\site-packages\twisted-14.0.0-py3.3.e
gg\twisted\internet\udp.py", line 51, in
from twisted.internet import base, defer, address
File "C:\Program Files (x86)\Python33\lib\site-packages\twisted-14.0.0-py3.3.e
gg\twisted\internet\base.py", line 23, in
from twisted.internet import fdesc, main, error, abstract, defer, threads
File "C:\Program Files (x86)\Python33\lib\site-packages\twisted-14.0.0-py3.3.e
gg\twisted\internet\defer.py", line 29, in
from twisted.python import lockfile, log, failure
File "C:\Program Files (x86)\Python33\lib\site-packages\twisted-14.0.0-py3.3.e
gg\twisted\python\lockfile.py", line 52, in
_open = file
NameError: name 'file' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "server.py", line 1, in
from twisted.internet import reactor, ssl
File "", line 1565, in _find_and_load
File "", line 1532, in _find_and_load_unlocked
File "", line 584, in _check_name_wrapper
File "", line 1022, in load_module
File "", line 1003, in load_module
File "", line 563, in module_for_loader_wrapper
KeyError: 'twisted.internet.reactor'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.