bakhyeonjae / Sherlock

Sherlock is a software analysis tool.
GNU Lesser General Public License v2.1
0 stars 0 forks source link

An error on windows 10 system, when initialised #1

Open bakhyeonjae opened 6 years ago

bakhyeonjae commented 6 years ago

(base) C:\Users\박현재\Desktop\Sherlock\Sherlock-master\src>python Sherlock.py -f trace.log -c ..\cfg\java-gradle\java-aspectj-custom.cfg QWindowsWindow::setGeometry: Unable to set geometry 6x14+4060+274 on QWidgetWindow/'MainViewClassWindow'. Resulting geometry: 166x14+4060+274 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 0x0, maximum size: 16777215x16777215). Could not parse stylesheet of object 0x1a8b2d5cf10 Traceback (most recent call last): File "Sherlock.py", line 189, in mainWindow = MainWindow(sys.argv) File "Sherlock.py", line 172, in init srcViewer = SourceViewer.SourceViewer() File "C:\Users\박현재\Desktop\Sherlock\Sherlock-master\src\SourceViewer.py", line 15, in init uname_str = (subprocess.check_output(['uname'])).decode("utf-8") File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 336, in check_output *kwargs).stdout File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 403, in run with Popen(popenargs, **kwargs) as process: File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 709, in init restore_signals, start_new_session) File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 997, in _execute_child startupinfo) FileNotFoundError: [WinError 2] 지정된 파일을 찾을 수 없습니다

bakhyeonjae commented 6 years ago

system_name = platform.system()

    if 'Win' in system_name:
        self.os_type = const.os_type_windows