Skip to content
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

[android] Electrum not working on Sony devices (only v2.9.3 and prior working) #3586

Closed
darwusch opened this issue Dec 23, 2017 · 37 comments
Closed

Comments

@darwusch
Copy link

darwusch commented Dec 23, 2017

This issue has been mentioned already:
#3213
However, I don't feel it has got enough attention which is why I post this under a different title.

Due to Kivy not working on Sony android devices (since using Python3) Electrum crashes immediately on startup.

To use my wallet on my Sony stock android phone, I have to use old Electrum version 2.9.3.

@bauerj
Copy link
Contributor

bauerj commented Dec 23, 2017

Since it seems to be a bug in kivy, there is nothing we can do about it.

@darwusch
Copy link
Author

Ofcourse there is, using Kivy with Python3 is a choice.
Why choose something which does not work on so many devices?

@bauerj
Copy link
Contributor

bauerj commented Dec 23, 2017

Because Electrum is not compatible to Python 2.

@darwusch
Copy link
Author

Electrum version 2.9.3 and prior, were working fine.

@SomberNight
Copy link
Member

SomberNight commented Dec 24, 2017

Electrum version 2.9.3 and prior, were working fine.

Yes, but then the project was migrated to Python 3. It was deemed to be too much work going forward to maintain compatibility with both Python 2 and 3 (developer resources are limited), especially as we wanted to start using Python3-specific functionality.

@darwusch
Copy link
Author

...and leaving millions of people who can not use Electrum anymore with the current code.

@bauerj
Copy link
Contributor

bauerj commented Dec 24, 2017

As of now this issue seems to be limited to two users only.

We still take it seriously but there are more important issues right now.

@darwusch
Copy link
Author

darwusch commented Dec 24, 2017

Ofcourse it is not only 2 users. Most people just see it crash and simply use another wallet.
It's every user with these Sony phones and maybe more.

Besides, the Kivy package used now in Electrum, is tagged "experimental" for python3 on their website.
Is that the standard for something important as a wallet?

@fdiengdoh
Copy link

Samething with my Motorola moto m with Android 7. Can't scan we code. And it just crash.

@bauerj
Copy link
Contributor

bauerj commented Dec 25, 2017

@fdiengdoh Does it crash immediately on startup?

@fdiengdoh
Copy link

Not immediately but after few mins. And can't scan QR code.

@bauerj
Copy link
Contributor

bauerj commented Dec 25, 2017

Then what you see is not related to this issue. Please collect the log output and open a separate issue.

Also make sure you have this app installed as it is a dependency for QR code scanning right now.

@fdiengdoh
Copy link

just today there's a security update on my phone and then i reinstall electrum along with the barcode app and it didn't crash anymore. I'll create a new issue if there's crash but now I guess its pointless.

@fdiengdoh
Copy link

anyway I've just recreated the crash will open a new issue

@darwusch darwusch changed the title [android] Electrum not working on Sony devices since v3.0 [android] Electrum not working on Sony devices since v3.0 (also in v3.0.5) Jan 9, 2018
@ser
Copy link
Contributor

ser commented Jan 16, 2018

Electrum 3 is properly working on my two Sony devices, tablet Z4 and phone Z5

@bauerj
Copy link
Contributor

bauerj commented Jan 16, 2018

@darwusch What about you? Since you said it affects all Sony devices it should be fixed now?

@darwusch
Copy link
Author

No, it's not fixed.
Force close immediately on devices:
Sony Xperia XA Ultra (android 7)
Sony Xperia Z5 compact (android 7)

And error "Could not load ctypes" on device:
Sony Xperia XZ1 (android 8)

@bauerj
Copy link
Contributor

bauerj commented Jan 16, 2018

Too bad ☹️ Do you know any differences to ser's Z5 that could explain the different behaviour?

@darwusch
Copy link
Author

darwusch commented Jan 16, 2018

