Git Product home page Git Product logo

Comments (16)

elcorto avatar elcorto commented on June 24, 2024 4

Schedule parsing and updates work since day1 (Tue, 2023-08-15) , 4pm CEST or thereabouts. Thanks!

from eventfahrplan.

saerdnaer avatar saerdnaer commented on June 24, 2024 1

We are aware of the underlying problem and will now format durations > 24h as day:hh:mm instead of hh:mm

from eventfahrplan.

code4candy avatar code4candy commented on June 24, 2024 1

Same error on Samsung Galaxy S21 with Android 13:
"Parsing error for schedule version 2023-08-15 ..."
The schedule does not show at all. Reinstalling the app does not change anything.

from eventfahrplan.

geobra avatar geobra commented on June 24, 2024 1

Same here. Deleting all cache and config data, then deleting and reinstalling the App does not solve the issue on my side. Is the json schedule fixes meanwhile?

from eventfahrplan.

elcorto avatar elcorto commented on June 24, 2024 1

Deleted cache and app data, reinstalled the app..did not fix the issue. Still seeing the parsing error.

from eventfahrplan.

johnjohndoe avatar johnjohndoe commented on June 24, 2024

Thanks for reporting. I can reproduce the issue by fresh installing the app.

It seems to be an issue with the schedule served by the VOC team. I will forward it to them.

from eventfahrplan.

elcorto avatar elcorto commented on June 24, 2024

I am seeing this, too.

  • App version: 1.61.0-CCCamp-Edition
  • Android version: 8.0.0 (Samsung stock)
  • Device: Samsung Galaxy S7 (SM-G930F)

Thanks for looking into it!

from eventfahrplan.

saerdnaer avatar saerdnaer commented on June 24, 2024

Technically this year is the merged schedule is provided by the HUB team :-) – but there is some personal overlap...

When I validate https://events.ccc.de/camp/2023/hub/api/c/camp23/schedule.xml with https://c3voc.de/schedulexml/ I only get an irrelevant error about a to short slug
image

How can I get more details on the parsing errors

from eventfahrplan.

elcorto avatar elcorto commented on June 24, 2024

I don't see a way to export debug info in the app, but since @johnjohndoe was able to reproduce this via a fresh install, I don't think it is due to an oldish xml parser library on my (quite dated) device.

Cloud it be a permission issue? My system app settings claim that the app doesn't require any, is that correct?

from eventfahrplan.

johnjohndoe avatar johnjohndoe commented on June 24, 2024

@saerdnaer found out that the cause of the error is a session with a duration of two days. The schedule should be adapted soon. - Thanks for the work!

from eventfahrplan.

elcorto avatar elcorto commented on June 24, 2024

Thanks a lot, that partiality solved it. The schedule updated (I guess once) and I can see the program.

However when I refresh, I still see the parsing error, so I assume I won't get any updates.

from eventfahrplan.

johnjohndoe avatar johnjohndoe commented on June 24, 2024

@elcorto You might need to reset resp. reinstall the app. I can't tell from where I am. Make sure to export your favorites before.

from eventfahrplan.

cketti avatar cketti commented on June 24, 2024

The schedule version "2023-08-15 12:35" contains a bunch of duration values like 02:120 that the app can't parse.

I'm guessing you're starting with a duration value in minutes and the code to compute the duration XML value looks something like this:

hours = minutes / 60
mins = minutes

value = format("%02d:%02d", hours, mins)

If that's the case, fix it by using mins = minutes % 60 instead.

from eventfahrplan.

cketti avatar cketti commented on June 24, 2024

We are aware of the underlying problem and will now format durations > 24h as day:hh:mm instead of hh:mm

Chances are this will be parsed as h:mm:ss by existing clients. If you're changing the format (and thus breaking clients) anyway, why not switch to using minutes?

from eventfahrplan.

johnjohndoe avatar johnjohndoe commented on June 24, 2024

@saerdnaer Are you (or someone in the HUB team) able to rewrite the schedule (split long sessions) without changing the Android app to fix the parsing error?

from eventfahrplan.

johnjohndoe avatar johnjohndoe commented on June 24, 2024

Acknowledgement: I will not be able to publish an app update. I am several thousands of kilometers away from my computer until after the Camp.

from eventfahrplan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.