前言
柠檬怎么可能没有404呢…据说柠檬很坚强,但是也有脆弱的一面……
解决了,报错的那段代码替换成 for _ in range(2): self.connection=Popen(f"autossh -R 80:localhost:{self.port} {self.id}@ssh.localhost.run -o StrictHostKeyChecking=no -o ServerAliveInterval={self.interval} -o ServerAliveCountMax={self.retries}".split(), stdout=PIPE, stdin=PIPE, stderr=PIPE) #print("ssh -R 80:localhost:{self.port} {self.id}@ssh.localhost.run -o StrictHostKeyChecking=no -o ServerAliveInterval={self.interval} -o ServerAliveCountMax={self.retries}") try: newAddr = re.findall("http://(.*?.localhost.run)", self.connection.stdout.readline().decode("utf-8"))[0] localhostOpenDB[str(self.port)] = newAddr accessSettingFile("localhostDB.json" , localhostOpenDB, v=False) return newAddr except: outs, errs = self.connection.communicate(timeout=15) self.connection.kill() # print(outs) # print(errs) if re.search(r"Permission\sdenied\s\(publickey\)", errs.decode("utf-8")): os.system("ssh-keygen -q -t rsa -N '' -f ~/.ssh/id_rsa") continue raise Exception(errs.decode("utf-8")) break
利用Google colab+google drive教育盘搭建的simple TorrentIndexError Traceback (most recent call last) /root/.ipython/ttmg.py in keep_alive(self) 461 try: --> 462 newAddr = re.findall("http://(.*?.localhost.run)",self.connection.stdout.readline().decode("utf-8"))[0] 463 localhostOpenDB[str(self.port)] = newAddr IndexError: list index out of range During handling of the above exception, another exception occurred: Exception Traceback (most recent call last) 报错了,求解决办法
利用Google colab+google drive教育盘搭建的simple Torrentrclone会报错 ImportError: cannot import name 'checkAvailable' 这怎么解决呢
利用Google colab+google drive教育盘搭建的simple Torrent我找到原因了 是因为原作者的库删除了 然后要一个update.xml文件但是获取这个文件的地址还是原作者的库地址所以报了404错误。解决方法是在helloW3c的库下把ttmg.py下载上传到自己的库修改第407行把原作者换成helloW3c然后在Google colab中修改获取ttmg.py的地址 改为自己的库。
利用Google colab+google drive教育盘搭建的simple TorrentSimple Torrent执行的时候报错: HTTPError: HTTP Error 404: Not Found
利用Google colab+google drive教育盘搭建的simple Torrent我改用QB跑到了30M/S,原来用libtorrent只有10M/S,应该是trackerlist起作用了。就是每次都要挂载有点麻烦,有解决办法吗?
利用Google colab+google drive教育盘搭建的simple Torrent柠檬怎么可能没有404呢…据说柠檬很坚强,但是也有脆弱的一面……
好看哈哈哈哈哈哈哈
谢谢大佬到访