Installing UMDF 2.x driver fails in special windows 10 version - winapi

This is an embedded not updated OS version I have to support.
I have an UMDF 2.0 driver which is otherwise successfully installed. In this particular Windows 10 version I get a message in devmgmt.msc of code 31
This device is not working properly because Windows cannot load the drivers required for this device. (Code 31)
{Operation Failed}
The requested operation was unsuccessful.
`
What I 've tried:
Check the dll for non existing dll references, no result. For example regsvr32 loads the DLL successfully.
Included the co-installers from https://learn.microsoft.com/en-us/windows-hardware/drivers/wdf/using-the-umdf-co-installer, no result. Same error.
What could be wrong? The driver's settings specify 2 major UMDF version. According to this it's supported up to 2.19.
Actually When I used to have this Windows version available there was no issue in installing my driver.
Thanks a lot.
Attached, setupapi log.
[Device Install Log]
OS Version = 10.0.14393
Service Pack = 0.0
Suite = 0x0100
ProductType = 1
Architecture = amd64
[BeginLog]
[Boot Session: 2023/01/24 17:50:03.842]
>>> [Device Uninstall (Device Manager) - ROOT\UNKNOWN\0000]
>>> Section start 2023/01/24 18:43:26.740
cmd: "C:\Windows\system32\mmc.exe" "C:\Windows\system32\devmgmt.msc"
dvi: {DIF_REMOVE} 18:43:26.740
dvi: Default installer: Enter 18:43:26.740
dvi: {Remove DEVICE}
dvi: Query-and-Remove succeeded
dvi: {Remove DEVICE exit (0x00000000)}
dvi: Default installer: Exit
dvi: {DIF_REMOVE - exit(0x00000000)} 18:43:26.771
inf: {SetupUninstallOEMInf: oem10.inf}
inf: Flags: 0x00000001
inf: Driver Store Path: C:\Windows\System32\DriverStore\FileRepository\gpsdirect2.inf_amd64_d3d123adb5799c04\gpsdirect2.inf
sto: {Setup Delete Driver Package: C:\Windows\System32\DriverStore\FileRepository\gpsdirect2.inf_amd64_d3d123adb5799c04\gpsdirect2.inf} 18:43:26.771
pol: {Driver package policy check} 18:43:26.789
pol: {Driver package policy check - exit(0x00000000)} 18:43:26.819
sto: {Unstage Driver Package: C:\Windows\System32\DriverStore\FileRepository\gpsdirect2.inf_amd64_d3d123adb5799c04\gpsdirect2.inf} 18:43:26.819
sto: {DRIVERSTORE DELETE BEGIN} 18:43:26.819
sto: {DRIVERSTORE DELETE BEGIN: exit(0x00000000)} 18:43:26.819
idb: {Unpublish Driver Package: C:\Windows\System32\DriverStore\FileRepository\gpsdirect2.inf_amd64_d3d123adb5799c04\gpsdirect2.inf} 18:43:26.819
idb: Clearing active driver package 'gpsdirect2.inf_amd64_d3d123adb5799c04'.
cpy: Unpublished 'oem10.inf'.
idb: Deindexed 2 device IDs for 'gpsdirect2.inf_amd64_d3d123adb5799c04'.
sto: Flushed driver database node 'DRIVERS'. Time = 0 ms
sto: Flushed driver database node 'SYSTEM'. Time = 47 ms
idb: {Unpublish Driver Package: exit(0x00000000)} 18:43:26.880
idb: {Unregister Driver Package: C:\Windows\System32\DriverStore\FileRepository\gpsdirect2.inf_amd64_d3d123adb5799c04\gpsdirect2.inf} 18:43:26.880
idb: Unregistered driver package 'gpsdirect2.inf_amd64_d3d123adb5799c04' from 'oem10.inf'.
idb: Deleted driver package object 'gpsdirect2.inf_amd64_d3d123adb5799c04' from DRIVERS database node.
idb: Deleted driver INF file object 'oem10.inf' from DRIVERS database node.
idb: {Unregister Driver Package: exit(0x00000000)} 18:43:26.880
cpy: {Delete Directory: C:\Windows\System32\DriverStore\FileRepository\gpsdirect2.inf_amd64_d3d123adb5799c04} 18:43:26.880
cpy: {Delete Directory: exit(0x00000000)} 18:43:26.896
sto: {DRIVERSTORE DELETE END} 18:43:26.896
sto: {DRIVERSTORE DELETE END: exit(0x00000000)} 18:43:26.896
sto: {Unstage Driver Package: exit(0x00000000)} 18:43:26.896
sto: {Setup Delete Driver Package - exit (0x00000000)} 18:43:26.896
inf: {SetupUninstallOEMInf exit (0x00000000)}
<<< Section end 2023/01/24 18:43:26.896
<<< [Exit status: SUCCESS]
>>> [Device Install (DiInstallDevice) - ROOT\UNKNOWN\0000]
>>> Section start 2023/01/24 18:43:36.167
cmd: "C:\Windows\system32\mmc.exe" "C:\Windows\system32\devmgmt.msc"
ndv: Flags: 0x00000002
dvi: Class GUID of device changed to: {5175d334-c371-4806-b3ba-71fd53c9258d}.
sto: {Setup Import Driver Package: c:\low2\gpsdirect2.inf} 18:43:36.167
inf: Provider: Michael Chourdakis
inf: Class GUID: {5175D334-C371-4806-B3BA-71FD53C9258D}
inf: Driver Version: 01/24/2023,18.34.42.980
inf: Catalog File: gpsdirect2.cat
sto: {Copy Driver Package: c:\low2\gpsdirect2.inf} 18:43:36.183
sto: Driver Package = c:\low2\gpsdirect2.inf
sto: Flags = 0x00000007
sto: Destination = C:\Users\chour\AppData\Local\Temp\{3af1d6f1-be48-dc49-85f7-ef4d56ccf70b}
sto: Copying driver package files to 'C:\Users\chour\AppData\Local\Temp\{3af1d6f1-be48-dc49-85f7-ef4d56ccf70b}'.
flq: Copying 'c:\low2\gpsdirect2.cat' to 'C:\Users\chour\AppData\Local\Temp\{3af1d6f1-be48-dc49-85f7-ef4d56ccf70b}\gpsdirect2.cat'.
flq: Copying 'c:\low2\gpsdirect2.dll' to 'C:\Users\chour\AppData\Local\Temp\{3af1d6f1-be48-dc49-85f7-ef4d56ccf70b}\gpsdirect2.dll'.
flq: Copying 'c:\low2\gpsdirect2.inf' to 'C:\Users\chour\AppData\Local\Temp\{3af1d6f1-be48-dc49-85f7-ef4d56ccf70b}\gpsdirect2.inf'.
sto: {Copy Driver Package: exit(0x00000000)} 18:43:36.214
pol: {Driver package policy check} 18:43:36.214
pol: {Driver package policy check - exit(0x00000000)} 18:43:36.214
sto: {Stage Driver Package: C:\Users\chour\AppData\Local\Temp\{3af1d6f1-be48-dc49-85f7-ef4d56ccf70b}\gpsdirect2.inf} 18:43:36.214
inf: {Query Configurability: C:\Users\chour\AppData\Local\Temp\{3af1d6f1-be48-dc49-85f7-ef4d56ccf70b}\gpsdirect2.inf} 18:43:36.214
inf: Driver package uses WDF.
inf: Driver package 'gpsdirect2.inf' is configurable.
inf: {Query Configurability: exit(0x00000000)} 18:43:36.214
flq: Copying 'C:\Users\chour\AppData\Local\Temp\{3af1d6f1-be48-dc49-85f7-ef4d56ccf70b}\gpsdirect2.cat' to 'C:\Windows\System32\DriverStore\Temp\{c7402a41-51c3-1147-b380-51c7f0015ecc}\gpsdirect2.cat'.
flq: Copying 'C:\Users\chour\AppData\Local\Temp\{3af1d6f1-be48-dc49-85f7-ef4d56ccf70b}\gpsdirect2.dll' to 'C:\Windows\System32\DriverStore\Temp\{c7402a41-51c3-1147-b380-51c7f0015ecc}\gpsdirect2.dll'.
flq: Copying 'C:\Users\chour\AppData\Local\Temp\{3af1d6f1-be48-dc49-85f7-ef4d56ccf70b}\gpsdirect2.inf' to 'C:\Windows\System32\DriverStore\Temp\{c7402a41-51c3-1147-b380-51c7f0015ecc}\gpsdirect2.inf'.
sto: {DRIVERSTORE IMPORT VALIDATE} 18:43:36.231
sig: {_VERIFY_FILE_SIGNATURE} 18:43:36.246
sig: Key = gpsdirect2.inf
sig: FilePath = C:\Windows\System32\DriverStore\Temp\{c7402a41-51c3-1147-b380-51c7f0015ecc}\gpsdirect2.inf
sig: Catalog = C:\Windows\System32\DriverStore\Temp\{c7402a41-51c3-1147-b380-51c7f0015ecc}\gpsdirect2.cat
! sig: Verifying file against specific (valid) catalog failed! (0x800b0109)
! sig: Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
sig: {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 18:43:36.246
sig: {_VERIFY_FILE_SIGNATURE} 18:43:36.246
sig: Key = gpsdirect2.inf
sig: FilePath = C:\Windows\System32\DriverStore\Temp\{c7402a41-51c3-1147-b380-51c7f0015ecc}\gpsdirect2.inf
sig: Catalog = C:\Windows\System32\DriverStore\Temp\{c7402a41-51c3-1147-b380-51c7f0015ecc}\gpsdirect2.cat
sig: Success: File is signed in Authenticode(tm) catalog.
sig: Error 0xe0000241: The INF was signed with an Authenticode(tm) catalog from a trusted publisher.
sig: {_VERIFY_FILE_SIGNATURE exit(0xe0000241)} 18:43:36.246
sto: {DRIVERSTORE IMPORT VALIDATE: exit(0x00000000)} 18:43:36.261
sig: Signer Score = 0x0F000000
sig: Signer Name = MICHAIL CHOURDAKIS
sto: {DRIVERSTORE IMPORT BEGIN} 18:43:36.261
sto: {DRIVERSTORE IMPORT BEGIN: exit(0x00000000)} 18:43:36.261
cpy: {Copy Directory: C:\Windows\System32\DriverStore\Temp\{c7402a41-51c3-1147-b380-51c7f0015ecc}} 18:43:36.261
cpy: Target Path = C:\Windows\System32\DriverStore\FileRepository\gpsdirect2.inf_amd64_d3d123adb5799c04
cpy: {Copy Directory: exit(0x00000000)} 18:43:36.261
idb: {Register Driver Package: C:\Windows\System32\DriverStore\FileRepository\gpsdirect2.inf_amd64_d3d123adb5799c04\gpsdirect2.inf} 18:43:36.261
idb: Created driver package object 'gpsdirect2.inf_amd64_d3d123adb5799c04' in DRIVERS database node.
idb: Created driver INF file object 'oem10.inf' in DRIVERS database node.
idb: Registered driver package 'gpsdirect2.inf_amd64_d3d123adb5799c04' with 'oem10.inf'.
idb: {Register Driver Package: exit(0x00000000)} 18:43:36.261
idb: {Publish Driver Package: C:\Windows\System32\DriverStore\FileRepository\gpsdirect2.inf_amd64_d3d123adb5799c04\gpsdirect2.inf} 18:43:36.261
idb: Activating driver package 'gpsdirect2.inf_amd64_d3d123adb5799c04'.
cpy: Published 'gpsdirect2.inf_amd64_d3d123adb5799c04\gpsdirect2.inf' to 'oem10.inf'.
idb: Indexed 2 device IDs for 'gpsdirect2.inf_amd64_d3d123adb5799c04'.
sto: Flushed driver database node 'DRIVERS'. Time = 0 ms
sto: Flushed driver database node 'SYSTEM'. Time = 0 ms
idb: {Publish Driver Package: exit(0x00000000)} 18:43:36.261
sto: {DRIVERSTORE IMPORT END} 18:43:36.261
dvi: Flushed all driver package files to disk. Time = 15 ms
sig: Installed catalog 'gpsdirect2.cat' as 'oem10.cat'.
sto: {DRIVERSTORE IMPORT END: exit(0x00000000)} 18:43:36.308
sto: {Stage Driver Package: exit(0x00000000)} 18:43:36.308
sto: {Setup Import Driver Package - exit (0x00000000)} 18:43:36.324
dvi: Class GUID of device changed to: {5175d334-c371-4806-b3ba-71fd53c9258d}.
dvi: {Plug and Play Service: Device Install for ROOT\UNKNOWN\0000}
ndv: Driver INF Path: C:\Windows\INF\oem10.inf
ndv: Driver Node Name: gpsdirect2.inf:c14ce884311a8e3a:gpsdirect2_Inst:18.34.42.980:umdf2\gpsdirect2
ndv: Driver Store Path: C:\Windows\System32\DriverStore\FileRepository\gpsdirect2.inf_amd64_d3d123adb5799c04\gpsdirect2.inf
dvi: Class GUID of device changed to: {5175d334-c371-4806-b3ba-71fd53c9258d}.
ndv: {Core Device Install} 18:43:36.574
! pol: Selected driver node does not match this device (force-install)
ndv: {Install Device - ROOT\UNKNOWN\0000} 18:43:36.574
ndv: Parent device: HTREE\ROOT\0
! ndv: Unable to determine matching device ID for oem10.inf. Error = 0xE0000228
! ndv: Unable to configure device, falling back to standard device installation.
dvi: {DIF_ALLOW_INSTALL} 18:43:36.589
dvi: Using exported function 'CoDeviceInstall' in module 'C:\Windows\system32\WUDFCoinstaller.dll'.
dvi: CoInstaller 1 == WUDFCoinstaller.dll
dvi: CoInstaller 1: Enter 18:43:36.589
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 18:43:36.589
dvi: Default installer: Exit
dvi: {DIF_ALLOW_INSTALL - exit(0xe000020e)} 18:43:36.589
dvi: {DIF_INSTALLDEVICEFILES} 18:43:36.589
dvi: CoInstaller 1: Enter 18:43:36.589
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 18:43:36.605
dvi: Default installer: Exit
dvi: {DIF_INSTALLDEVICEFILES - exit(0x00000000)} 18:43:36.605
flq: File 'C:\Windows\system32\DRIVERS\UMDF\gpsdirect2.dll' pruned from copy.
dvi: {DIF_REGISTER_COINSTALLERS} 18:43:36.605
dvi: Reset Device: Resetting device configuration. 18:43:36.605
dvi: Reset Device: Resetting device configuration completed. 18:43:36.605
dvi: CoInstaller 1: Enter 18:43:36.605
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 18:43:36.627
dvi: {DIF_DESTROYPRIVATEDATA} 18:43:36.627
dvi: CoInstaller 1: Enter 18:43:36.627
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 18:43:36.627
dvi: Default installer: Exit
dvi: {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 18:43:36.627
dvi: Default installer: Exit
dvi: {DIF_REGISTER_COINSTALLERS - exit(0x00000000)} 18:43:36.627
dvi: {DIF_INSTALLINTERFACES} 18:43:36.627
dvi: Using exported function 'CoDeviceInstall' in module 'C:\Windows\system32\WUDFCoinstaller.dll'.
dvi: CoInstaller 1 == WUDFCoinstaller.dll
dvi: CoInstaller 1: Enter 18:43:36.636
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 18:43:36.636
dvi: Default installer: Exit
dvi: {DIF_INSTALLINTERFACES - exit(0x00000000)} 18:43:36.636
dvi: {DIF_INSTALLDEVICE} 18:43:36.636
dvi: CoInstaller 1: Enter 18:43:36.636
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 18:43:36.636
dvi: {Install DEVICE}
dvi: {Writing Device Properties}
dvi: HardwareID=umdf2\gpsdirect2
dvi: Strong Name=oem10.inf:c14ce884311a8e3a:gpsdirect2_Inst:18.34.42.980:umdf2\gpsdirect2
dvi: {Writing Device Properties - Complete}
inf: AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall (gpsdirect2.inf line 63)
dvi: Add Service: Modified existing service 'WUDFRd'.
dvi: {Install DEVICE exit (0x00000000)}
dvi: Install Device: Configuring device class. 18:43:36.652
dvi: Install Device: Configuring device class completed. 18:43:36.652
dvi: Install Device: Starting device. 18:43:36.652
dvi: Install Device: Starting device completed. 18:43:36.683
!!! dvi: Device not started: Device has problem: 0x1f (CM_PROB_FAILED_ADD), problem status: 0xc0000001.
dvi: Default installer: Exit
dvi: CoInstaller 1: Enter (Post Processing) 18:43:36.683
dvi: CoInstaller 1: Exit (Post Processing)
dvi: {DIF_INSTALLDEVICE - exit(0x00000000)} 18:43:36.683
dvi: {DIF_NEWDEVICEWIZARD_FINISHINSTALL} 18:43:36.683
dvi: CoInstaller 1: Enter 18:43:36.683
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 18:43:36.683
dvi: Default installer: Exit
dvi: {DIF_NEWDEVICEWIZARD_FINISHINSTALL - exit(0xe000020e)} 18:43:36.683
! ndv: Queueing up error report since device has a PnP problem...
ndv: {Install Device - exit(0x00000000)} 18:43:36.824
ndv: {Core Device Install - exit(0x00000000)} 18:43:36.824
dvi: {DIF_DESTROYPRIVATEDATA} 18:43:36.824
dvi: CoInstaller 1: Enter 18:43:36.824
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 18:43:36.824
dvi: Default installer: Exit
dvi: {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 18:43:36.824
ump: {Plug and Play Service: Device Install exit(00000000)}
<<< Section end 2023/01/24 18:43:36.840
<<< [Exit status: SUCCESS]
From this setup log it seems that an error in the AddDevice is returned? How do I debug the installation of the driver? I followed https://learn.microsoft.com/en-us/windows-hardware/drivers/wdf/enabling-a-debugger and I get a debug break but the DeviceAdd is never called after that.
Edit: DLLMain is called. No other functions are called, the wufd host is terminated.

Related

conda: why I can not install pkgs in one environment, while I can install in another?

I'm using two environment of conda. I can not intall packages in one env, while I can intall packages in the other environment.
The error massage is: 'solving environment: failed'
system: windows 10 x64
The error msg:
(py3env) C:\>conda install cython
Collecting package metadata (current_repodata.json): done
Solving environment: failed
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- anaconda/pkgs/free/win-64::protobuf==3.2.0=py36_0 -> libprotobuf==3.2.0
- anaconda/pkgs/free/win-64::tensorflow==1.2.1=py36_0 -> backports.weakref==1.0rc1
- anaconda/pkgs/free/win-64::tensorflow==1.2.1=py36_0 -> bleach==1.5.0
- anaconda/pkgs/free/win-64::tensorflow==1.2.1=py36_0 -> html5lib==0.9999999
Current channels:
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
While the success info in another environment:
(py2env) C:\>conda install cython Collecting package metadata (current_repodata.json): done Solving environment: done
## Package Plan ##
environment location: C:\Users\sonic\Anaconda3\envs\py2env
added / updated specs:
- cython
The following packages will be downloaded:
package | build
---------------------------|-----------------
certifi-2019.6.16 | py27_0 151 KB
cython-0.29.11 | py27hc56fc5f_0 2.0 MB
------------------------------------------------------------
Total: 2.1 MB
The following NEW packages will be INSTALLED:
cython pkgs/main/win-64::cython-0.29.11-py27hc56fc5f_0
The following packages will be UPDATED:
certifi anaconda/pkgs/free::certifi-2016.2.28~ --> pkgs/main::certifi-2019.6.16-py27_0
Proceed ([y]/n)?
I think it is because you have packages installed from the "free" channel, but that channel has been removed. So conda is confused about what to do. You should read the blog post anaconda.com/why-we-removed-the-free-channel-in-conda-4-7 and temporarily add the "free" channel back to your configuration as described in that blog by running the command conda config --set restore_free_channel true. After you run that command, you can set the restore free channel back to false if you finished installing the Cython. Thanks for the comments of #darthbith

Error response: [2] Build failed using GCP - Golang

I'm trying deploy my server using Golang into Google Cloud Platform
I run gcloud app deploy cmd/web/app.yaml
And was return Failure status: UNKNOWN: Error Response: [2] Build failed; check build logs for details
Into the logs was print this:
Starting Step #0
Step #0: Pulling image: gcr.io/gcp-runtimes/go1-builder#sha256:[...]
Step #0: sha256:[...]: Pulling from gcp-runtimes/go1-builder
Step #0: Digest: sha256:[...]
Step #0: Status: Downloaded newer image for gcr.io/gcp-runtimes/go1-builder#sha256:[...]
Step #0: main.go:8:2: cannot find package "github.com/GoogleCloudPlatform/cloudsql-proxy/proxy/dialers/mysql" in any of:
Step #0: /usr/local/go/src/github.com/GoogleCloudPlatform/cloudsql-proxy/proxy/dialers/mysql (from $GOROOT)
Step #0: /workspace/_gopath/src/github.com/GoogleCloudPlatform/cloudsql-proxy/proxy/dialers/mysql (from $GOPATH)
Step #0: routes.go:5:2: cannot find package "github.com/bmizerany/pat" in any of:
Step #0: /usr/local/go/src/github.com/bmizerany/pat (from $GOROOT)
Step #0: /workspace/_gopath/src/github.com/bmizerany/pat (from $GOPATH)
Step #0: main.go:7:2: cannot find package "github.com/go-sql-driver/mysql" in any of:
Step #0: /usr/local/go/src/github.com/go-sql-driver/mysql (from $GOROOT)
Step #0: /workspace/_gopath/src/github.com/go-sql-driver/mysql (from $GOPATH)
Step #0: middleware.go:6:2: cannot find package "github.com/justinas/nosurf" in any of:
Step #0: /usr/local/go/src/github.com/justinas/nosurf (from $GOROOT)
Step #0: /workspace/_gopath/src/github.com/justinas/nosurf (from $GOPATH)
Step #0: handlers.go:7:2: cannot find package "myProject/pkg/forms" in any of:
Step #0: /usr/local/go/src/myProject/pkg/forms (from $GOROOT)
Step #0: /workspace/_gopath/src/myProject/pkg/forms (from $GOPATH)
Step #0: app.go:4:2: cannot find package "myProject/pkg/models" in any of:
Step #0: /usr/local/go/src/myProject/pkg/models (from $GOROOT)
Step #0: /workspace/_gopath/src/myProject/pkg/models (from $GOPATH)
Finished Step #0
ERROR
My gcloud configuration is correct because I have a connection to Google SQL and I save the data. I have the code in a Compute Engine, but I try to run gcloud app deploy cmd / web / app.yaml on my pc
External packages need to be local for the build to take place. Go programs are often comprised of packages from many different sources. Each one of these sources are pulled in from the GOPATH or from the standard library. (Source of Explanation)
Take a look at govendor. Govendor will create your vendor folder and add your external packages.
// init govendor
govendor init
# Add existing GOPATH files to vendor.
govendor add +external
The error was in app.yaml i don't have much idea why but i just delete into app.yaml the line api_version: go1

Can't update anaconda and can't run rstudio : R Error: running command status 127

I install graphviz and pydot from the anaconda console
conda install graphviz
pip install git+https://github.com/nlhepler/pydot.git
And i I was no longer able to launch Anaconda, so I type these commands
conda install anaconda-navigator
I can launch Ananconda but I am offered to update the software, i click yes and i have this message
C:\Users\user\Anaconda3\python.exe C:\Users\user\Anaconda3\Scripts\conda-script.py
install --yes --json --force-pscheck --name root anaconda-navigator=1.6.4: HTTP 000
CONNECTION FAILED for url <https://repo.continuum.io/pkgs/main/win-64/repodata.json.bz2><br>
Elapsed: -<br><br>An HTTP error occurred when trying to retrieve this URL.<br>HTTP errors are
often intermittent, and a simple retry will get you on your way.<br>ConnectionError(
MaxRetryError("HTTPSConnectionPool(host='repo.continuum.io', port=443): Max retries exceeded
with url: /pkgs/main/win-64/repodata.json.bz2 (Caused by NewConnectionError('<
requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000005F6B940>:
Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))",),)<br>
When i want to run RStudio i have this message
rstudio.exe - The procedure entry point was not found
?toLocal8Bit#QString##QEGBA?AVQByteArray##XY can not be found in the dynamic link library
C:\Users\user\Anaconda3\Library\bin\rstudio.exe
library(tensorflow)
install_tensorflow() # success i have now i folder *r-tensorflow* in *C:\Anaconda3\envs\r-tensorflow*
sessionInfo()
R version 3.4.2 (2017-09-28)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252 LC_MONETARY=French_France.1252 LC_NUMERIC=C
[5] LC_TIME=French_France.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] httr_1.3.1 compiler_3.4.2 R6_2.2.2 tools_3.4.2 withr_2.0.0 curl_3.0 yaml_2.1.14
[8] memoise_1.1.0 git2r_0.19.0 digest_0.6.12 devtools_1.13.4
reticulate::conda_list()
name python
1 r-tensorflow C:\\Anaconda3\\envs\\r-tensorflow\\python.exe
reticulate::py_config()
python: C:\ANACON~1\python.exe
libpython: C:/ANACON~1/python36.dll
pythonhome: C:\ANACON~1
version: 3.6.3 |Anaconda, Inc.| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)]
Architecture: 64bit
numpy: C:\ANACON~1\lib\site-packages\numpy
numpy_version: 1.13.3
python versions found:
C:\ANACON~1\python.exe
C:\Anaconda3\envs\r-tensorflow\python.exe
I reuninstall Rtools, in my system path: Path
C:\Anaconda3\R\bin
C:\Anaconda3\R\bin\x64
C:\Anaconda3\Scripts
C:\Rtools\bin
C:\Rtools\mingw_32\bin

installation of package 'rmarkdown' had non-zero exit status

Im trying to update the Rmarkdown package in RStudio but am getting the following error
Warning messages:
1: running command '"C:/Program Files/R/R-3.2.3/bin/x64/R" CMD INSTALL -l "C:\Users\foo\Documents\R\win-library\3.2" C:\Users\foo\AppData\Local\Temp\RtmpUdFXnp/downloaded_packages/rmarkdown_0.9.2.tar.gz' had status 1
2: In utils::install.packages(c("rmarkdown"), repos = "https://cran.rstudio.com/", :
installation of package 'rmarkdown' had non-zero exit status
My Session Information is below
R version 3.2.3 (2015-12-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Germany.1252 LC_MONETARY=German_Germany.1252
[4] LC_NUMERIC=C LC_TIME=German_Germany.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] tools_3.2.3`
I do not have admin rights on my PC in work but have installed other libraries into the mydocuments section of my PC without issue

