Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime Error On Windows 10 #2

Open
Enter-tainer opened this issue Dec 15, 2017 · 3 comments
Open

Runtime Error On Windows 10 #2

Enter-tainer opened this issue Dec 15, 2017 · 3 comments
Labels

Comments

@Enter-tainer
Copy link
Contributor

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)
@rqy2002
Copy link
Owner

rqy2002 commented Dec 15, 2017

Emmmm...
Firstly I just want it to run on Linux, and it seems not to support Windows(Sorry that I didn't write this in README).
Secondly, it looks like psutil has an error, not rlj.
Since I don't have an Windows to test, the issue may be open for a long time.

@rqy2002
Copy link
Owner

rqy2002 commented Jan 12, 2018

I don't have a WIN10 machine.
Does it works well now?
If does, I will close the issue.

@Enter-tainer
Copy link
Contributor Author

It sometimes works. I mean, it's still buggy. So pls keep this issue open.

rqy2002 pushed a commit that referenced this issue Feb 7, 2018
Merge pull request #5 from Enter-tainer/master
@rqy2002 rqy2002 added the bug label Apr 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants