I try to run fresh solution in xamarin but get an error "Unable to open file or read: Invalid argument".
I think that the problem is cyrillic user name. Is there a way to fix it without renaming user?
Error:
Severity Code Description Project File Line Suppression State
Error Unable to open file for read: Invalid argument HelloCrossPlatformWorld.Droid C:\Users\???????\AppData\Local\Temp\3lmzv4g2.pvd\manifest\AndroidManifest.xml
Output:
Starting runtime checks
Starting emulator Nexus_5X_API_28 ...
1>------ Build started: Project: HelloCrossPlatformWorld.Droid, Configuration: Debug Any CPU ------
C:\android\SDK\emulator\emulator.EXE -partition-size 512 -no-boot-anim -avd Nexus_5X_API_28 -prop monodroid.avdname=Nexus_5X_API_28
ERROR: resizing partition e2fsck failed with exit code 8emulator: WARNING: userdata partition is resized from 1 M to 2048 M
HAX is working and emulator runs in fast virt mode.
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-0c7d255f-7f0b-4ce7-a760-4dae02030c12-5340-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-0e3a40e7-e147-4ccc-b03c-cd98b7177a26-9860-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-10035f6b-dfc5-4e8a-918c-3e946b07dafb-1320-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-209243bb-de89-451c-9bc0-4a73ec160244-15848-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-30f48f7d-5e23-446e-9b1c-01a8ebf8d009-1332-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-3ab578be-f274-4fdc-bd59-a193eb4ee885-4188-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-43cbcfd5-87fa-4745-b344-87864ac452f9-100-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-49f1fada-3e7c-41a1-b230-c40b2418f32b-8668-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-4b1a0ab3-e7ed-4ae0-8414-28d2eed9881a-6940-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-4c0abb15-350e-4cad-b779-3a4f8e073c6e-10816-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-4c6a3df0-29f7-428b-ae99-c3e4b2c1160b-14012-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-4d871e93-b5cf-4b13-9a3b-622d8899174d-3956-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-56279d77-95dc-4c60-afb7-7be2701ed0e2-4052-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-56ee4e18-3d5b-4e0f-b6fe-bd690ee15f4b-14884-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-57376a39-7192-48e2-9641-08d50f302a2f-14216-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-5d8915da-10e6-435d-9164-6dbcb3c38497-15352-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-5fdb91d2-0a4a-40e5-9223-8dbb0f78e1c3-18260-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-6cd3a315-2d12-4e89-976a-dae74ef90670-4456-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-732f3b1d-b9e7-4481-83a4-230e904f9b42-15956-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-732f3b1d-b9e7-4481-83a4-230e904f9b42-15956-1001.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-80958925-8ba3-4949-a6b4-ff22214ae0f4-12244-0.open'
1>C:\Users\???????\AppData\Local\Temp\3lmzv4g2.pvd\manifest\AndroidManifest.xml : error APT0000: Unable to open file for read: Invalid argument
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
emulator: WARNING: Not saving state: emulator hasn't finished booting.
emulator: WARNING: (metrics) failed to rename an active log file 'C:\Users\Ðдитный.android\metrics\spool\emulator-metrics-961b5120-9240-4028-b7b9-e4f383a1902f-13524-0.open'
emulator: WARNING: (metrics) failed to rename an abandoned log file 'emulator-metrics-961b5120-9240-4028-b7b9-e4f383a1902f-13524-0.open'
Emulator Nexus_5X_API_28 was stopped.
Runtime checks completed
Ok, I just reset the computer and changed the letters of the user name to Latin. Now it's works fine.
Related
When I run this command:
ionic cordova run ios -- --verbose
On my Mac Mini, with Xcode installed, I get an error that I am not sure what it is referring to. Here is the error (I provided some extra lines for context and I do have the Legacy Build system enabled):
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
2021-02-12 09:37:32.166 xcodebuild[66659:802711] Error Domain=com.apple.CoreSimulator.SimError Code=160 "Unable to determine SimDeviceSet, set_path=(null)" UserInfo={NSLocalizedDescription=Unable to determine SimDeviceSet, set_path=(null), NSUnderlyingError=0x7fdaed0f1d30 {Error Domain=NSPOSIXErrorDomain Code=12 "Cannot allocate memory" UserInfo={NSLocalizedFailureReason=Allocation or initialization failed., NSLocalizedDescription=Failed to initialize simulator device set.}}}
2021-02-12 09:37:32.168 xcodebuild[66659:802711] iOSSimulator: [SimServiceContext defaultDeviceSetWithError:] returned nil (Error Domain=com.apple.CoreSimulator.SimError Code=160 "Failed to initialize simulator device set." UserInfo={NSLocalizedFailureReason=Failed to subscribe to notifications from CoreSimulatorService., NSLocalizedDescription=Failed to initialize simulator device set., NSUnderlyingError=0x7fdaed0f27b0 {Error Domain=com.apple.CoreSimulator.SimError Code=160 "Unable to determine SimDeviceSet, set_path=(null)" UserInfo={NSLocalizedDescription=Unable to determine SimDeviceSet, set_path=(null), NSUnderlyingError=0x7fdaed0f1d30 {Error Domain=NSPOSIXErrorDomain Code=12 "Cannot allocate memory" UserInfo={NSLocalizedFailureReason=Allocation or initialization failed., NSLocalizedDescription=Failed to initialize simulator device set.}}}}}). Simulator device support disabled.
2021-02-12 09:37:32.221 xcodebuild[66659:802657] [MT] IDELogStore: Failed to open log store at /var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Logs/Build
2021-02-12 09:37:32.222 xcodebuild[66659:802657] [MT] IDELogStore: Failed to open Build log store: Error Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Logs/Build': (513) You don’t have permission to save the file “Build” in the folder “Logs”." UserInfo={NSLocalizedDescription=Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Logs/Build': (513) You don’t have permission to save the file “Build” in the folder “Logs”.}. User info: {
NSLocalizedDescription = "Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Logs/Build': (513) You don\U2019t have permission to save the file \U201cBuild\U201d in the folder \U201cLogs\U201d.";
}.
2021-02-12 09:37:32.264 xcodebuild[66659:802657] [MT] IDELogStore: Failed to open log store at /var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Logs/Package
2021-02-12 09:37:32.264 xcodebuild[66659:802657] [MT] IDELogStore: Failed to open Package log store: Error Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Logs/Package': (513) You don’t have permission to save the file “Package” in the folder “Logs”." UserInfo={NSLocalizedDescription=Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Logs/Package': (513) You don’t have permission to save the file “Package” in the folder “Logs”.}. User info: {
NSLocalizedDescription = "Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Logs/Package': (513) You don\U2019t have permission to save the file \U201cPackage\U201d in the folder \U201cLogs\U201d.";
}.
2021-02-12 09:37:32.280 xcodebuild[66659:802657] Couldn't create intermediates directory: You don’t have permission to save the file “Intermediates.noindex” in the folder “Build”.
Couldn't set atribute on intermediates directory: setxattr(/var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Build/Intermediates.noindex, com.apple.xcode.CreatedByBuildSystem, true): No such file or directory (2)
Couldn't set atribute on intermediates directory: setxattr(/var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Build/Intermediates.noindex, com.apple.xcode.CreatedByBuildSystem, true): No such file or directory (2)
Couldn't set atribute on intermediates directory: setxattr(/var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Build/Intermediates.noindex, com.apple.xcode.CreatedByBuildSystem, true): No such file or directory (2)
2021-02-12 09:37:32.773 xcodebuild[66659:802657] [MT] IDELogStore: Failed to open log store at /var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Logs/Test
2021-02-12 09:37:32.773 xcodebuild[66659:802657] [MT] IDELogStore: Failed to open Test log store: Error Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Logs/Test': (513) You don’t have permission to save the file “Test” in the folder “Logs”." UserInfo={NSLocalizedDescription=Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Logs/Test': (513) You don’t have permission to save the file “Test” in the folder “Logs”.}. User info: {
NSLocalizedDescription = "Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Logs/Test': (513) You don\U2019t have permission to save the file \U201cTest\U201d in the folder \U201cLogs\U201d.";
}.
2021-02-12 09:37:32.808 xcodebuild[66659:802657] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-16139/IDEFoundation/Buildables/IDEWorkspaceArena.m:1131
Details: Failed to create workspace arena at <DVTFilePath:0x7fdaef42b970:'/var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj'>: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “ios-deploy-fmmaocaaeccvdogvcypgumhupubj” in the folder “DerivedData”." UserInfo={NSFilePath=/var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj, NSUnderlyingError=0x7fdaec7cd050 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
Object: <IDEWorkspaceArena: 0x7fdaef41f4a0>
Method: -createWorkspaceArenaFolderIfNecessary
Thread: <NSThread: 0x7fdaec607c20>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
Couldn't set atribute on intermediates directory: setxattr(/var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Build/Intermediates.noindex, com.apple.xcode.CreatedByBuildSystem, true): No such file or directory (2)
note: Using new build system
error: Build service could not start build operation: unknown error while handling message: fopen(/var/empty/Library/Developer/Xcode/DerivedData/ios-deploy-fmmaocaaeccvdogvcypgumhupubj/Build/Intermediates.noindex/XCBuildData/PIFCache/WORKSPACE#v11_hash=(null)_subobjects=81f2a101a7ac69098e1a397e863616a6-Workspace.lock, wb): No such file or directory (2)
** BUILD FAILED **
npm ERR! code ELIFECYCLE
npm ERR! errno 65
npm ERR! ios-deploy#1.11.4 preinstall: `./src/scripts/check_reqs.js && xcodebuild`
npm ERR! Exit status 65
npm ERR!
npm ERR! Failed at the ios-deploy#1.11.4 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/xxxDev/.npm/_logs/2021-02-12T16_37_32_939Z-debug.log
I am getting an error while running a code in TensorFlow for data pre-processing.
NotFoundError: NewRandomAccessFile failed to Create/Open: C:\Users\353\tensorflow_datasets\mnist\1.0.0\mnist-train.tfrecord-00005-of-00010 : The system cannot find the file specified.
; No such file or directory [Op:IteratorGetNextSync]
If I go to my localhost link it displays this error:
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening required 'C:/Users/GuylianWasHier/OneDrive - ROC Ter AA/1. School/1. Web Development/2. WebDev Projects/index.php' (include_path='.;C:/laragon/etc/php/pear') in Unknown on line 0
How do i fix this?
The Laragon's default document root is: C:\laragon\www
Please move "2. WebDev Projects/index.php" to that location.
Note: Don't use space in your folder name.
i am facing below errors while installing live site backup on local workstation. I imported database backup too in mysql.
Renamed "local.xml.sample" to "local.xml".
renamed cache folder.
But yet it gives below error.
1. Warning: include_once(Mage/Core/functions.php): failed to open stream: No such file or directory in C:\wamp\www\app\Mage.php on line 50
2. Warning: include_once(): Failed opening 'Mage/Core/functions.php' for inclusion (include_path='C:\wamp\www\app\code\local;C:\wamp\www\app\code\community;C:\wamp\www\app\code\core;C:\wamp\www\lib;.;C:\php\pear') in C:\wamp\www\app\Mage.php on line 50
3. Warning: include(Mage\Core\Model\App.php): failed to open stream: No such file or directory in C:\wamp\www\lib\Varien\Autoload.php on line 93
4. Warning: include(): Failed opening 'Mage\Core\Model\App.php' for inclusion (include_path='C:\wamp\www\app\code\local;C:\wamp\www\app\code\community;C:\wamp\www\app\code\core;C:\wamp\www\lib;.;C:\php\pear') in C:\wamp\www\lib\Varien\Autoload.php on line 93
5. Fatal error: Class 'Mage_Core_Model_App' not found in C:\wamp\www\app\Mage.php on line 670
The most probable answer - you have incorrect hierarchy of your project files, ie you didn't copy whole project to your workstation. You need to check if app\code\core\Mage\Core folder is present and contains all the mentioned files.
When setting up the Forge DecompWorkspace, it crashes when creating the :makestart. Any help? Below is my output when run.
Thanks.
P.S. I have tried running it with --refresh-dependencies, but still no luck. Also, Java 7 and its JDK are installed completely and correctly.
C:\Minecraft\1.7\Project>gradlew setupDevWorkspace --refresh-dependencies
****************************
Powered By MCP:
http://mcp.ocean-labs.de/
Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
MCP Data version : unknown
****************************
:downloadClient SKIPPED
:downloadServer SKIPPED
:getVersionJson
:extractUserDev UP-TO-DATE
:mergeJars SKIPPED
:applyBinPatches SKIPPED
:downloadMcpTools SKIPPED
:extractMcpData UP-TO-DATE
:genSrgs SKIPPED
:deobfBinJar SKIPPED
:extractNatives UP-TO-DATE
:getAssetsIndex
:getAssets
:makeStart
[ant:javac] error: error reading C:\Users\redgames1234\.gradle\caches\modules-2\
files-2.1\tv.twitch\twitch-external-platform\4.5\c3cde57891b935d41b6680a9c5e1502
eeab76d86\twitch-external-platform-4.5-natives-windows-64.jar; error in opening
zip file
[ant:javac] error: error reading C:\Users\redgames1234\.gradle\caches\modules-2\
files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.1\aa9aae879af8eb378e22cfc64db56ec2c
a9a44d1\lwjgl-platform-2.9.1-natives-linux.jar; error in opening zip file
[ant:javac] error: error reading C:\Users\redgames1234\.gradle\caches\modules-2\
files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.1\2d12c83fdfbc04ecabf02c7bc8cc54d03
4f0daac\lwjgl-platform-2.9.1-natives-osx.jar; error in opening zip file
[ant:javac] error: error reading C:\Users\redgames1234\.gradle\caches\modules-2\
files-2.1\com.google.guava\guava\17.0\9c6ef172e8de35fd8d4d8783e4821e57cdef7445\g
uava-17.0.jar; error in opening zip file
[ant:javac] error: error reading C:\Users\redgames1234\.gradle\caches\modules-2\
files-2.1\org.apache.commons\commons-lang3\3.3.2\90a3822c38ec8c996e84c16a3477ef6
32cbc87a3\commons-lang3-3.3.2.jar; error in opening zip file
[ant:javac] 5 errors
:makeStart FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':makeStart'.
> Compile failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
BUILD FAILED
Total time: 2 mins 10.551 secs
C:\Minecraft\1.7\Project>gradlew --refresh-dependencies setupDevWorkspace idea
****************************
Powered By MCP:
http://mcp.ocean-labs.de/
Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
MCP Data version : unknown
****************************
:downloadClient SKIPPED
:downloadServer SKIPPED
:getVersionJson
:extractUserDev UP-TO-DATE
:mergeJars SKIPPED
:applyBinPatches SKIPPED
:downloadMcpTools SKIPPED
:extractMcpData UP-TO-DATE
:genSrgs SKIPPED
:deobfBinJar SKIPPED
:extractNatives UP-TO-DATE
:getAssetsIndex
:getAssets
:makeStart
[ant:javac] error: error reading C:\Users\redgames1234\.gradle\caches\modules-2\
files-2.1\tv.twitch\twitch-external-platform\4.5\c3cde57891b935d41b6680a9c5e1502
eeab76d86\twitch-external-platform-4.5-natives-windows-64.jar; error in opening
zip file
[ant:javac] error: error reading C:\Users\redgames1234\.gradle\caches\modules-2\
files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.1\aa9aae879af8eb378e22cfc64db56ec2c
a9a44d1\lwjgl-platform-2.9.1-natives-linux.jar; error in opening zip file
[ant:javac] error: error reading C:\Users\redgames1234\.gradle\caches\modules-2\
files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.1\2d12c83fdfbc04ecabf02c7bc8cc54d03
4f0daac\lwjgl-platform-2.9.1-natives-osx.jar; error in opening zip file
[ant:javac] error: error reading C:\Users\redgames1234\.gradle\caches\modules-2\
files-2.1\com.google.guava\guava\17.0\9c6ef172e8de35fd8d4d8783e4821e57cdef7445\g
uava-17.0.jar; error in opening zip file
[ant:javac] error: error reading C:\Users\redgames1234\.gradle\caches\modules-2\
files-2.1\org.apache.commons\commons-lang3\3.3.2\90a3822c38ec8c996e84c16a3477ef6
32cbc87a3\commons-lang3-3.3.2.jar; error in opening zip file
[ant:javac] 5 errors
:makeStart FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':makeStart'.
> Compile failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
BUILD FAILED
Total time: 2 mins 46.544 secs
C:\Minecraft\1.7\Project>