Error running Rstudio after install

I get the following error message when installing Rstudio:
"Error installing package: '\corp.corpcommon.com\users\E212\MY Documents'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
* installing source package 'rstudio' ...
** R
** inst
Warning in file.create(to[okay]) :
cannot create file '\corp.corpcommon.com/users/E212/MY Documents/R/win-
library/3.1/rstudio/CITATION', reason 'No such file or directory'
** preparing package for lazy loading
** help
* installing help indices
** building package indices
** testing if installed package can be loaded
* arch - i386
* arch - x64
ERROR: loading failed for 'i386', 'x64'
* removing '\corp.corpcommon.com/users/E212/MY Documents/R/win-library/3.1/rstudio'
Error installing package: '\corp.corpcommon.com\users\E212\MY Documents'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
* installing source package 'manipulate' ...
** R
** preparing package for lazy loading
** help
* installing help indices
** building package indices
** testing if installed package can be loaded
* arch - i386
* arch - x64
ERROR: loading failed for 'i386', 'x64'
* removing '\corp.corpcommon.com/users/E212/MY Documents/R/win-library/3.1/manipulate'"
Do anyone know what it is, what it means, and how I can fix it?`
Thanks in advance :)
Rename MY Documents to MYDocuments. so the file path will be '\corp.corpcommon.com\users\E212\MYDocuments'.

Resources