I shared .trace file that I created with XCode 12.5 Instruments and sent it to the other developers to analyze but they can not open it because of next error:
I don't have this file on my mac and don't know how to find it but I can open my file successfully.
How to share a .trace file?
You can find 0B463CA7-E796-4DB1-B46B-EEBE0B1664E7 file from inside your .trace file.
Open your_file.trace (i.e. 'Show Package Contents' in Finder)
Unzip your_file.trace/shared_data/1.run/0B463CA7-E796-4DB1-B46B-EEBE0B1664E7.zip
Then you can find the second your_file.trace in the unzipped folder e.g.: Users/user/Downloads/your_file.trace
Open the second .trace file and find 0B463CA7-E796-4DB1-B46B-EEBE0B1664E7 e.g: your_file.trace/shared_data/1.run/0B463CA7-E796-4DB1-B46B-EEBE0B1664E7
Copy 0B463CA7-E796-4DB1-B46B-EEBE0B1664E7 file to your_file.trace/shared_data/1.run of your root .trace file.
As a result you must have both 0B463CA7-E796-4DB1-B46B-EEBE0B1664E7 and 0B463CA7-E796-4DB1-B46B-EEBE0B1664E7.zip at the same location inside your .trace file and now it is available to open anywhere.
If you open this file on your mac steps to unzip and find this file are made automatically by Instruments because the zip file have a folder structure that points to your user but this doesn't work for an other user so may be it's a bug of Instruments.
I have a spring boot server hosting a product's file distribution and the product has .exe and .app versions. The .exe file is stored and transmitted without issue but the .app file (created from MacOS and transferred into windows via TeamViewer) is displayed as a folder. The server does not recognize it as a file as well and throws
java.io.FileNotFoundException: source\MyApp.app (Access is denied)
When I create a sample text file and save it as test.app it is treated as a file and not a folder. There is no option to change the folder to a file or method to change it's default opening with explorer. I think it does not care about the .app extension and it treats the .app as file name. I tried to zip it and send to windows but it still doesn't work. See the screenshot for what I mean.
My question is is there any way to change the way windows treats the .app file as a folder? I want it to treat it like a unopenable or raw file.
I solved it by removing the extension and treating it as a normal folder (because .app will not allow Java to read from it and I don't know why). Then I read the contents of the file and made it into a zip archive with the extension 'app' and it works correctly.
I am accepting this as a temporary solution but need to find the cause of this problem.
it's possible copy 3 file into different folder in mac osx via some kind of system?
Scenario
one file need to be copied, for example a silverlight app inside
/Application Folder
one file need to be copied, inside /Documents
folder
another inside /picture folder
What can I use?(pkg, a navite osx app) what is the easiest way?
I need that this is an user friendly installation (no shell script)
I want to open certain folders and files using run command.
I know that creating a shortcut for the required file or folder and placing it in the System32 folder will do the task. However i don't like to use System32 folder.
I would like to know if it is possible to create a folder under local hard disk and put the shortcuts into that and i would route it some how such that i would be able to open the apps and the files directly by typing the name of the shortcut into the run window.
Setting any Environment Variables would help?
Adding the folder to the PATH variable solved the issue.
As correctly answered by a_horse_with_no_name.
I am having strange problem. I used to run appcfg.py to update my app to appengine but now its not working anymore. When I run this command
C:\Program Files <x86>\Google\google_appengine>appcfg.py update E:\path\myApp\
Its not giving me anything, no error no feedback. Its just back to this line
C:\Program Files <x86>\Google\google_appengine>
Any idea about this issue!
P.S. I'm using Python 2.7. My code is updating through google app launcher but I need to run it from cmd prompt as I will be downloading/uploading appengine stuff which launcher doesn't allow me to do!
Thanks
I still had a little trouble with the instructions. Here's the steps I used to create a batch file to use the Google App Engine download_app with Windows 7.
In my example,
I'll use drive, C:
Default python path will be, C:\Python27\python.exe
GAE path (include "), "C:\Program Files (x86)\Google\google_appengine\appcfg.py"
App ID {your_app_id} will be just your app-id name
{your_app_version} is the "Version:" number in your GAE app.yaml file
I'll create a folder on my Windows 7 desktop and call it GAE_App
The desktop folder path will be C:\Users\{username}\Desktop\GAE_App
{your email} will be the Gmail account connected to your GAE
Right-click on the desktop and select New->Text Document. Open the newly created text document and add the following line of code modified for your setup to the blank text document,
C:\Python27\python.exe "C:\Program Files (x86)\Google\google_appengine\appcfg.py" download_app -A {your_app_id} -V {your_app_version} --email={your email} C:\Users\{username}\Desktop\GAE_App
Save the text document and change the file name to GAE_Download.bat
It's important that the extension now says ".bat" instead of ".txt"
Once finished, click on the batch to execute it. You'll be asked for a password and then the files should download into the GAE_App folder on your desktop. Now, whenever you need to download your files, just click on the batch file.
Not sure why Google didn't simply include this feature with their GAE for Windows software.
I faced the same issue. Here is a simple solution.
Just do this following Steps:
Go to program file where google app engine is installed. Generally It is named as Google.
click on appcfg.py and select open with.. Select "Choose Default Programs".
Select Python from programs and select "Always Use the selected program to open this kind of file" .
Now run the command you should get the results on command line.
For reference click here
Fixed by accessing python lib like that
C:\Python27>python appcfg.py update E:\path\myApp\
Here's a solution that worked for me:
"google_appengine/appcfg.py" update "C:\PATH TO APP
The appcfg.bat that should be used is located **C:\Program Files\Google\Cloud SDK\google-cloud-sdk\platform\appengine-java-sdk\bin** and not the empty appcfg.bat that for some unknown reason also was here C:\Program Files\Google\Cloud SDK\
Good practice is to add this path to the system variable PATH
This worked for me
Basis
<PATH_TO_PYTHON>python <PATH_TO_APPCFG.PY>appcfg.py -A <PROJECT_INSTANCE_NAME> update app.yaml
Example
X:\Software\Python2.7\python Q:\SOFTWARE\GoogleAppEngineSDK\appcfg.py -A great-1337 update app.yaml