I updated today to v1.3.7 when prompted (Windows OS). I actually had to uninstall and reinstall, the update process kept saying Smart Connect was running when it wasn't and wouldn't complete.
With the reinstall, I provided API Keys to use openai for PDF & image content.
When reloading sources, a repeated error appears and PDFs are not embedded. Two relevant instances:
_sc.mjs:89876 Connected
_sc.mjs:105781 update-main-status Object v1.3.7
_sc.mjs:91391 Loading smart_sources: 222 items
_sc.mjs:91400 Loaded smart_sources in 279ms
_sc.mjs:92733 import_queue 166
_sc.mjs:92179 TypeError: Cannot read properties of undefined (reading 'pdfjsLib')
at PdfSourceAdapter.extract_text_from_pdf (_sc.mjs:97118:49)
at PdfSourceAdapter._read (_sc.mjs:97106:35)
at async PdfSourceAdapter.import (_sc.mjs:96540:21)
at async PdfSourceAdapter.import (_sc.mjs:96940:5)
at async SmartSource.import (_sc.mjs:92173:9)
at async Promise.all (index 1)
at async SmartSources.process_import_queue (_sc.mjs:92738:9)
at async SmartSources.process_load_queue (_sc.mjs:92728:7)
at async SmartSources.run_load (_sc.mjs:91478:5)
at async SmartSources.run_load (_sc.mjs:92828:5) "TypeError: Cannot read properties of undefined (reading 'pdfjsLib')\n at PdfSourceAdapter.extract_text_from_pdf (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:97118:49)\n at PdfSourceAdapter._read (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:97106:35)\n at async PdfSourceAdapter.import (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:96540:21)\n at async PdfSourceAdapter.import (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:96940:5)\n at async SmartSource.import (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:92173:9)\n at async Promise.all (index 1)\n at async SmartSources.process_import_queue (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:92738:9)\n at async SmartSources.process_load_queue (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:92728:7)\n at async SmartSources.run_load (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:91478:5)\n at async SmartSources.run_load (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:92828:5)"
import @ _sc.mjs:92179
await in import (async)
(anonymous) @ _sc.mjs:92738
process_import_queue @ _sc.mjs:92738
process_load_queue @ _sc.mjs:92728
await in process_load_queue (async)
run_load @ _sc.mjs:91478
run_load @ _sc.mjs:92828
(anonymous) @ _sc.mjs:93322
Show 7 more frames
Show less
_sc.mjs:92179 TypeError: Cannot read properties of undefined (reading 'pdfjsLib')
at PdfSourceAdapter.extract_text_from_pdf (_sc.mjs:97118:49)
at PdfSourceAdapter._read (_sc.mjs:97106:35)
at async PdfSourceAdapter.import (_sc.mjs:96540:21)
at async PdfSourceAdapter.import (_sc.mjs:96940:5)
at async SmartSource.import (_sc.mjs:92173:9)
at async Promise.all (index 2)
at async SmartSources.process_import_queue (_sc.mjs:92738:9)
at async SmartSources.process_load_queue (_sc.mjs:92728:7)
at async SmartSources.run_load (_sc.mjs:91478:5)
at async SmartSources.run_load (_sc.mjs:92828:5) "TypeError: Cannot read properties of undefined (reading 'pdfjsLib')\n at PdfSourceAdapter.extract_text_from_pdf (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:97118:49)\n at PdfSourceAdapter._read (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:97106:35)\n at async PdfSourceAdapter.import (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:96540:21)\n at async PdfSourceAdapter.import (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:96940:5)\n at async SmartSource.import (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:92173:9)\n at async Promise.all (index 2)\n at async SmartSources.process_import_queue (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:92738:9)\n at async SmartSources.process_load_queue (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:92728:7)\n at async SmartSources.run_load (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:91478:5)\n at async SmartSources.run_load (file:///C:/Users/jesse/AppData/Local/Programs/smart-connect/resources/app.asar/src/_sc.mjs:92828:5)"
import @ _sc.mjs:92179
await in import (async)
(anonymous) @ _sc.mjs:92738
process_import_queue @ _sc.mjs:92738
process_load_queue @ _sc.mjs:92728
await in process_load_queue (async)
run_load @ _sc.mjs:91478
run_load @ _sc.mjs:92828
(anonymous) @ _sc.mjs:93322
Show 7 more frames
Show less
I updated today to v1.3.7 when prompted (Windows OS). I actually had to uninstall and reinstall, the update process kept saying Smart Connect was running when it wasn't and wouldn't complete.
With the reinstall, I provided API Keys to use openai for PDF & image content.
When reloading sources, a repeated error appears and PDFs are not embedded. Two relevant instances: