Failed to open macos disk image file using virtual box - macos

At the outset I would like to thank you who ever answers this question.
I am getting the following error message while opening a mac os .dmg file using virtual box.(I am trying to run a mac os(mojave) using virtual box on a windows 10 machine with the ultimate goal of creating a ios app using this arrangement)
Failed to open the disk image file ...\Desktop\macOSUpdCombo10.14.2.dmg.
Could not open the medium '..\Desktop\macOSUpdCombo10.14.2.dmg'.
VD: error VERR_VD_DMG_INVALID_HEADER opening image file 'C:..\Desktop\macOSUpdCombo10.14.2.dmg' (VERR_VD_DMG_INVALID_HEADER).
Result Code: E_FAIL (0x80004005)
Component: MediumWrap
Interface: IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}
Callee: IVirtualBox {9570b9d5-f1a1-448a-10c5-e12f5285adad}
Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
Can any one please help me in resolving the issue?

I do not think this can be done, the only way/workaround is to buy a machine running Macos.

Related

Errors while running the first tutorial (Import SDK Demo)

The Logcat (error ) file shows these errors.
2019-03-13 20:29:04.361 7671-7671/com.dji.importSDKDemo E/sdk: install begin
2019-03-13 20:29:04.416 7671-7671/com.dji.importSDKDemo E/sdk: install begin
2019-03-13 20:29:04.857 7671-7694/com.dji.importSDKDemo E/linker: "/data/app/com.dji.importSDKDemo-km6EFSAoVvMZd-4YxdRtug==/lib/x86/libffmpeg.so" has text relocations
2019-03-13 20:29:04.864 7671-7694/com.dji.importSDKDemo E/zygote: No implementation found for byte[] dji.midware.natives.SDKRelativeJNI.native_getXXXX(java.lang.String) (tried Java_dji_midware_natives_SDKRelativeJNI_native_1getXXXX and Java_dji_midware_natives_SDKRelativeJNI_native_1getXXXX__Ljava_lang_String_2)
2019-03-13 20:29:04.865 7671-7694/com.dji.importSDKDemo E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
Process: com.dji.importSDKDemo, PID: 7671
java.lang.UnsatisfiedLinkError: No implementation found for byte[] dji.midware.natives.SDKRelativeJNI.native_getXXXX(java.lang.String) (tried Java_dji_midware_natives_SDKRelativeJNI_native_1getXXXX and Java_dji_midware_natives_SDKRelativeJNI_native_1getXXXX__Ljava_lang_String_2)
at dji.midware.natives.SDKRelativeJNI.native_getXXXX(Native Method)
at com.dji.h.a.a.c.b(Unknown Source:22)
at dji.midware.e.b(Unknown Source:2)
at dji.sdk.sdkmanager.DJISDKManager.(Unknown Source:2)
at dji.sdk.sdkmanager.DJISDKManager.getInstance(Unknown Source:0)
at com.dji.importSDKDemo.MainActivity$1.run(MainActivity.java:123)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
Have you followed this tutorial to learn how to import DJI Android SDK to your application? https://developer.dji.com/mobile-sdk/documentation/application-development-workflow/workflow-integrate.html#android-studio-project-integration
Yes I followed the tutorial and the code successfully executed, problem was in the app key . I was using different app key for different project package. Also DJI SDK tutorials run successfully on mobile device than in virtual emulator so it is better to check your application on mobile device.

Trouble Creating and Executing an Intel SGX Enclave

I'm very new to SGX and wanted to start with something simple. Fortunately, I found this very basic tutorial. Unfortunately, as simple as it is, I can't get it to work. The code executes, but there are errors in the output.
[sgx_create_enclavew ..\urts\win\urts.cpp:195] Couldn't open file with CreateFile()
error 0x200f, failed to create enclave.
Buffertests:
Buffer before change: Hello World!
Buffer after change: Hello World!
Stringtests:
Returned Secret:
Saved Secret: My secret string
Load Secret:
Integertests:
secretIntValue first load: 0
saved a 1337 to the enclave.
secretIntValue second load after 1337 was saved: 0
error, failed to destroy enclave.
image of output
the tutorial says:
If you get the error SGX couldn't find the enclave file. The solution is to move the enclave_test_save.signed.dll into the same folder where the app_test_save.exe is located.
which I've tried, but it didn't solve the problem.
when I try to create the enclave using:
sgx_create_enclave(ENCLAVE_FILE, SGX_DEBUG_FLAG, &token, &updated, &eid, NULL);
it returns: SGX_ERROR_ENCLAVE_FILE_ACCESS
could the problem be a result of using a different version of Visual Studio? (The tutorial uses VS 2012, while I'm using VS 2015)
Did you run the application through command prompt or from IDE?
If you are using IDE, You need to change the debugging properties to $(OutDir) from $(ProjecttDir) under Project Properties->Configuration Properties->Debugging->Working Directory.(Both Enclave and Application) Select the Intel(R) SGX Debugger.
Disclaimer: I had the same error although under a different setting (Ubuntu, eclipse) so I am not sure to what extent this will help.
Before initialize_enclave() is called (which in turn calls sgx_create_enclave()), a chdir(absolutePath) command needs to be executed, where absolutePath needs to be the absolute path to where your executable is.
My error was due to a wrong path I used.
Thanks, I solved it. turns out I had to place enclave_test_save.signed.dll in the root folder with the .edl file and not with the .exe file.

cannot deploy app to windows phone 8.1 device

When I'm trying to deploy (any) Windows Phone 8.1 error I get the following error in VS2013:
Error 3 Error : DEP6100 : The following unexpected error occurred during boostrapping stage 'Downloading package 'FF63DEA8-0A0C-4E52-B20F-84F390C30F32'':
DirectoryNotFoundException - The system cannot find the path specified.
And in VS2015:
Show Details Severity Code Description Project File Line
Error Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Downloading package 'EB22551A-7F66-465F-B53F-E5ABA0C0574E (NativeMsVsMon)'':
DirectoryNotFoundException - The system cannot find the path specified.
I can deploy the app in Visual Studio 2013 , but in my case this is not an option because VS2013 does not support universal applicationss, so I can't open my project.
Phone is recognized by my computer, it is unlocked, I've tried resetting import export settings.
I have VS2013 update 4.
I was facing the same issue. Don't know if this is related to your issue but I've discovered that all the mess was generated by a failed attempt to update the device OS.
In short, i was unable to update my device to the last OS version. This blocked appx installations and also VS deploys.
For reference
http://www.ibtimes.co.uk/lumia-denim-update-installation-error-8018830f-developer-preview-devices-how-resolve-1482757
The only soultion I've found is to reset the device via the recovery tool mentioned in the above link
good luck

Delphi XE2 Firemonkey sample app not running on a MAC

I am trying to run a sample Firemonkey app on a Mac, but I am getting this message in the mac:
dyld: Library not loaded: #rpath/libcgunwind.1.0.dylib
Referenced from: /Users/nobre/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-Nobre/Project37.app/Contents/MacOS/Project37
Reason: image not found
dyld: Library not loaded: #rpath/libcgunwind.1.0.dylib
Referenced from: /Users/nobre/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-Nobre/Project37.app/Contents/MacOS/Project37
Reason: image not found
dyld: Library not loaded: #rpath/libcgunwind.1.0.dylib
Referenced from: /Users/nobre/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-Nobre/Project37.app/Contents/MacOS/Project37
Reason: image not found
I used this tutorial to add a OSX platform:
New Mac and Rad Studio XE2
EDIT
More info about the error:
Process: Teste2 [34270]
Path: /Users/User/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-VM/Teste2.app/Contents/MacOS/Teste2
Identifier: Teste2
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [94]
Date/Time: 2011-09-01 19:36:26.246 +0100
OS Version: Mac OS X 10.6.8 (10K540)
Report Version: 6
Interval Since Last Report: 3908 sec
Crashes Since Last Report: 4
Per-App Crashes Since Last Report: 4
Anonymous UUID: 58C242CA-C324-4A23-86ED-96D93C7C1A84
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0
Dyld Error Message:
Library not loaded: #rpath/libcgunwind.1.0.dylib
Referenced from: /Users/User/Applications/Embarcadero/PAServer/scratch-dir/rafael_colucci-VM/Teste2.app/Contents/MacOS/Teste2
Reason: image not found
Binary Images:
0x8fe00000 - 0x8fe4163b dyld 132.1 (???) <4CDE4F04-0DD6-224E-ACE5-3C06E169A801> /usr/lib/dyld
Model: VMware Virtual Platform, BootROM 6.00, 1 processor, 30 GHz, 1 GB, SMC 1.30f3
Graphics: VMware SVGA II, VMware SVGA II, PCI, 16 MB
Network Service: Ethernet, Ethernet, en0
Parallel ATA Device: VMware Virtual IDE CDROM Drive
SCSI Device: SCSI Target Device # 0
USB Device: VMware Virtual USB Hub, 0x0e0f (VMWare, Inc.), 0x0002, 0x00200000 / 3
USB Device: VMware Virtual USB Keyboard, 0x05ac (Apple Inc.), 0x020b, 0x00210000 / 4
USB Device: VMware Virtual USB Mouse, 0x0e0f (VMWare, Inc.), 0x0003, 0x00100000 / 2
EDIT
Some screenshots:
I just installed the Delphi XE2 Trial and I'm getting the same issue - unable to start a FireMonkey application on Mac OS X because of the missing libcgunwind.1.0.dylib.
However, I believe I know what the problem is. This file should be inside the ($BDS)\Redist\osx32 folder ready to be deployed with your Delphi OSX application. But, if you only installed the Delphi XE2 product instead of the complete RAD Studio XE2, these redistributable files will be missing, e.g. not installed at all.
Wherever this specific file is mentioned in the documents, it's in relation to C++Builder. So if this really is the issue, it's probably a (not so small) oversight on Embarcadero side.
To answer your question - I believe if you install the C++Builder XE2 trial, or the whole RAD Studio XE2 package, you should get these redistributable files.
If you go to the directory where PAServer was installed on you Mac, you should see that libcgunwind.1.0.dylib is present there.
The installer tries to help by creating a paserver.command file. If you launch using this, it should set your library path correctly so the above file is found.
If you've moved your PAServer location, just manually update the paserver.command file with the appropriate paths and run.
Runtime error 231 at 000169AD
this is a problem under VMWare, see
https://forums.embarcadero.com/message.jspa?messageID=393962
Workaround is copy FMX.Filter.pas to your project directory and modify:
function FilterByName(const AName: string): TFilter;
var
i: Integer;
begin
Result := nil;
if Filters = nil then
Exit;
if GlobalUseHWEffects then
begin
for i := 0 to Filters.Count - 1 do
if CompareText(TFilterClass(Filters.Objects[i]).FilterAttr.Name, AName) = 0
then
begin
Result := TFilterClass(Filters.Objects[i]).Create;
Exit;
end;
end;
end;
function FilterClassByName(const AName: string): TFilterClass;
var
i: Integer;
begin
Result := nil;
if Filters = nil then
Exit;
if GlobalUseHWEffects then
begin
for i := 0 to Filters.Count - 1 do
if CompareText(TFilterClass(Filters.Objects[i]).FilterAttr.Name, AName) = 0
then
begin
Result := TFilterClass(Filters.Objects[i]);
Exit;
end;
end;
end;
and in dpr set GlobalUseHWEffects := False;
This is because VMWare and emulating graphics hardware
You have to install the PA Server here follow these instructions
Installing and Running the PA on Mac OS X
Embarcadero's instructions on starting the remote server seem to be incorrect. Use the paserver.copmmand file to start the server. Then my project ran fine.
Then Deploying. Change the build configuration to Release instead of Debug. You have to copy the libcgunwind.1.0.dylib to the Redist\osx32 directory or the release will fail. Then tried build/release again. The "project".rsm file is in the debug directory and not in the release directory. I copied the .rsm file to the release directory, Deployed and it worked. This was the case with my own demo project and the controlsDemo project. Either one worked the same way.
A bit rough start but everything is working. Don't know why they put a menubar on the controls demo since it is not very mac-like. Change it to a main menu and everything works great.
Bill
I have solved this for me. I was clicking the green run button in the ide which is 'run without debugging'.
Click the run button next to it, which in XE2 is the run button us older people are used to.
If think you need to open a cmd window and do the following command to populate the Redist folder, after that the the Deployment Manager will locate the necessary files:
C:\Program Files (x86)\Embarcadero\RAD Studio\9.0\Redist> redistsetup default
Deployment Manager has a "Reconcile" button to refresh the list.
console "Hello, World"
release - works fine (Hello, World) appears in Platform Assistant
terminal window
debug - same as release
empty 2D Form
release - Runtime error 231 at 000169AD
debug - seems to run (bouncing Spartan Helmet icon in dock) but
the form never appears
empty 3D Form
release - Platform Assistant terminal window shows "invalid pixel
format" and "invalid context" messages but form appears and menu bar
has "Project1" in it
debug - same as release
These errors mean that you run your application under MacOS that was installed on Virtual Machine. Installation of MacOS on VM conflicts with license, and therefore Embarcadero does not plan to support the VM environment.
Just click paserver.command instead of just paserver..
It works!
U can even add -password=(your password) , at the end of the last line inside paserver.command (after the last " . then it starts without asking for password.
Make sure there is a space after the path to the paserver in your paserver. Command before the -password part. For instance, my password is firemonkey and the line is as follows:
"/Users/firemonkey/Applications/Embarcadero/PAServer/paserver" -password=firemonkey
Then, make sure you run the paserver from the paserver.command file.
Check the new "Redist" folder in the RAD Studio installation path. Your application needs some files from it.
Running the paserver.command helped with the first problem but most of it is the I think a missing file.
Checking deploy, the file libcgunwind.1.0.dylib in ($BDS)\Redist\osx32 folder was greyed out so I copied the file from the PAServer on the mac and refreshed now the app runs fine stand alone :)
Just copy and run the application from the PAServer folder. Remember that to install and run PAServer you should do this http://docwiki.embarcadero.com/RADStudio/XE2/en/Installing_and_Running_the_Platform_Assistant_on_the_Target_Platform#Mac%3a_Installing_and_Running_the_Platform_Assistant_.28paserver.29_on_a_Mac

Problems in installaing Magento in Windows Shared Server using Plesk

I don´t know how to do. I always have the same error no matter what I do to protect the files. The host (mochahost) don´t give me any support. So I will try if a good soul here could help me.
These are the errors:
Warning: include_once(Mage/Core/functions.php) [function.include-once]: failed to open stream: No such file or directory in C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\Mage.php on line 49
Warning: include_once() [function.include]: Failed opening 'Mage/Core/functions.php' for inclusion (include_path='C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\code\local;C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\code\community;C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\code\core;C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\lib;.;C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\Pear;./includes;./pear;./;') in C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\Mage.php on line 49
Warning: Varien_Autoload::include(Mage\Core\Model\App.php) [varien-autoload.include]: failed to open stream: No such file or directory in C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\lib\Varien\Autoload.php on line 93
Warning: Varien_Autoload::include() [function.include]: Failed opening 'Mage\Core\Model\App.php' for inclusion (include_path='C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\code\local;C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\code\community;C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\code\core;C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\lib;.;C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\Pear;./includes;./pear;./;') in C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\lib\Varien\Autoload.php on line 93
Fatal error: Class 'Mage_Core_Model_App' not found in C:\inetpub\vhosts\e-interage.com.br\httpdocs\dinossauros\app\Mage.php on line 620
Best regards
The answer is in your question - you are 'installing Magento in Windows Shared Server using Plesk.'
You are using Windows shared hosting for an application developed for a linux box, preferably one with lots of resources.
Even if you get this working you will be spending your time adapting the software to your setup, not developing your shop.
How much do you value your time?
Is it more than your (shared) computer's time?
If so, get the right hosting, which at a minimum is virtual server, linux flavour. The installation instructions will work for you. Same with any other problems you have with your build - all the instructions and forum tips are for linux, i.e. with the path separators going '/' and not Microsoft backwards-'\'.

Resources