Hybrid View

    Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-1597 in a recent build.
  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    3
    Vote Rating
    0
    thermos192 is on a distinguished road

      0  

    Default folder name 'deploy' seems to cause infinite loop creating folders too deep to delete

    folder name 'deploy' seems to cause infinite loop creating folders too deep to delete


    I hit the deploy button on my Sencha Touch 2 project and created a new folder called 'deploy' and selected that folder. Designer locked up creating multiple sub directories within that folder called deploy. By the time I closed the program, it had created so many sub directories that I am now getting a windows error saying the paths to the actual .js files are too long and cannot be deleted. I'm a little hesitant to try it again on my own computer as I can't find out how to actually get rid of these folders!

    Using Version 2.0.0 Build 311 on Windows 7 Pro

    Update: A little Googling provided a utility that removes windows files where the paths are too long.

  2. #2
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,733
    Vote Rating
    51
    Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough

      0  

    Default


    Assume you deployed to within your project path. You can see why that would be bad! We do a very rough check to make sure your not doing this. If you could update me with the path to your project and the path you used for your deploy directory (in settings) that could help improve the circular folder copy check. Saving others your plight.
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Jan 2012
    Posts
    3
    Vote Rating
    0
    thermos192 is on a distinguished road

      0  

    Default


    Ahh...I see. I am new to Designer and for some reason it did not occur to me to not put the deploy folder in the project folder! I'm not familiar with what that button should do exactly.

    The path I was trying to deploy to when it created too many folders
    C:\SD\PhoneGapWithSenchaTouch\deploy

    I changed it to this
    C:\SD\PhoneGapWithSenchaTouch\output
    and it does prevent me from deploying, although until I read your response I didn't understand why. (no error message). Of course I tried it with a folder outside of the project path and it works.

    Thanks

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,883
    Vote Rating
    102
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Thanks to your test case we were able to integrate some more robust checking for absolute paths.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  5. #5
    Sencha User
    Join Date
    Oct 2012
    Posts
    2
    Vote Rating
    0
    gabrielko is on a distinguished road

      0  

    Default Alternative solution

    Alternative solution


    Hi guys I would appreciate it if you could answer this question. I have been having sort of the same problem and I was wondering if a long path tool like from pathtoodeep(dot)com can help..not sure if I should be posting links but yeah...please..I hope you guys can help, it's been really annoying..

    Thanks a bunch
    Gabby

  6. #6
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,733
    Vote Rating
    51
    Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough

      0  

    Default


    So I'm not sure this was related to the path being too long.

    It was because the user was using the path to output that was inside the original project directory

    a simple explanation:
    cp -r project project/deploy

    copying recursively where the destination is inside of the source is bad
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar