Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emitted 'error' event on TLSSocket #17

Open
Bit0r opened this issue Aug 3, 2024 · 3 comments
Open

Emitted 'error' event on TLSSocket #17

Bit0r opened this issue Aug 3, 2024 · 3 comments

Comments

@Bit0r
Copy link

Bit0r commented Aug 3, 2024

system:


        a8888b.           Host        -  bit0r@bit0r-x16
       d888888b.          Machine     -  WOOKING X16 Series 1
       8P"YP"Y88          Kernel      -  6.9.12-060912-generic
       8|o||o|88          Distro      -  Ubuntu 24.04 LTS (Noble Numbat)
       8'    .88          DE          -  KDE
       8`._.' Y8.         WM          -  KWin (X11)
      d/      `8b.        Packages    -  3833 (dpkg), 1 (cargo), 7 (snap)
     dP        Y8b.       Terminal    -  warp
    d8:       ::88b.      Shell       -  fish
   d8"         'Y88b      Uptime      -  3h 41m
  :8P           :888      CPU         -  AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16)
   8a.         _a88P      Resolution  -  2560x1600, 2560x1440
 ._/"Yaa     .| 88P|      Brightness  -  55%
 \    YP"    `|     `.    CPU Load    -  3%
 /     \.___.d|    .'     Memory      -  8.4 GB/27.9 GB
 `--..__)     `._.'

run:

ai-renamer -p openai -u https://40.chatgptsb.net -a $OPENAI_API_KEY ./

output:

⚪ Provider: openai
⚪ API key: **********
⚪ Base URL: https://40.chatgptsb.net
⚪ Available models: gpt-4o, gpt-4, gpt-3.5-turbo
⚪ Model: gpt-4o
⚪ Frames: 3
⚪ Case: kebabCase
⚪ Chars: 20
⚪ Language: English
⚪ Include subdirectories: false
--------------------------------------------------
🟡 Unsupported file: 299321fff0972a2063743040f8088378_openai-chat-gpt.webp
🔴 Model error: Request failed with status code 413 (GF2_PMS1__L1A0001680851-MSS1.tif)
🔴 Model error: fail to decode image config(webp): riff: missing RIFF chunk header (request id: 20240803185715231119104T6U45hrN) (L256_rad_flaash_ort_goodband.tiff)
🟢 Renamed: folder-organize.jpg to photo-organize.jpg
🟢 Renamed: labels.jpg to graph-display.jpg
node:events:497
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:95:16)
Emitted 'error' event on TLSSocket instance 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:21) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}

Node.js v20.15.0
@Bit0r
Copy link
Author

Bit0r commented Aug 3, 2024

No additional operations

@ozgrozer
Copy link
Owner

ozgrozer commented Aug 4, 2024

Is it because of a specific file that you're getting the issue?

@Bit0r
Copy link
Author

Bit0r commented Aug 5, 2024

I don't know, because there are many files in my directory, and I haven't named them. Sometimes I can't even find the files I need myself, so I wanted to use AI to help me organize the files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants