Skip to content


Subversion checkout URL

You can clone with
Download ZIP


repl_transfer_current Sometimes OSError #329

taichunmin opened this Issue · 0 comments

1 participant

command: repl_transfer_current {"scope": "file"}
Traceback (most recent call last):
  File "D:\Dropbox\Portable\Sublime Text 3\", line 543, in run_
    return, **args)
  File "D:\Dropbox\Portable\Sublime Text 3\Data\Packages\SublimeREPL\", line 123, in run
    for rv in manager.find_repl(external_id):
  File "D:\Dropbox\Portable\Sublime Text 3\Data\Packages\SublimeREPL\", 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\", line 185, in is_alive
    return self.popen.poll() is None
  File "X/", line 916, in poll
  File "X/", 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.