I don't know what android version ser uses on his Z5.
The hardware/android distro from Sony is almost the same on the Z5 series.
But the devices where it FC's are all rooted. Earlier developers told me that this could not be the cause, but I'm having doubts about that.

@ser
Copy link
Contributor

ser commented Jan 16, 2018

Yes, I have not upgraded to 7 as it results in many problems with apps. My devices are rooted of course.

@darwusch
Copy link
Author

So, which version of android do you use?

@ser
Copy link
Contributor

ser commented Jan 16, 2018

6 - i don't see any practical sense with upgrading to 7, it slows down the devices, creates many compatibility problems.

@darwusch
Copy link
Author

Ok, so we can safely assume that also the Sony Xperia Z5 has a Force Close on Android 7, because it is virtually the same as my Z5 compact.

@bauerj
Copy link
Contributor

bauerj commented Jan 16, 2018

Well, If it's due to a buggy Android version, there's not really much we can do.

@darwusch
Copy link
Author

darwusch commented Jan 16, 2018

No it is not, it is a problem with Kivy and Electrum.
Please help fix the issue, in stead of trying ignore this by saying it is not an Electrum issue.
Kivy with Python3 is still experimental, so it should not be used in something important as a wallet.

@ecdsa
Copy link
Member

ecdsa commented Jan 16, 2018

@darwusch if you can identify that this is a kivy issue, why dont you report it in the kivy project?

@darwusch
Copy link
Author

darwusch commented Jan 16, 2018

@ecdsa Because Kivy with Python3 is still experimental, so it should not be used in something important as a wallet. But Electrum uses this.

Furthermore, the bugs are probably just some paths defined incorrectly, so could be fixed within Electrum.

@bauerj
Copy link
Contributor

bauerj commented Jan 16, 2018

Because Kivy with Python3 is still experimental

Is it? As far as I know it's considered stable.

Furthermore, the bugs are probably just some paths defined incorrectly

Can you tell us what paths to change?

@darwusch
Copy link
Author

The official website says it is Experimental:
http://python-for-android.readthedocs.io/en/latest/buildoptions/
"Python3 support is experimental, and some of these details may change as it is improved and fully stabilised."

No, I can not find the bug myself, you can see the syslogs I posted, both here on the Electrum github, as well as the Kivy github.

@darwusch darwusch changed the title [android] Electrum not working on Sony devices since v3.0 (also in v3.0.5) [android] Electrum not working on Sony devices since v3.1.0 (only v2.9.3 and prior working) Mar 11, 2018
@darwusch darwusch changed the title [android] Electrum not working on Sony devices since v3.1.0 (only v2.9.3 and prior working) [android] Electrum not working on Sony devices (only v2.9.3 and prior working) Mar 11, 2018
@darwusch
Copy link
Author

Bug still present in v3.1.0.
Still force close immediately on start.

@rdymac
Copy link
Contributor

rdymac commented Jul 19, 2018

A friend was not able to run current Electrum 3.2.1 on Android 4.2.1 (and another phone pretty similar to it), with the same error of “could not load library libpython3.6m.so”.

I have it correctly running in Android 4.3.0, 4.4.4, and 5.1 phones though.

kivy/python-for-android#1188 (comment)

@rdymac
Copy link
Contributor

rdymac commented Jul 19, 2018

This person said to have found a fix for the “SDL library not found” issue: kivy/python-for-android#645 (comment)

@darwusch
Copy link
Author

This bug has been finally fixed since v3.3.0

@darwusch darwusch reopened this Dec 20, 2018
@SomberNight
Copy link
Member

Did you reopen by mistake?

@darwusch
Copy link
Author

yes, it's fixed

@kjendis
Copy link

kjendis commented Jan 13, 2019

Just had this issue today on a huawei honor 6. Reinstalled electrum from Google play, same issue again

@ser
Copy link
Contributor

ser commented Jan 13, 2019

It's 5 years old drastically modified Android called Emotion UI, it's really hard to support it :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants