Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

repl_transfer_current Sometimes OSError #329

Open
taichunmin opened this Issue · 0 comments

1 participant

@taichunmin
command: repl_transfer_current {"scope": "file"}
Traceback (most recent call last):
  File "D:\Dropbox\Portable\Sublime Text 3\sublime_plugin.py", line 543, in run_
    return self.run(edit, **args)
  File "D:\Dropbox\Portable\Sublime Text 3\Data\Packages\SublimeREPL\text_transfer.py", line 123, in run
    for rv in manager.find_repl(external_id):
  File "D:\Dropbox\Portable\Sublime Text 3\Data\Packages\SublimeREPL\sublimerepl.py", line 437, in find_repl
    if not (rv.repl and rv.repl.is_alive()):
  File "D:\Dropbox\Portable\Sublime Text 3\Data\Packages\SublimeREPL\repls\subprocess_repl.py", line 185, in is_alive
    return self.popen.poll() is None
  File "X/subprocess.py", line 916, in poll
  File "X/subprocess.py", line 1131, in _internal_poll
OSError: [WinError 6] 控制代碼無效。

The first line is logged by enter sublime.log_commands(True) in console.
After I Press Ctrl + , + F, the sublime text 3 will show this OSError.
Can anybody help me?

My OS is Windows 7, Tradition Chinese.
My Sublime is Sublime Text 3 Portable.
My Code is as follows:

from sys import stdin
arr1 = dict()

def count_5(ia):
    ib = ia//5
    if ib == 0:
        return 0
    if ib not in arr1.keys():
        arr1[ib] = ib + count_5(ib)
    return arr1[ib]

for t1 in range(int(stdin.readline())):
    print( count_5(int(stdin.readline())) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.