Bug? Any Layout is not Recognized when the project is in PenDrive

Discussion in 'iOS Bugs & Wishlist' started by Alberto Iglesias, May 3, 2019.

  1. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    Hello everyone,

    When creating any layout WHEN your project is on Pendrive, the Layout is not recognized.

    If your project in on C:\ everything is working fine, but have problems when is on Pendrive. Check this video.

    Can you fix this in next release, please?


     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Better to post the error message as text instead of the video. I wasn't able to read it.

    The IDE uses the standard API to access the file system. If the pendrive file system doesn't behave properly then there isn't much that the IDE can do.
     
  3. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    Is easy to reproduce:

    * just create one project in your pendrive, save
    * run without any layouts, and works!
    * create a new layout, load from any place (root.panel, panel, etc), and will NOT WORKS!

    I tried with pendrive formated with NTFS, FAT32, EX-FAT and no one works

    This is important, because I work with projects on pendrive to develop in any computer I want (home, work, etc) without copy first to c:
     
  4. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    @Erel, is just for add a new layout (when the project is on a pendrive) I have problem. If the project is on pendrive, I can work perfectly, is just when trying to add a new layout.

    Can you check this or is impossible to work directly on a pendrive?
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    I think that it is a mistake to work directly on a USB storage device if it doesn't behave properly. As I wrote the IDE uses the standard file system APIs to access the file system.
     
  6. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    Ok @Erel I just not understand why this problem happens just with layouts and works fine with modules for example....

    But is ok, if not supported, i will copy first everything to C: and when finish my work, copy to pen drive....

    Thanks
     
  7. Filippo

    Filippo Expert Licensed User

    I've been using a USB-disk for a couple of years and it works without problems.
     
    Cableguy likes this.
  8. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    OK, can you try something:

    Open your project from pendrive, create a new layout and load from any page, simple as page1.rootpanel.loadlayout("yourlayout")

    Check my video on the first post....

    Thank you

    Alberto Iglesias
     
  9. Filippo

    Filippo Expert Licensed User

    I have tested it just like you, it works without problems. ;)
     
  10. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    OK. let me know your pendrive format...

    I'm using Windows 10 - 64bits and Pendrive I tried with Fat32 and extFat, in pendrives with 128gb and 256gb.
     
  11. Filippo

    Filippo Expert Licensed User

    I also use Windows 10 64 bit. and it is a SSD-disk in a USB-case.

    upload_2019-5-14_19-3-12.png
     
  12. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    huuumm interesting.... I will try with external HDD today.

    Can I ask you to test in one normal pendrive?
     
  13. Filippo

    Filippo Expert Licensed User

    also no problem :)

    upload_2019-5-14_21-4-21.png
     
  14. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    i'm formatting right now my 128GB with NTFS, let's see if works.. I will tell you after this test.. this formating is during 3 hours unti now.....

    upload_2019-5-15_16-14-27.png
     
  15. Filippo

    Filippo Expert Licensed User

    3 hours?

    You should use the quick-format. ;)
     
  16. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    Hey Filipo, after 4 hours formatting, done! I tried before with Quick Format and NOT WORK!

    So, I tried with the same test I created before, and now with this format WORKS FINE!

    With a lot of tests, I can say it now not works with exFat even with Fat32, but with NTFS is working FINE!

    Thank you and your help was super helpfull.

    Now I came back with my projects inside this pendrive without copying first to HD!

    :)
     
    Last edited: May 16, 2019
    Erel likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice