oliexdev / openWorkout

Simple workout trainer that puts your privacy first
GNU General Public License v3.0
124 stars 17 forks source link

Cannot import custom file #25

Closed marcown closed 3 years ago

marcown commented 3 years ago

database_1.zip

Hey,

it is not possible to import any custom training files (see above). I exported a training, extracted the database.json, customized it und zipped it again. When I want to import it the following error occurs:

.... is not a valid training package

ghost commented 3 years ago

Hi

I'm having the same problem. It will accept the original zip file only, but I cannot modify it. I'm looking at permissions but it doesn't appear to be the reason why. zipinfo reports:

rw----     2.0 fat     1598 b- defN 20-Nov-18 18:50 /database.json
rw-------  3.0 unx     8634 tx defN 20-Nov-18 19:38 database.json
2 files, 10232 bytes uncompressed, 738 bytes compressed:  92.8%

(The second database.json is the one that I add)

Apparently the import code is in openWorkout-master/app/src/main/java/com/health/openworkout/core/utils/PackageUtils.java but I am no developer and I cannot see any hint over there as to what prevents it from working..

oliexdev commented 3 years ago

thanks should be fixed.

marcown commented 3 years ago

@oliexdev is there away to directly install the newest git version?

thanks

oliexdev commented 3 years ago

No

Markus Patzold notifications@github.com schrieb am Mo., 23. Nov. 2020, 18:13:

@oliexdev https://github.com/oliexdev is there away to directly install the newest git version?

thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/oliexdev/openWorkout/issues/25#issuecomment-732300352, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNR7KJYHIQFY53Z73P3OMDSRKJ5JANCNFSM4TZSVKTA .

marcown commented 3 years ago

ok, do you know when you have time to push a new release?

thanks for the work