Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

Reply
 
Thread Tools Display Modes
  #41  
Old 08-18-2023, 10:09 PM
Indefinite Indefinite is offline
Kobold

Indefinite's Avatar

Join Date: Apr 2014
Posts: 139
Default

If you install using a venv, you may need to activate it to start eqalert each time using
Code:
source .venv/bin/activate
Alternatively, if you plan to install docker you can build with compose
Code:
docker compose build
docker compose run eqalert
__________________
Reply With Quote
  #42  
Old 08-18-2023, 10:12 PM
Indefinite Indefinite is offline
Kobold

Indefinite's Avatar

Join Date: Apr 2014
Posts: 139
Default

Quote:
Originally Posted by Tann [You must be logged in to view images. Log in or Register.]
This worked, up to generating new spell-timers part at least.. Thank you
For some reason the spell timer generation takes a little while, usually about a minute for me. Did you get any errors?
__________________
Reply With Quote
  #43  
Old 08-18-2023, 10:26 PM
Tann Tann is offline
Planar Protector

Tann's Avatar

Join Date: Oct 2010
Posts: 1,032
Default

Quote:
Originally Posted by Indefinite [You must be logged in to view images. Log in or Register.]
For some reason the spell timer generation takes a little while, usually about a minute for me. Did you get any errors?
no errors but didn't see any spell timers running either, perhaps I'm used to gina and nparse, the dps tracking stuff works, zone info doesn't, maybe i need to zone first and not use /who
__________________
< Knights Who Say Ni >
Qeynos questing and leveling (all quests nerfed) | Off the beaten path 24-40.
Reply With Quote
  #44  
Old 08-18-2023, 10:32 PM
Indefinite Indefinite is offline
Kobold

Indefinite's Avatar

Join Date: Apr 2014
Posts: 139
Default

Quote:
Originally Posted by Tann [You must be logged in to view images. Log in or Register.]
no errors but didn't see any spell timers running either, perhaps I'm used to gina and nparse, the dps tracking stuff works, zone info doesn't, maybe i need to zone first and not use /who
With the default settings any detected spells from known players should create a timer so `/who` is still helpful there for other players spells, otherwise you can enable spell guessing and it get will guess most spells text it sees.

Pressing `t` will bring up the timers pop-up, otherwise timers are just an audio alert. Zone info is only pulled from zoning so the first time on a character it won't know
__________________
Reply With Quote
  #45  
Old 08-18-2023, 10:38 PM
Tann Tann is offline
Planar Protector

Tann's Avatar

Join Date: Oct 2010
Posts: 1,032
Default

Quote:
Originally Posted by Indefinite [You must be logged in to view images. Log in or Register.]
With the default settings any detected spells from known players should create a timer so `/who` is still helpful there for other players spells, otherwise you can enable spell guessing and it get will guess most spells text it sees.

Pressing `t` will bring up the timers pop-up, otherwise timers are just an audio alert. Zone info is only pulled from zoning so the first time on a character it won't know
oh wow thats sweet, i need to read more of the documentation, who would've thought.. reading the instructions
__________________
< Knights Who Say Ni >
Qeynos questing and leveling (all quests nerfed) | Off the beaten path 24-40.
Reply With Quote
  #46  
Old 08-20-2023, 02:33 PM
Sarekrn Sarekrn is offline
Large Rat


Join Date: Apr 2023
Posts: 5
Default

Anytime a sound needs to be played Im getting an error:

File "/home/d00d/.local/lib/python3.9/site-packages/playsound.py", line 261, in <module> │
│ playsound(argv[1]) │
│ File "/home/d00d/.local/lib/python3.9/site-packages/playsound.py", line 162, in _playsoundNix │
│ import gi │
│ File "/usr/lib/python3/dist-packages/gi/__init__.py", line 42, in <module> │
│ from . import _gi │
│ ImportError: cannot import name '_gi' from partially initialized module 'gi' (most likely due to a circular import) (/usr/lib/python3/dist-packages/gi/__init__.py) │
│ Exception in thread Thread-11: │
│ Traceback (most recent call last): │
│ File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner │
│ self.run() │
│ File "/usr/lib/python3.9/threading.py", line 892, in run │
│ self._target(*self._args, **self._kwargs) │
│ File "/home/ecor1/.local/lib/python3.9/site-packages/playsound.py", line 254, in <lambda> │
│ playsound = lambda sound, block = True: _playsoundAnotherPython('/usr/bin/python3', sound, block, macOS = False) │
│ File "/home/d00d/.local/lib/python3.9/site-packages/playsound.py", line 229, in _playsoundAnotherPython │
│ t.join() │
│ File "/home/d00d/.local/lib/python3.9/site-packages/playsound.py", line 218, in join │
│ say_you │ You say, 'parser timer 60' raise self.excmbered_off │ You are no longer encumbered. │
│ targ File "/home/d00d/.local/lib/python3.9/site-packages/playsound.py", line 211, in run │
│ self.ret = self._target(*self._args, **self._kwargs) │
└───────────────────────────────────────────────── ────────────────────────────────────────────────── ───────────────────────────────────────────── ──── File "/home/d00d/.local/lib/python3.9/site-packages/playsound.py", line 226, in <lambda>
t = PropogatingThread(target = lambda: check_call([otherPython, playsoundPath, _handlePathOSX(sound) if macOS else sound]))
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', '/home/ecor1/.local/lib/python3.9/site-packages/playsound.py', '/tmp/eqa/sound/b4d2431a1ceabf47a18fe36ed9606f6e.wav']' returned non-zero exit status 1.

