Akilan1999 / p2p-rendering-computation

p2p network to enable running distributed computation and rendering.
https://p2prc.akilan.io/
GNU General Public License v2.0
28 stars 10 forks source link

[bug] Reported by User (@RikeshMMM) #82

Closed Akilan1999 closed 1 year ago

Akilan1999 commented 2 years ago

Following the steps as mentioned to install and start p2prc server, receiving the following errors which also break my environmental variables.

System Specification

OS: MacOS Monterey 12.2 Beta (21D5025f) Shell: fish, version 3.3.1

Command:

sh install.sh p2prc

Error(s):

Add the following paths to .bashrc or .zshrc based on the configuration you have set

export P2PRC=/Users/rikeshmakwana/go/decenode/backend export PATH=/Users/rikeshmakwana/go/decenode/backend:${PATH}

github.com/shirou/gopsutil/disk

iostat_darwin.c:28:2: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:132:1: note: 'IOMasterPort' has been explicitly marked deprecated here

github.com/shirou/gopsutil/cpu

../../../go/pkg/mod/github.com/shirou/gopsutil@v3.20.12+incompatible/cpu/cpu_darwin_cgo.go:13:5: warning: 'TARGET_OS_MAC' is not defined, evaluates to 0 [-Wundef-prefix=TARGETOS]

github.com/shirou/gopsutil/host

smc_darwin.c:75:41: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:123:19: note: 'kIOMasterPortDefault' has been explicitly marked deprecated here

github.com/AirBNB-for-Servers/P2PRC-WebAPP/server

server/handlers.go:312:2: User declared but not used server/server.go:84:3: r.Get undefined (type *gin.Engine has no field or method Get)

Akilan1999 commented 1 year ago

resolved in commit https://github.com/Akilan1999/p2p-rendering-computation/commit/fbfa0e47fa8b1e0c4f7713931ba9368ecb013d06