Results 1 to 3 of 3

Thread: Repository directory did not initialize properly

  1. #1
    Sencha Premium Member
    Join Date
    Feb 2015
    Posts
    4

    Default Repository directory did not initialize properly

    Hi,

    We want to upgrade our applications from Sencha 6.1.2.15 to 6.5.3.6. We have downloaded the trial version and upgraded our workspace and some applications. Every time we launch a sencha app build we get the following Warnings:

    Code:
    Sencha Cmd v6.5.3.6
    [INF] Processing Build Descriptor : classic (production environment)
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [INF] Loading compiler context
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN]      - /home/nadal/bin/Sencha/Cmd/repo/.sencha/repo/remotes/sencha-beta
    [INF] Loading app json manifest...
    [INF] Processing data with CmdJavascriptCompressor
    [INF] JavaScript input level is NEXT and output level is ES5
    [INF] Writing concatenated output to file /var/www/devel/httpdocs/testworkspace/build/production/NewExtApp/classic/app.js
    Can someone please help understand what is happening and how can we fix that behaviour?

    Thank you a lot

  2. #2
    Sencha User
    Join Date
    Aug 2015
    Location
    Beit-El, Israel
    Posts
    14

    Default

    I am also getting these "warning messages" - meaning something's NOT WORKING!

    I have been working with sencha cmd 6.6.0.13 for quite a while (many months or more).

    Everything was working well.

    What I did before this started, is the following...:

    I started sencha app build in cmd (Windows 10 Powershell) via a script file.

    Then, a few seconds after it started running - I thought to make a change in my code - so I stopped the build (in the middle).

    When I was ready to start the build again, it started showing me those warning messages.

    Things I tried:

    1. Re-opening Powershell
    2. Reinstalling Sencha Cmd 6.6.0.13
    3. Restarting PC
    4. Uninstalling all Sencha Cmds versions, and then installing them from scratch (Including: restart of PC in between)
    5. Deleting build directory
    6. Searching for error in Google


    None of these solved the problem,

    Nor did I get a clue as to what's causing the problem

    (Except for the fact that stopping sencha build of app in middle may have very well caused this

    - although I've done so many other times without it causing any problem.

    - and I understand it shouldn't cause any problem)

    I would be glad to get some help with this, please

  3. #3
    Sencha User
    Join Date
    Aug 2015
    Location
    Beit-El, Israel
    Posts
    14

    Default

    THE SOLUTION in my case:

    I went over to the file mentioned in WARNING

    --> C:\Users\<USER_NAME>\bin\Sencha\Cmd\repo\.sencha\repo\remotes\sencha-beta\sencha.cfg

    and I saw that the file was empty!!

    My partner at work went over to this file in the same path (only in his User) - and there the file wasn't corrupted!

    So I copied from his PC this specific file,

    and indeed the warning messages vanished.

    [So, this is what caused the problem:

    In the sencha build process it probably regenerates this file.

    And I had probably stopped the build on that split second after it wiped out the previous version of the file,

    yet before it wrote the newer version into the file.

    And as long as this file didn't exist there was a problem.

    So a simpler solution may have been to simply do sencha app build,

    and let it continue although there are these warning messages,

    and then the file may have been regenerated...

    Which means that this problem - is not really a problem at all...]

    Hope this helps someone

Similar Threads

  1. Config boolean type does not initialize properly
    By wilcosch in forum Ext: Q&A
    Replies: 1
    Last Post: 29 Aug 2015, 9:18 AM
  2. Replies: 1
    Last Post: 5 Dec 2012, 12:45 PM
  3. [FIXED] Beta 1 - SegmentedButton's initialize does not invoke initialize on its parent
    By r_honey in forum Sencha Touch 2.x: Bugs
    Replies: 5
    Last Post: 8 Feb 2012, 2:02 AM
  4. [FIXED] Ext.Button.initialize does not invoke initialize on its base class
    By r_honey in forum Sencha Touch 2.x: Bugs
    Replies: 6
    Last Post: 21 Nov 2011, 1:01 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •