Comments (4)
from alfred-tldr.
Sorry for the late response.
I was unable to reproduce the error on my end.
My environments are
- monterey 12.3.1
- alfred v4
The error means failure to find index json file for tldr database.
Could you please give me more information for further investigation?
-
If update tldr database, will the issue be resolved?
tldr --update
andreturn(enter)
-
following command results
find ~/ -name tar.md
e.g.)
$ find ~/ -name tar.md
/Users/<username>/Library/Application Support/Alfred/Workflow Data/dev.konoui.alfred-tldr/data/pages.de/common/tar.md
/Users/<username>/Library/Application Support/Alfred/Workflow Data/dev.konoui.alfred-tldr/data/pages.fr/common/tar.md
/Users/<username>/Library/Application Support/Alfred/Workflow Data/dev.konoui.alfred-tldr/data/pages.es/common/tar.md
(snip)
- list files in the tldr database directory
$ ls "/Users/<username>/Library/Application Support/Alfred/Workflow Data/dev.konoui.alfred-tldr/data/"
LICENSE.md pages.bs pages.fa pages.it pages.nl pages.ro pages.ta pages.zh
index.json pages.ca pages.fr pages.ja pages.no pages.ru pages.th pages.zh_TW
pages pages.da pages.hbs pages.ko pages.pl pages.sh pages.tr
pages.ar pages.de pages.hi pages.ml pages.pt_BR pages.sr pages.uk
pages.bn pages.es pages.id pages.ne pages.pt_PT pages.sv pages.uz
index.json
is required for tldr command. The error means the workflow could not stat the index file.
Database files including index.json
is downloaded from tldr repository.
https://github.com/konoui/alfred-tldr/blob/v0.8.0/pkg/tldr/pages.go#L28
from alfred-tldr.
thanks
my this directory is just one file and is zero byte
I wanna to know where I can get index.json?
from alfred-tldr.
Hi, thank you for your information.
I understand that directory has only tldr.zip file but size is zero.
Expected behavior of the workflow are
- the workflow downloads tldr.zip.
- the workflow executes unzip the tldr.zip.
If 1. and 2. instructions succeed, the error will not occur since tldr.zip contains index.json and all tldr files
However, your results seems that 1. the workflow downloads tldr.zip.
failed.
Could you please confirm your network environment such as a firewall?
The simple way to confirm them is using curl command.
curl -O -vvv https://tldr.sh/assets/tldr.zip
from alfred-tldr.
Related Issues (9)
- Not working... HOT 5
- failed on apple silicon HOT 5
- Renew icons
- Auto-Update Capability HOT 9
- embed workflow version number HOT 4
- Remove the {{ }} HOT 6
- FR: selecting description with link should open the link HOT 3
- "vv0.8.0" HOT 1
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 alfred-tldr.