Skip to content

Runtime Error On Windows 10 #2

@Enter-tainer

Description

@Enter-tainer

When I am trying to run rlj on Windows 10, some errors occured.
Can anyone tell me why?
My python version is 3.6.3 and RLJ version is 1.0.8

Margatroid@Margatroid-MiPro MINGW64 ~/Desktop
$ rlj
==============================
正在编译...
编译成功,用时1.142秒
==============================
测试点  状态    内存    时间
==============================
Traceback (most recent call last):
  File "c:\users\margatroid\appdata\local\programs\python\python36-32\lib\site-packages\psutil\_pswindows.py", line 635, in wrapper
    return fun(self, *args, **kwargs)
  File "c:\users\margatroid\appdata\local\programs\python\python36-32\lib\site-packages\psutil\_pswindows.py", line 751, in memory_info
    t = self._get_raw_meminfo()
  File "c:\users\margatroid\appdata\local\programs\python\python36-32\lib\site-packages\psutil\_pswindows.py", line 726, in _get_raw_meminfo
    return cext.proc_memory_info(self.pid)
ProcessLookupError: [Errno 3] No such process

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Margatroid\AppData\Local\Programs\Python\Python36-32\Scripts\rlj-script.py", line 11, in <module>
    load_entry_point('rlj==1.0.8', 'console_scripts', 'rlj')()
  File "c:\users\margatroid\appdata\local\programs\python\python36-32\lib\site-packages\rlj\main.py", line 171, in main
    printResult(judger.judge(), is_silent)
  File "c:\users\margatroid\appdata\local\programs\python\python36-32\lib\site-packages\rlj\main.py", line 64, in printResult
    for tesk in result:
  File "c:\users\margatroid\appdata\local\programs\python\python36-32\lib\site-packages\rlj\judge.py", line 110, in judge
    yield (tesk, self._judge(tesk))
  File "c:\users\margatroid\appdata\local\programs\python\python36-32\lib\site-packages\rlj\judge.py", line 74, in _judge
    mem_info = ps.memory_info()
  File "c:\users\margatroid\appdata\local\programs\python\python36-32\lib\site-packages\psutil\_common.py", line 337, in wrapper
    return fun(self)
  File "c:\users\margatroid\appdata\local\programs\python\python36-32\lib\site-packages\psutil\__init__.py", line 1049, in memory_info
    return self._proc.memory_info()
  File "c:\users\margatroid\appdata\local\programs\python\python36-32\lib\site-packages\psutil\_pswindows.py", line 640, in wrapper
    raise NoSuchProcess(self.pid, self._name)
psutil._exceptions.NoSuchProcess: psutil.NoSuchProcess process no longer exists (pid=7772)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions