Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Issue when selecting model #255

Open
5 tasks done
DrewThomasson opened this issue Apr 9, 2024 · 1 comment
Open
5 tasks done

Issue when selecting model #255

DrewThomasson opened this issue Apr 9, 2024 · 1 comment
Assignees

Comments

@DrewThomasson
Copy link

Describe the bug

idk here's the full error:

(VoxNovel) drew@drew-System-Product-Name:~$ npx gpt4all-cli@latest
ℹ Welcome to the GPT4all CLI! 3:39:48 PM

✔ Choose a model (default: gpt4all-lora-quantized):
gpt4all-lora-unfiltered-quantized
[3:39:50 PM] ◐ Initialize and download gpt4all-lora-unfiltered-quantized model .
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0% | ETA: 0s | 0/100
[3:39:50 PM] ERROR ENOENT: no such file or directory, open '/home/drew/.nomic'

████████████████████████████████████████ 100% | ETA: NULLs | NaN/100node:event6
throw er; // Unhandled 'error' event
^

HTTPError: Response code 404 (Not Found)
at Request._onResponseBase (file:///home/drew/.npm/_npx/27661af4ada6ed12/no)
at Request._onResponse (file:///home/drew/.npm/_npx/27661af4ada6ed12/node_m)
at ClientRequest. (file:///home/drew/.npm/_npx/27661af4ada6ed12/)
at Object.onceWrapper (node:events:633:26)
at ClientRequest.emit (node:events:530:35)
at HTTPParser.parserOnIncomingClient (node:_http_client:698:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at TLSSocket.socketOnData (node:_http_client:540:22)
at TLSSocket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:559:12)
Emitted 'error' event at:
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:{
input: undefined,
code: 'ERR_NON_2XX_3XX_RESPONSE',
timings: {
start: 1712691590280,
socket: 1712691590281,
lookup: 1712691590284,
connect: 1712691590301,
secureConnect: 1712691590322,
upload: 1712691590323,
response: 1712691590509,
end: 1712691590538,
error: undefined,
abort: undefined,
phases: {
wait: 1,
dns: 3,
tcp: 17,
tls: 21,
request: 1,
firstByte: 186,
download: 29,
total: 258
}
},
options: Options {
_unixOptions: undefined,
_internals: {
request: undefined,
agent: { http: undefined, https: undefined, http2: undefined },
h2session: undefined,
decompress: true,
timeout: {
connect: undefined,
lookup: undefined,
read: undefined,
request: undefined,
response: undefined,
secureConnect: undefined,
send: undefined,
socket: undefined
},
prefixUrl: '',
body: undefined,
form: undefined,
json: undefined,
cookieJar: undefined,
ignoreInvalidCookies: false,
searchParams: undefined,
dnsLookup: undefined,
dnsCache: undefined,
context: {},
hooks: {
init: [],
beforeRequest: [],
beforeError: [],
beforeRedirect: [],
beforeRetry: [],
afterResponse: []
},
followRedirect: true,
maxRedirects: 10,
cache: undefined,
throwHttpErrors: true,
username: '',
password: '',
http2: false,
allowGetBody: false,
headers: {
'user-agent': 'got (https://github.com/sindresorhus/got)',
'accept-encoding': 'gzip, deflate, br'
},
methodRewriting: false,
dnsLookupIpVersion: undefined,
parseJson: [Function: parse],
stringifyJson: [Function: stringify],
retry: {
limit: 2,
methods: [ 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' ],
statusCodes: [
408, 413, 429, 500,
502, 503, 504, 521,
522, 524
],
errorCodes: [
'ETIMEDOUT',
'ECONNRESET',
'EADDRINUSE',
'ECONNREFUSED',
'EPIPE',
'ENOTFOUND',
'ENETUNREACH',
'EAI_AGAIN'
],
maxRetryAfter: undefined,
calculateDelay: [Function: calculateDelay],
backoffLimit: Infinity,
noise: 100
},
localAddress: undefined,
method: 'GET',
createConnection: undefined,
cacheOptions: {
shared: undefined,
cacheHeuristic: undefined,
immutableMinTimeToLive: undefined,
ignoreCargoCult: undefined
},
https: {
alpnProtocols: undefined,
rejectUnauthorized: undefined,
checkServerIdentity: undefined,
certificateAuthority: undefined,
key: undefined,
certificate: undefined,
passphrase: undefined,
pfx: undefined,
ciphers: undefined,
honorCipherOrder: undefined,
minVersion: undefined,
maxVersion: undefined,
signatureAlgorithms: undefined,
tlsSessionLifetime: undefined,
dhparam: undefined,
ecdhCurve: undefined,
certificateRevocationLists: undefined
},
encoding: undefined,
resolveBodyOnly: false,
isStream: true,
responseType: 'text',
url: URL {},
pagination: {
transform: [Function: transform],
paginate: [Function: paginate],
filter: [Function: filter],
shouldContinue: [Function: shouldContinue],
countLimit: Infinity,
backoff: 0,
requestLimit: 10000,
stackAllItems: false
},
setHost: true,
maxHeaderSize: undefined,
signal: undefined,
enableUnixSockets: false
},
_merging: false,
_init: [ { isStream: true } ]
}
}

Node.js v20.12.1
(VoxNovel) drew@drew-System-Product-Name:~$

Reproduction

idk just installed gpt4all and then ran your "npx gpt4all-cli@latest" command

System Info

(VoxNovel) drew@drew-System-Product-Name:~$ npx envinfo --system --binaries --bs
Need to install the following packages:
envinfo@7.12.0
Ok to proceed? (y) y

  System:
    OS: Linux 6.5 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
    CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
    Memory: 27.73 GB / 31.26 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 20.12.1 - /usr/bin/node
    npm: 10.5.0 - /usr/bin/npm
  Browsers:
    Chrome: 122.0.6261.128
    Chromium: 123.0.6312.86

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@jellydn
Copy link
Owner

jellydn commented Apr 10, 2024

Thanks. I will take a look sometime this week.

@jellydn jellydn self-assigned this Apr 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants