mazurwiktor / albion-online-stats

Albion online stats is an extension to MMORPG game - Albion Online. It tracks network traffic and displays various statistics, such as damage and DPS meter calculated from in-game actions.
Apache License 2.0
195 stars 63 forks source link

[BUG] Unable to run on Arch Linux #69

Closed sTiKyt closed 3 years ago

sTiKyt commented 3 years ago

Describe the bug When i'm trying to execute application i get error.

Log file damage-meter.log was not created.

To Reproduce Steps to reproduce the behavior:

  1. Go to latest Arch Linux
  2. Download latest release from github
  3. chmod +x application
  4. try to run it and see an error

Expected behavior I expected it to work...

Screenshots image

Desktop (please complete the following information):

Additional Context Are you sure you need to create installer for linux version? I'd suggest shipping app unpacked with some requirements.txt instead so users could make it run on their own systems in their own ways.

arkadybabaev commented 3 years ago

Got it also.

According to what I have found, it relates to fact that Ubuntu-18 and below is still using python2 by default. Setuptools, which is used by current project, is not supporting python2, starting from version 45.*. So Ubuntu-18 and below has setuptools version<45. And 'pkg_resources.py2_warn' -- is a resource which was added in setuptools 45. And is indirectly used in current tool.

Yet don't know how to resolve it

sTiKyt commented 3 years ago

Got it also.

According to what I have found, it relates to fact that Ubuntu-18 and below is still using python2 by default. Setuptools, which is used by current project, is not supporting python2, starting from version 45.*. So Ubuntu-18 and below has setuptools version<45. And 'pkg_resources.py2_warn' -- is a resource which was added in setuptools 45. And is indirectly used in current tool.

Yet don't know how to resolve it

Issue is, i don't use any ubuntu, i use arch, with completely different way of managing package... It doesn't use apt

arkadybabaev commented 3 years ago

@sTiKyt of course, I was describing reason, not OS details: Reason, AFAIK, is that PyInstaller has hidden dependency on pkg_resources of setuptools, and setuptools of version <45 don't have it.

As far as I got, its not about package managing, its about code dependencies of packages.

sTiKyt commented 3 years ago

@sTiKyt of course, I was describing reason, not OS details: Reason, AFAIK, is that PyInstaller has hidden dependency on pkg_resources of setuptools, and setuptools of version <45 don't have it.

As far as I got, its not about package managing, its about code dependencies of packages.

But Arch DOESN'T use python 2 by default, Arch has rolling releases meaning it always uses latest stable versions of software.

mazurwiktor commented 3 years ago

Should be fixed in Should be fixed in https://github.com/mazurwiktor/albion-online-stats/tree/1.0.4 since from now on the app is stored as a normal python package

See: https://pypi.org/project/aostats/