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

Error #21

Open
olegsidokhmetov opened this issue Feb 24, 2024 · 1 comment
Open

Error #21

olegsidokhmetov opened this issue Feb 24, 2024 · 1 comment

Comments

@olegsidokhmetov
Copy link

olegsidokhmetov commented Feb 24, 2024

Nox - 1280*720

[{
"resource": "/c:/Users/IAM/Downloads/OSROKBOT-master/Classes/UI.py",
"owner": "cSpell",
"severity": 2,
"message": ""ROKBOT": Unknown word.",
"source": "cSpell",
"startLineNumber": 5,
"startColumn": 9,
"endLineNumber": 5,
"endColumn": 15
},{
"resource": "/c:/Users/IAM/Downloads/OSROKBOT-master/Classes/UI.py",
"owner": "cSpell",
"severity": 2,
"message": ""OSROKBOT": Unknown word.",
"source": "cSpell",
"startLineNumber": 5,
"startColumn": 23,
"endLineNumber": 5,
"endColumn": 31
},{
"resource": "/c:/Users/IAM/Downloads/OSROKBOT-master/Classes/UI.py",
"owner": "cSpell",
"severity": 2,
"message": ""pygetwindow": Unknown word.",
"source": "cSpell",
"startLineNumber": 6,
"startColumn": 8,
"endLineNumber": 6,
"endColumn": 19
},{
"resource": "/c:/Users/IAM/Downloads/OSROKBOT-master/Classes/UI.py",
"owner": "cSpell",
"severity": 2,
"message": ""ROKBOT": Unknown word.",
"source": "cSpell",
"startLineNumber": 17,
"startColumn": 17,
"endLineNumber": 17,
"endColumn": 23
},{
"resource": "/c:/Users/IAM/Downloads/OSROKBOT-master/Classes/UI.py",
"owner": "cSpell",
"severity": 2,
"message": ""OSROKBOT": Unknown word.",
"source": "cSpell",
"startLineNumber": 17,
"startColumn": 26,
"endLineNumber": 17,
"endColumn": 34
},{
"resource": "/c:/Users/IAM/Downloads/OSROKBOT-master/Classes/UI.py",
"owner": "cSpell",
"severity": 2,
"message": ""ROKBOT": Unknown word.",
"source": "cSpell",
"startLineNumber": 18,
"startColumn": 17,
"endLineNumber": 18,
"endColumn": 23
},{
"resource": "/c:/Users/IAM/Downloads/OSROKBOT-master/Classes/UI.py",
"owner": "cSpell",
"severity": 2,
"message": ""ROKBOT": Unknown word.",
"source": "cSpell",
"startLineNumber": 19,
"startColumn": 42,
"endLineNumber": 19,
"endColumn": 48
},{
"resource": "/c:/Users/IAM/Downloads/OSROKBOT-master/Classes/UI.py",
"owner": "cSpell",
"severity": 2,
"message": ""ROKBOT": Unknown word.",
"source": "cSpell",
"startLineNumber": 19,
"startColumn": 57,
"endLineNumber": 19,
"endColumn": 63
},{
"resource": "/c:/Users/IAM/Downloads/OSROKBOT-master/Classes/UI.py",
"owner": "cSpell",
"severity": 2,
"message": ""OSROKBOT": Unknown word.",
"source": "cSpell",
"startLineNumber": 93,
"startColumn": 46,
"endLineNumber": 93,
"endColumn": 54
},{
"resource": "/c:/Users/IAM/Downloads/OSROKBOT-master/Classes/UI.py",
"owner": "cSpell",
"severity": 2,
"message": ""Frameless": Unknown word.",
"source": "cSpell",
"startLineNumber": 251,
"startColumn": 39,
"endLineNumber": 251,
"endColumn": 48
},{
"resource": "/c:/Users/IAM/Downloads/OSROKBOT-master/Classes/UI.py",
"owner": "cSpell",
"severity": 2,
"message": ""OSROKBOT": Unknown word.",
"source": "cSpell",
"startLineNumber": 252,
"startColumn": 30,
"endLineNumber": 252,
"endColumn": 38
},{
"resource": "/c:/Users/IAM/Downloads/OSROKBOT-master/Classes/UI.py",
"owner": "cSpell",
"severity": 2,
"message": ""backgourd": Unknown word.",
"source": "cSpell",
"startLineNumber": 261,
"startColumn": 22,
"endLineNumber": 261,
"endColumn": 31
},{
"resource": "/c:/Users/IAM/Downloads/OSROKBOT-master/Classes/UI.py",
"owner": "cSpell",
"severity": 2,
"message": ""OSROKBOT": Unknown word.",
"source": "cSpell",
"startLineNumber": 268,
"startColumn": 42,
"endLineNumber": 268,
"endColumn": 50
}]

Your UI Instance
No window found with title: Rise of Kingdoms
Exception in thread Thread-2 (run_single_machine):
Traceback (most recent call last):
File "C:\Users\IAM\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1052, in _bootstrap_inner
self.run()
File "C:\Users\IAM\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 989, in run
self._target(*self._args, **self._kwargs)
File "c:\Users\IAM\Downloads\OSROKBOT-master\Classes\OS_ROKBOT.py", line 29, in run_single_machine
if machine.execute():
^^^^^^^^^^^^^^^^^
File "c:\Users\IAM\Downloads\OSROKBOT-master\Classes\state_machine.py", line 20, in execute
result = state.perform()
^^^^^^^^^^^^^^^
File "c:\Users\IAM\Downloads\OSROKBOT-master\Classes\Actions\action.py", line 38, in perform
result = self.execute()
^^^^^^^^^^^^^^
File "c:\Users\IAM\Downloads\OSROKBOT-master\Classes\Actions\screenshot_action.py", line 23, in execute
width, height = screenshot.size
^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'size'
No window found with title: Rise of Kingdoms
Exception in thread Thread-5 (run_single_machine):
Traceback (most recent call last):
File "C:\Users\IAM\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1052, in _bootstrap_inner
self.run()
File "C:\Users\IAM\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 989, in run
self._target(*self._args, **self._kwargs)
File "c:\Users\IAM\Downloads\OSROKBOT-master\Classes\OS_ROKBOT.py", line 29, in run_single_machine
if machine.execute():
^^^^^^^^^^^^^^^^^
File "c:\Users\IAM\Downloads\OSROKBOT-master\Classes\state_machine.py", line 20, in execute
result = state.perform()
^^^^^^^^^^^^^^^
File "c:\Users\IAM\Downloads\OSROKBOT-master\Classes\Actions\action.py", line 38, in perform
result = self.execute()
^^^^^^^^^^^^^^
File "c:\Users\IAM\Downloads\OSROKBOT-master\Classes\Actions\screenshot_action.py", line 23, in execute
width, height = screenshot.size

@Smokez01
Copy link

Is there a question?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants