Closed ghost closed 6 years ago
Could you provide the output of dasht-query-line "YOUR_QUERY_HERE" '^c$'
? For example:
$ dasht-query-line sprintf '^c$'
name = printf, fprintf, sprintf, snprintf, printf_s, fprintf_s, sprintf_s, snprintf_s
type = func
from = C
url = file:///home/sunny/.local/share/dasht/docsets/C.docset/Contents/Resources/Documents/en.cppreference.com/w/c/io/fprintf.html#toc
name = vprintf, vfprintf, vsprintf, vsnprintf, vprintf_s, vfprintf_s, vsprintf_s, vsnprintf_s
type = func
from = C
url = file:///home/sunny/.local/share/dasht/docsets/C.docset/Contents/Resources/Documents/en.cppreference.com/w/c/io/vfprintf.html#toc
I have this result from the command dasht-query-line sprintf '^c$'
:
name = printf, fprintf, sprintf, snprintf, printf_s, fprintf_s, sprintf_s, snprintf_s
type = func
from = C
url = file:///home/USER/.local/share/dasht/docsets/C.docset/Contents/Resources/Documents/<dash_entry_name=printf%2C%20fprintf%2C%20sprintf%2C%20snprintf%2C%20printf%5Fs%2C%20fprintf%5Fs%2C%20sprintf%5Fs%2C%20snprintf%5Fs><dash_entry_originalName=printf%2C%20fprintf%2C%20sprintf%2C%20snprintf%2C%20printf%5Fs%2C%20fprintf%5Fs%2C%20sprintf%5Fs%2C%20snprintf%5Fs><dash_entry_menuDescription=printf%2C%20fprintf%2C%20sprintf%2C%20snprintf%2C%20printf%5Fs%2C%20fprintf%5Fs%2C%20sprintf%5Fs%2C%20snprintf%5Fs>en.cppreference.com/w/c/io/fprintf.html#toc
name = vprintf, vfprintf, vsprintf, vsnprintf, vprintf_s, vfprintf_s, vsprintf_s, vsnprintf_s
type = func
from = C
url = file:///home/USER/.local/share/dasht/docsets/C.docset/Contents/Resources/Documents/<dash_entry_name=vprintf%2C%20vfprintf%2C%20vsprintf%2C%20vsnprintf%2C%20vprintf%5Fs%2C%20vfprintf%5Fs%2C%20vsprintf%5Fs%2C%20vsnprintf%5Fs><dash_entry_originalName=vprintf%2C%20vfprintf%2C%20vsprintf%2C%20vsnprintf%2C%20vprintf%5Fs%2C%20vfprintf%5Fs%2C%20vsprintf%5Fs%2C%20vsnprintf%5Fs><dash_entry_menuDescription=vprintf%2C%20vfprintf%2C%20vsprintf%2C%20vsnprintf%2C%20vprintf%5Fs%2C%20vfprintf%5Fs%2C%20vsprintf%5Fs%2C%20vsnprintf%5Fs>en.cppreference.com/w/c/io/vfprintf.html#toc
Aha! :neckbeard: Now the problem is clear: there is some stray XML in the url =
value that needs to be removed.
However, this removal (see issue #28) has already been taken care of in the current v2.3.0 release. Since you're still experiencing this issue, it seems that you may be using an older version of dasht. Is this true?
Please upgrade to the latest stable release and retry the dasht-query-line
experiment: it should Just Work.
just flag out-of-date to dasht
in aur, https://aur.archlinux.org/packages/dasht/
@sunaku : Are you the one on aur? If yes can you update the package?
No, that's not me. :sweat_smile: Contributor @mkaito has generously created and maintained that AUR package (#1).
C
docsets can't be loaded, I use text-based web browserw3m
to surfdasht-server
.