-
Notifications
You must be signed in to change notification settings - Fork 115
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
AttributeError: 'NoneType' object has no attribute 'props' #142
Comments
Python Discord informed me this was related to something called gstreamer, which I was able to install with no problems by doing 'pkg install gstreamer' Error output is now reduced to this one last remaining error: >>> from playsound import playsound
>>> playsound('test.wav')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/playsound-1.3.0-py3.11.egg/playsound.py", line 158, in _playsoundNix
playbin.props.uri = 'file://' + pathname2url(path)
^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'props'
>>> |
frozen905
changed the title
Error output after installation on Android / Termux
AttributeError: 'NoneType' object has no attribute 'props'
Apr 24, 2023
Linux is barely/poorly supported by playsound.Android is not supported at all. I don’t know where one would begin - I don’t think Travis can run instances of Android to run tests against, can it?Anyways, I provided you with playsound. You should now provide improvements, not requests for more from me. I really aught to just disable reporting issues on GitHub since people only misuse it.Sent from my iPhoneOn Apr 24, 2023, at 17:50, frozen ***@***.***> wrote:
Python Discord informed me this was related to something called gstreamer, which I was able to install with no problems by doing 'pkg install gstreamer'
Error output is now reduced to this one last remaining error:
>> from playsound import playsound
>> playsound('test.wav')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/playsound-1.3.0-py3.11.egg/playsound.py", line 158, in _playsoundNix
playbin.props.uri = 'file://' + pathname2url(path)
^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'props'
>>
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello friends,
I have installed playsound however when I try to play a simple test.wav file, I get a big spam of errors. I am a novice user and do not know how to troubleshoot this.
Thank you
The text was updated successfully, but these errors were encountered: