Giter VIP home page Giter VIP logo

Comments (4)

Mugurell avatar Mugurell commented on June 14, 2024

This one is interesting..
Applying a backup means writing all the files from a .fpm in Fennec's internal storage
For this we first are to delete all said internal storage files
Using java.io.File.delete, recursive calls done here. Calls that for whatever reason fail on some devices.
Then when we are trying to copy the new files this call throws.
After further investigations I found that our "lib" directory seems to be a symlink. For which we might indeed not have the right permissions. :-?
Screenshot 2020-01-27 at 18 34 29

from fennec-profile-manager.

sflorean avatar sflorean commented on June 14, 2024

ref #42

from fennec-profile-manager.

Mugurell avatar Mugurell commented on June 14, 2024

Waiting for a confirmation from QA that all looks good now.
Based on the stacktrace and my investigation this is beyond strange so most I could do is just ignore such an exception if

  • the needed file exists
  • is not empty
  • we can't write to it
    All of the above should ensure that the file "should" be what the app needs and if based on the stracktrace and my findings this issue would only happen with app libs I think it's ok to ignore this issue in such cases.
    Otherwise the app would still crash giving us the possibility to investigate more the crash cause.

from fennec-profile-manager.

sflorean avatar sflorean commented on June 14, 2024

Verified as fixed on FPM build 7, "apply" works as expected.
Devices:

  • Motorola Moto G6 (Android 8.0),
  • Huawei Honor 8 (Android 7.0),
  • HTC Desire 820 (Android 6.0.1),
  • Samsung Galaxy Tab A 6 (Android 5.1.1).

from fennec-profile-manager.

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.