eoakley / artifacthelper

Helps you pick cards in draft mode on Valve's Artifact game. Made with Python.
GNU General Public License v3.0
39 stars 9 forks source link

Can't launch the program on my computer #25

Closed cp287-zz closed 5 years ago

cp287-zz commented 5 years ago

When I'm trying to run program nothing happenes.

At log file: Traceback (most recent call last): File "E:\Users\Gamer\AppData\Local\Artifact Helper\Artifact_Helper.launch.pyw", line 31, in from artifact_helper import main File "E:\Users\Gamer\AppData\Local\Artifact Helper\pkgs\artifact_helper.py", line 7 <!DOCTYPE html> ^ SyntaxError: invalid syntax

My system: windows 7, two monitors, resolutions: 1920x1080 and 1600x1200. Artifact on first one with resolution 1440x960 16:10 borderless.

eoakley commented 5 years ago

Try running it manually. Run this on Windows PowerShell:

cd "E:\Users\Gamer\AppData\Local\Artifact Helper\Python"
E:
.\python.exe ..\Artifact_Helper.launch.pyw
cp287-zz commented 5 years ago

It doesn't work. Same error at log: (now with real messages in angle-brackets) Traceback (most recent call last): File "E:\Users\Gamer\AppData\Local\Artifact Helper\Artifact_Helper.launch.pyw", line 31, in < module > from artifact_helper import main File "E:\Users\Gamer\AppData\Local\Artifact Helper\pkgs\artifact_helper.py", line 7 < !DOCTYPE html > ^ SyntaxError: invalid syntax

Miojo commented 5 years ago

Python files shouldn't have "< !DOCTYPE html >" on them. Please verify the integrity of your file ( "E:\Users\Gamer\AppData\Local\Artifact Helper\pkgs\artifact_helper.py" ) comparing it with artifact_helper.py

cp287-zz commented 5 years ago

Sorry, it was my fault with downloading. I fix it but mostly nothing changed: log file:

Traceback (most recent call last): File "E:\Users\Gamer\AppData\Local\Artifact Helper\Artifact_Helper.launch.pyw", line 31, in < module > from artifact_helper import main File "E:\Users\Gamer\AppData\Local\Artifact Helper\pkgs\artifact_helper.py", line 127, in < module > tiers = fix_dict(read_tier_text(urlopen('https://raw.githubusercontent.com/eoakley/artifactscraping/master/tier_list.txt').read(), raw=True)) TypeError: read_tier_text() got an unexpected keyword argument 'raw'

Miojo commented 5 years ago

You also need to update the tier_list_scrape.py file to the last version. The raw argument was added in a recent commit.

cp287-zz commented 5 years ago

ok, on a second monitor it find the cards, thanks