shymmq / librus-client

Klient restowego API librusa na androida
https://play.google.com/store/apps/details?id=pl.librus.client
GNU General Public License v3.0
14 stars 3 forks source link

Parent account crashing #104

Closed xdk78 closed 7 years ago

xdk78 commented 7 years ago

Crashing on 83%

tomikmar commented 7 years ago

I have similar problem. Crashing about 81%.

Version 1.0r

Frioo commented 7 years ago

I'm using a parent account exclusively and I have never experienced a single crash while downloading. Possibly another JSON problem (missing tokens etc.)

shymmq commented 7 years ago

@xdk78 @tomikmar Do the student accounts work properly?

tomikmar commented 7 years ago

I don't have student account.

BTW. I use F-Droid build on LineageOS 14.1

mimi89999 commented 7 years ago

I am using the same build from F-Droid, also on LOS 14.1 and I don't experience any issues with a student account.

tomikmar commented 7 years ago

Strange - it started to work, but I only have access to "Plan lekcji". It may be related to the current server maintenance (log attached). librus-2017-03-17.txt

shymmq commented 7 years ago

Can you try to log in using the following credentials? username: 13335 password: librus11

tomikmar commented 7 years ago

After the maintenance the app started to crash again.

I cleared app data and I tried user 13335. Everything works correctly with this user.

tomikmar commented 7 years ago

Crash log: librus-2017-03-18.txt

shymmq commented 7 years ago
pl.librus.client.api.HttpException: 
{
"Status":"Error",
"Code":"LuckyNumberIsNotActive",
"Message":"Lucky number is not active.",
}

This is causing the crash. I'll try to fix it soon.

mimi89999 commented 7 years ago

@tomikmar I will PR to F-Droid this evening.