Comments (6)
I'll close the issue.
Feel free to reopen if you still have any problems about the issue.
from sqlitebiter.
@LewWadoo
Thank you for your report.
I am not sure the root cause for now. I could successfully convert my google spreadsheet with sqlitebiter gs in my environment.
Could you tell me your environments information to understand your situation?:
- Python version
- sqlitebiter version
- did you installed optional dependency packages for
gs
subcommand?
- did you installed optional dependency packages for
- Did you enable Google Sheets API for your credentials?
- spreadsheets you typed (
gom
, etc.?) actually existed at Google Sheets and readable by Google Sheets API?
from sqlitebiter.
I don't remember, what, how and why I was using sqlitebiter. Since then I don't use it.
from sqlitebiter.
Hi @thombashi, I'm also receiving this error:
sqlitebiter -o sample.sqlite gs <credential>.json <spreadsheet-name>
[ERROR] OpenError: spreadsheet '<spreadsheet-name>' not found
[INFO] converted results: source=0, fail=1
Is there any way to access by URL? I believe gspread and pytablereader both support this?
The sheet just needs to be in the "My Drive" folder, no?
from sqlitebiter.
I figured this out, thanks! I had to share the folder with my service account.
I'd be curious what happens if spreadsheet names conflict though. I would say it would be a bit better to default to using the file key. Would you be open to a PR on this and pytablereader?
from sqlitebiter.
Hi @cdbattags
I'd be curious what happens if spreadsheet names conflict though.
According to the gspread
document:
https://docs.gspread.org/en/latest/api.html?gspread.Client.open#gspread.Client.open
If thereโs more than one spreadsheet with same title the first one will be opened.
I would say it would be a bit better to default to using the file key. Would you be open to a PR on this and pytablereader?
Surely the above might be better. Fallback to open by title would be ideal when failed to open by key to keeping backward compatibility.
PR would always be welcome.
from sqlitebiter.
Related Issues (20)
- update $archive value to "sqlitebiter_windows_amd64.zip" in get-sqlitebiter.ps1 HOT 1
- How do I specify columns orders when loading form an array of JSON objects? HOT 3
- Feature request: input from stdout HOT 1
- SQL table name cannot start with numeric? HOT 1
- Getting "codec can't decode byte ..." HOT 2
- json to sqlLite Error HOT 1
- ODS Support
- Convert excel DATE to sqlite DATE
- Unable to locate package HOT 1
- Retain leading zeros when converting text or --no-type-inference HOT 1
- Support simple hierarchical JSON HOT 2
- Automatically detect and create Primary and Foreign Keys HOT 2
- Better default name for database file
- Non able to create output, starting from a simple html page HOT 4
- incompatibility between pip V22 json output and sqlitebiter HOT 1
- Installation dpkg (.deb package) Failing HOT 1
- Convert to spaces HOT 2
- Add --unescape option HOT 1
- Allow inferring source format from alternate string HOT 6
- sqlite3.IntegrityError: NOT NULL constraint failed: _source_info_.format_name HOT 2
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 sqlitebiter.