Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

Pupeteer & Playwright [BUG]

Open danishmbutt opened this issue 1 year ago • 4 comments

Describe the bug I can use Cheerio easily with any website. Pupeteer and Playwright are not working.

To Reproduce Create any workflow with Cheerio Webscraper. Test with Cheerio. Then replace cheerio with Playwright

image

Expected behavior The same website should work and pass results to the pinecone db and then the chatbot.

ERROR Message - TypeError: (intermediate value) is not iterable (cannot read property undefined).

Screenshots N/A

Setup -Docker

  • latest Flowise release - downloaded yesterday on render

danishmbutt avatar Dec 19 '23 05:12 danishmbutt

I am also facing the same issue

mukundsayeeganesh avatar Dec 19 '23 21:12 mukundsayeeganesh

Same, P & P don't work. But Apify does work.

mikehudson2 avatar Mar 01 '24 17:03 mikehudson2

I have the same issue (1.6.0) with Cheerio:

│ 2024-03-08 10:01:34 [INFO]: ⬆️ POST /api/v1/vector/internal-upsert/10ca0d6d-42c2-4e51-93b6-b5d8a0c8847d                                                                         │
│ 2024-03-08 10:01:44 [ERROR]: (intermediate value) is not iterable (cannot read property undefined)                                                                             │
│ TypeError: (intermediate value) is not iterable (cannot read property undefined)                                                                                               │
│     at Cheerio_DocumentLoaders.init (/usr/local/lib/node_modules/flowise/node_modules/flowise-components/dist/nodes/documentloaders/Cheerio/Cheerio.js:130:22)                 │
│     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)                                                                                              │
│     at async buildFlow (/usr/local/lib/node_modules/flowise/dist/utils/index.js:290:36)                                                                                        │
│     at async App.upsertVector (/usr/local/lib/node_modules/flowise/dist/index.js:1503:13)                                                                                      │
│     at async /usr/local/lib/node_modules/flowise/dist/index.js:1112:13                                                                                                         │
│ 2024-03-08 10:01:44 [ERROR]: [server]: Error: TypeError: (intermediate value) is not iterable (cannot read property undefined)                                                 │
│ Error: TypeError: (intermediate value) is not iterable (cannot read property undefined)                                                                                        │
│     at buildFlow (/usr/local/lib/node_modules/flowise/dist/utils/index.js:333:19)                                                                                              │
│     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)                                                                                              │
│     at async App.upsertVector (/usr/local/lib/node_modules/flowise/dist/index.js:1503:13)                                                                                      │
│     at async /usr/local/lib/node_modules/flowise/dist/index.js:1112:13

dirien avatar Mar 08 '24 10:03 dirien

I have the same issue. Ive tried lowering the Page numbers and at 300 pages it startet working.

4rr0wx avatar Aug 28 '24 09:08 4rr0wx