Retrieve Metadata returns "No Such File or Directory Error"

Issue #699 duplicate
James Estevez created an issue

Steps to reproduce:

  1. Create new project
  2. Select metadata subscriptions
  3. Click OK

Expected Behavior

  • Metadata is retrieved and placed in the src directory

Actual Behavior:

  • An alert is generated stating "no such file or directory" for each file (Screenshot 0)
  • A new folder named "Unpackaged" is created in the project (Screenshot 1)
  • The files within the Unpackaged folder are empty

Workaround:

Copy the contents of the "Unpackaged" directory into src and run "Refresh Metadata"

Version:

Idea:

IntelliJ IDEA 2017.2.1
Build #IU-172.3544.35, built on July 31, 2017
JRE: 1.8.0_152-release-915-b6 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.12.8-2-ARCH

IC:

1.7.9.9 (SFDX Beta)
Build 20170813223311

Logs:

https://gist.github.com/jstvz/3ba80eb1153526e88fbe8bb5831383f1

Screenshots:

Screenshot 0 Screenshot 1

Comments (11)

  1. Scott Wells repo owner

    James, I apologize for the issue. Do you mind seeing if the same problem occurs with the SFDX test build attached here:

    https://bitbucket.org/RoseSilverSoftware/illuminatedcloud/issues/554/salesforce-dx-support

    The mechanisms for reconciling retrieved files and local files has changed in the SFDX builds and may well fix the issue for you. I'll be merging that into the standard release very soon, so if that does resolve the issue, it'd be good to know so I don't debug something that's already fixed on another branch.

    Please let me know either way and I'll help resolve the situation for you if that doesn't do it.

  2. James Estevez reporter

    Thanks, Scott. Installed the topmost zip file, restarted, and called "Retrieve Metadata" on my test project, same results. IC has the same build number as above.

  3. Scott Wells repo owner

    Okay, good to know. Let's go back to the official build and rerun it one more time with the following in Help>Debug Log Settings:

    #com.illuminatedcloud.intellij.builder.ForceComMetadataRetriever
    

    Then please send me the resulting idea.log and hopefully it'll tell me exactly what's going on. Thanks!

  4. Scott Wells repo owner

    Even though this one was logged first, I ended up getting traction on the issue in #714 so we'll merge into that one. The fix will be included with 1.8.0.4.

  5. Log in to comment