Comments (11)
What version of drive? What OS? Any output? How did you install drive?
from drive.
ok, so I managed to get the init command to work by running it several more times, but now "drive pull" is segfaulting.
drive version 0.0.7
Ubuntu 14.10 64-bit
It just says "Segmentation fault (core dumped)"
Installed by running "go get -u github.com/odeke-em/drive/cmd/drive"
from drive.
I have been building drive both on 32 and 64bit Ubuntu 14.10 machines for the last month using stable go releases. However, I have seen such behaviour when using my own go unstable/development version.
This is quite unusual, but let us try to debug this. What version of go are you using? Did you install from source?
from drive.
The "go version" command returns "go version xgcc (Ubuntu 4.9.1-16ubuntu6) 4.9.1 linux/amd64"
I installed by running the "sudo apt-get install gccgo-go". While googling the issue, I discovered there are other compilers as well. Should I have used one of them instead?
from drive.
Yap I'd recommend installing the versions provided by the official Golang downloads by following the instructions here https://golang.org/doc/install.
Once you've downloaded the version you want, it should be about a four step walkthrough e.g as seen in this screenshot from
from drive.
ok, so I installed this version of go. I am either getting a segfault, or the following crazy error
unexpected fault address 0x7f33a5e0ecd4
fatal error: fault
[signal 0xb code=0x2 addr=0x7f33a5e0ecd4]
goroutine 4 [running]:
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
:0
goroutine 1 [select]:
code_google_com_p_goauth2_oauth.updateToken.pN41_code_google_com_p_goauth2_oauth.Transport
/home/shaan/go/src/code.google.com/p/goauth2/oauth/oauth.go:419
code_google_com_p_goauth2_oauth.Refresh.pN41_code_google_com_p_goauth2_oauth.Transport
/home/shaan/go/src/code.google.com/p/goauth2/oauth/oauth.go:355
code_google_com_p_goauth2_oauth.getAccessToken.pN41_code_google_com_p_goauth2_oauth.Transport
/home/shaan/go/src/code.google.com/p/goauth2/oauth/oauth.go:319
code_google_com_p_goauth2_oauth.RoundTrip.pN41_code_google_com_p_goauth2_oauth.Transport
/home/shaan/go/src/code.google.com/p/goauth2/oauth/oauth.go:285
github_com_odeke_em_google_api_go_client_drive_v2.Do.pN62_github_com_odeke_em_google_api_go_client_drive_v2.FilesGetCall
/home/shaan/go/src/github.com/odeke-em/google-api-go-client/drive/v2/drive-gen.go:3572
github_com_odeke_em_drive_src.FindById.pN36_github_com_odeke_em_drive_src.Remote
/home/shaan/go/src/github.com/odeke-em/drive/src/remote.go:183
github_com_odeke_em_drive_src.findByPath.pN36_github_com_odeke_em_drive_src.Remote
/home/shaan/go/src/github.com/odeke-em/drive/src/remote.go:191
github_com_odeke_em_drive_src.FindByPath.pN36_github_com_odeke_em_drive_src.Remote
/home/shaan/go/src/github.com/odeke-em/drive/src/remote.go:202
github_com_odeke_em_drive_src.changeListResolve.pN38_github_com_odeke_em_drive_src.Commands
/home/shaan/go/src/github.com/odeke-em/drive/src/changes.go:86
github_com_odeke_em_drive_src.Pull.pN38_github_com_odeke_em_drive_src.Commands
/home/shaan/go/src/github.com/odeke-em/drive/src/pull.go:39
main.Run.pN12_main.pullCmd
/home/shaan/go/src/github.com/odeke-em/drive/cmd/drive/main.go:273
github_com_rakyll_command.Run
/home/shaan/go/src/github.com/rakyll/command/command.go:155
github_com_rakyll_command.ParseAndRun
/home/shaan/go/src/github.com/rakyll/command/command.go:162
main.main
/home/shaan/go/src/github.com/odeke-em/drive/cmd/drive/main.go:62
goroutine 3 [syscall]:
goroutine in C code; stack unavailable
from drive.
Use go1.3.X which is more stable, it should be on the same downloads page.
from drive.
Any progress on this?
from drive.
using 1.3.X didn't help. I gave up and just switched to grive instead :(. I'll try again next weekend if I have some free time
from drive.
That sucks, too bad to hear about this. Your case is an outlier as I and a couple of other people have been able to install on their machines successfully multiple times: as mentioned I am able to build drive on various machines. If you think this might be an architecture bug, I'd recommend filling a bug with the go project. Hope you can get this resolved.
from drive.
This is a Go installation problem hence closing it.
from drive.
Related Issues (20)
- drive-gen doesn't work with modules (default in go 1.17) HOT 2
- http2/transport.go:417:45: undefined: os.ErrDeadlineExceeded HOT 2
- Organizer and FileOrganizer roles missing for share
- Is there a way to erase the pushed files after drive push?
- moving directories with -keep-parent does not work anymore due to changes by Google
- read-only access
- Installing executables is deprecated HOT 1
- Error 500 retrieving certain documents
- Installation Instructions for Mint (Ubuntu derivitives) from source
- Detected as Trojan:Win32/Sabsik.TE.A!ml by Windows Defender
- platform_packages.md is heavily outdated
- panic: invalid page type: 163: 10 HOT 1
- Folder Shortcuts
- OOB OAuth deprecation: migrate to OAuth loopback mechanism HOT 5
- 'go get' is no longer supported outside a module. HOT 4
- Fedora Copr repository no longer exists
- drive init generates link that returns Error 400: invalid_request HOT 12
- Unable to install on Ubuntu 22.04 HOT 1
- Access blocked: drive for Google Driveโs request is invalid HOT 5
- Google Drive Authorization Fails HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drive.