Benjamin-Loison / matrix-commander

simple but convenient CLI-based Matrix client app for sending and receiving
GNU General Public License v3.0
0 stars 0 forks source link

`AttributeError: module 'os' has no attribute 'link'.` on Termux `pip install matrix-commander` #9

Open Benjamin-Loison opened 7 months ago

Benjamin-Loison commented 7 months ago

On my Fairphone 4 LineageOS.

matrix-commander -m 'test'
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/bin/matrix-commander", line 5, in <module>
    from matrix_commander import main
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/matrix_commander/__init__.py", line 1, in <module>
    from .matrix_commander import main
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/matrix_commander/matrix_commander.py", line 45, in <module>
    import aiofiles.os
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/aiofiles/os.py", line 41, in <module>
    link = wrap(os.link)
                ^^^^^^^
AttributeError: module 'os' has no attribute 'link'. Did you mean: 'unlink'?

Same issue on Waydroid.

Identical issue at termux-packages/issues/18666. Note that it mentions matrix-commander.

Related to Benjamin-Loison/termux-app/issues/13.

Could request to publish an aiofiles release to solve the issue.