Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Hello Everyone,
i can't publish a project if a use a MODEL TARGET. After I select it and try to publish, the cursor changes to a FORBIDDEN SIGN and I get the following:
[2019-09-30T22:02:20.157Z] info: [twx-studio:upgrade:pump_trial_5] Building ves-ar-extension app:
[2019-09-30T22:02:20.507Z] info: [twx-studio:upgradeProject] Upgrade log saved to C:\Users\TI 0299\Documents\VuforiaStudio\Projects\pump_trial_5\upgrade.log
[0mGET /api/switch [32m200 [0m2.482 ms - -[0m
[0mGET /ExperienceService/viewcommandhost [36m304 [0m736.795 ms - -[0m
[0mGET /api/switch [32m200 [0m0.773 ms - -[0m
[0mGET /api/validate [32m200 [0m676.469 ms - -[0m
[0mGET /api/switch [32m200 [0m2.490 ms - -[0m
[0mGET /api/switch [32m200 [0m1.763 ms - -[0m
[0mGET /api/validate [32m200 [0m523.542 ms - -[0m
[0mGET /api/switch [32m200 [0m0.462 ms - -[0m
[0mGET /api/switch [32m200 [0m0.541 ms - -[0m
[0mGET /ExperienceService/content/projects/pump%20trial%205 [33m401 [0m559.966 ms - -[0m
[0mGET /ExperienceService/viewcommandhost [36m304 [0m538.388 ms - -[0m
[0mGET /ExperienceService/content/projects/pump%20trial%205 [33m404 [0m534.010 ms - -[0m
[2019-09-30T22:02:58.194Z] info: [twx-studio:projectHelper] Building ves-ar-extension app: pump trial 5
[2019-09-30T22:02:58.513Z] info: [twx-studio:projectSettings] Notify preview windows: private-room-pump_trial_5
[0mPOST /api/project/resource/save [32m200 [0m1275.681 ms - -[0m
[0mGET /api/switch [32m200 [0m0.693 ms - -[0m
[0mPOST /api/publish/ [32m200 [0m408.080 ms - 15[0m
[2019-09-30T22:02:59.372Z] info: [twx-studio:cad-import-filters:pvaroptimizer_gltf_mtg] b99c412406c8a1a48d17213162d05d527368f494 Creating gltf artifacts for: C:\Users\TI 0299\Documents\VuforiaStudio\Projects\pump_trial_5\dist\app\resources\Uploaded\Ilustración axial pump simple.pvz
[2019-09-30T22:02:59.495Z] info: [twx-studio:cad-import-filters] [pvaroptimizer.exe] pvaroptimizer Error:2032: Failed to open zip file "C:/Users/TI 0299/Documents/VuforiaStudio/Projects/pump_trial_5/dist/app/resources/Uploaded/Ilustración axial pump simple.pvz"
pvaroptimizer Error:2033: Failed to unzip PVZ file C:/Users/TI 0299/Documents/VuforiaStudio/Projects/pump_trial_5/dist/app/resources/Uploaded/Ilustración axial pump simple.pvz
[2019-09-30T22:02:59.564Z] error: [twx-studio:index] unhandledRejectionENOENT: no such file or directory, rename 'C:\Users\TI 0299\Documents\VuforiaStudio\Projects\pump_trial_5\resource_cache\mtg\Ilustración axial pump simple.gltf' -> 'C:\Users\TI 0299\Documents\VuforiaStudio\Projects\pump_trial_5\resource_cache\mtg\Ilustración axial pump simple.b99c412406c8a1a48d17213162d05d527368f494.gltf' { [Error: ENOENT: no such file or directory, rename 'C:\Users\TI 0299\Documents\VuforiaStudio\Projects\pump_trial_5\resource_cache\mtg\Ilustración axial pump simple.gltf' -> 'C:\Users\TI 0299\Documents\VuforiaStudio\Projects\pump_trial_5\resource_cache\mtg\Ilustración axial pump simple.b99c412406c8a1a48d17213162d05d527368f494.gltf']
errno: -4058,
code: 'ENOENT',
syscall: 'rename',
path:
'C:\\Users\\TI 0299\\Documents\\VuforiaStudio\\Projects\\pump_trial_5\\resource_cache\\mtg\\Ilustración axial pump simple.gltf',
dest:
'C:\\Users\\TI 0299\\Documents\\VuforiaStudio\\Projects\\pump_trial_5\\resource_cache\\mtg\\Ilustración axial pump simple.b99c412406c8a1a48d17213162d05d527368f494.gltf' }
Solved! Go to Solution.
I think Samuel is on the right track about filenames, specifically about accented characters in some of the filenames of your resources. For example:
Ilustración axial pump simple.pvz
I suspect should be something more like this
Ilustración axial pump simple.pvz
but the filename is getting munged because an encoding mismatch. Can you try renaming your resource files without any accented characters and see if that fixes the problem?
You might also be able to fix the problem by opening the project JSON files in a text editor (one that is aware of encodings) and fixing the filenames there with the correct encoding, if you want to keep the original filenames.
Hello,
It seems some files are listed in the Project but missing in hard drive.
Or it might be a syntax issue with some filename.
Best regards,
Samuel
I think Samuel is on the right track about filenames, specifically about accented characters in some of the filenames of your resources. For example:
Ilustración axial pump simple.pvz
I suspect should be something more like this
Ilustración axial pump simple.pvz
but the filename is getting munged because an encoding mismatch. Can you try renaming your resource files without any accented characters and see if that fixes the problem?
You might also be able to fix the problem by opening the project JSON files in a text editor (one that is aware of encodings) and fixing the filenames there with the correct encoding, if you want to keep the original filenames.