Any ideas?
Reply With Quote
  #47  
Old 08-20-2023, 05:35 PM
Indefinite Indefinite is offline
Kobold

Indefinite's Avatar

Join Date: Apr 2014
Posts: 139
Default

Quote:
Originally Posted by Sarekrn [You must be logged in to view images. Log in or Register.]
Anytime a sound needs to be played Im getting an error:

File "/home/d00d/.local/lib/python3.9/site-packages/playsound.py", line 261, in <module> │
│ playsound(argv[1]) │
│ File "/home/d00d/.local/lib/python3.9/site-packages/playsound.py", line 162, in _playsoundNix │
│ import gi │
│ File "/usr/lib/python3/dist-packages/gi/__init__.py", line 42, in <module> │
│ from . import _gi │
│ ImportError: cannot import name '_gi' from partially initialized module 'gi' (most likely due to a circular import) (/usr/lib/python3/dist-packages/gi/__init__.py) │
│ Exception in thread Thread-11: │
│ Traceback (most recent call last): │
│ File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner │
│ self.run() │
│ File "/usr/lib/python3.9/threading.py", line 892, in run │
│ self._target(*self._args, **self._kwargs) │
│ File "/home/ecor1/.local/lib/python3.9/site-packages/playsound.py", line 254, in <lambda> │
│ playsound = lambda sound, block = True: _playsoundAnotherPython('/usr/bin/python3', sound, block, macOS = False) │
│ File "/home/d00d/.local/lib/python3.9/site-packages/playsound.py", line 229, in _playsoundAnotherPython │
│ t.join() │
│ File "/home/d00d/.local/lib/python3.9/site-packages/playsound.py", line 218, in join │
│ say_you │ You say, 'parser timer 60' raise self.excmbered_off │ You are no longer encumbered. │
│ targ File "/home/d00d/.local/lib/python3.9/site-packages/playsound.py", line 211, in run │
│ self.ret = self._target(*self._args, **self._kwargs) │
└───────────────────────────────────────────────── ────────────────────────────────────────────────── ───────────────────────────────────────────── ──── File "/home/d00d/.local/lib/python3.9/site-packages/playsound.py", line 226, in <lambda>
t = PropogatingThread(target = lambda: check_call([otherPython, playsoundPath, _handlePathOSX(sound) if macOS else sound]))
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', '/home/ecor1/.local/lib/python3.9/site-packages/playsound.py', '/tmp/eqa/sound/b4d2431a1ceabf47a18fe36ed9606f6e.wav']' returned non-zero exit status 1.

Any ideas?
`playsound` seemingly has a handful of Linux system package dependencies. Check if you're missing anything in the below list:
https://github.com/mgeitz/eqalert/bl...erfile#L17-L40

You may also need to install pygobject.

If you're running eqalert on a mac I'm not too sure though I know playsound should support mac as well.

If all else fails, as a last ditch effort if you've got docker installed I'd suggest trying out the docker image instead. The compose file assumes pulse audio running on the host, so I'd be interested to know if it could run on a mac.

I'm definitely planning to replace playsound with another cross platform solution down the road, the errors are vague and it hasn't seen active development in two years. If you've built locally and have another preferred way to play sound files this is only called in one place:
https://github.com/mgeitz/eqalert/bl.../sound.py#L294
__________________
Last edited by Indefinite; 08-20-2023 at 05:37 PM..
Reply With Quote
  #48  
Old 08-23-2023, 09:52 AM
Sarekrn Sarekrn is offline
Large Rat


Join Date: Apr 2023
Posts: 5
Default

Ended upgrading my mint to 21, tried reinstalling eqalert and now Im getting the following:

Traceback (most recent call last):
File "/home/d00d/.local/bin/eqalert", line 33, in <module>
sys.exit(load_entry_point('eqalert', 'console_scripts', 'eqalert')())
File "/home/d00d/.local/bin/eqalert", line 25, in importlib_load_entry_point
return next(matches).load()
StopIteration
Reply With Quote
  #49  
Old 08-23-2023, 06:47 PM
Indefinite Indefinite is offline
Kobold

Indefinite's Avatar

Join Date: Apr 2014
Posts: 139
Default

Quote:
Originally Posted by Sarekrn [You must be logged in to view images. Log in or Register.]
Ended upgrading my mint to 21, tried reinstalling eqalert and now Im getting the following:

Traceback (most recent call last):
File "/home/d00d/.local/bin/eqalert", line 33, in <module>
sys.exit(load_entry_point('eqalert', 'console_scripts', 'eqalert')())
File "/home/d00d/.local/bin/eqalert", line 25, in importlib_load_entry_point
return next(matches).load()
StopIteration
I'm not sure, how did you try installing it? It looks as though it tries to run it but can't find some files?

If you have `python3-pip` installed it may be worth trying the below command if that was a installation from source:

Code:
pip3 install eqalert
__________________
Reply With Quote
  #50  
Old 08-23-2023, 07:24 PM
Sarekrn Sarekrn is offline
Large Rat


Join Date: Apr 2023
Posts: 5
Default

Yeah I installed thru pip3.. now it won’t even uninstall to try again unfortunately
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:05 AM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.