Advertisement
maleghast

Stack Trace for missing SQLite DB - Solved

Sep 17th, 2022 (edited)
64
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.26 KB | Software | 0 0
  1. poseidon ~ ยป birthdayman help                                                                                                                                                                                                         130 โ†ต
  2.  
  3. node:internal/process/esm_loader:97
  4.     internalBinding('errors').triggerUncaughtException(
  5.                               ^
  6. il [Error]: no such table: people
  7.     at new il (file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:177:80)
  8.     at $APP.$m.j (file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:1414:319)
  9.     at file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:313:371
  10.     at $q (file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:313:380)
  11.     at file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:601:202
  12.     at P (file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:295:469)
  13.     at file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:533:374
  14.     at P (file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:295:469)
  15.     at file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:407:155
  16.     at file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:601:151 {
  17.   data: {
  18.     G: null,
  19.     J: 6,
  20.     B: [
  21.       {
  22.         Vb: null,
  23.         name: 'type',
  24.         ga: 'type',
  25.         Od: 1174270348,
  26.         F: 2153775105,
  27.         N: 4096
  28.       },
  29.       {
  30.         Vb: 'sci',
  31.         name: 'error',
  32.         ga: 'sci/error',
  33.         Od: -979082803,
  34.         F: 2153775105,
  35.         N: 4096
  36.       },
  37.       {
  38.         Vb: null,
  39.         name: 'line',
  40.         ga: 'line',
  41.         Od: 212345235,
  42.         F: 2153775105,
  43.         N: 4096
  44.       },
  45.       127,
  46.       {
  47.         Vb: null,
  48.         name: 'column',
  49.         ga: 'column',
  50.         Od: 2078222095,
  51.         F: 2153775105,
  52.         N: 4096
  53.       },
  54.       16,
  55.       {
  56.         Vb: null,
  57.         name: 'message',
  58.         ga: 'message',
  59.         Od: -406056002,
  60.         F: 2153775105,
  61.         N: 4096
  62.       },
  63.       'no such table: people',
  64.       {
  65.         Vb: 'sci.impl',
  66.         name: 'callstack',
  67.         ga: 'sci.impl/callstack',
  68.         Od: -1621010557,
  69.         F: 2153775105,
  70.         N: 4096
  71.       },
  72.       lh {
  73.         state: {
  74.           G: null,
  75.           first: {
  76.             G: null,
  77.             J: 5,
  78.             B: [Array],
  79.             H: null,
  80.             F: 16647951,
  81.             N: 139268
  82.           },
  83.           yb: {
  84.             G: null,
  85.             first: [Object],
  86.             yb: null,
  87.             count: 1,
  88.             H: null,
  89.             F: 65937646,
  90.             N: 8192
  91.           },
  92.           count: 2,
  93.           H: null,
  94.           F: 65937646,
  95.           N: 8192
  96.         },
  97.         F: 32768,
  98.         N: 0
  99.       },
  100.       {
  101.         Vb: null,
  102.         name: 'file',
  103.         ga: 'file',
  104.         Od: -1269645878,
  105.         F: 2153775105,
  106.         N: 4096
  107.       },
  108.       '/home/oliver/Code/NBB-Experiment/app.cljs'
  109.     ],
  110.     H: null,
  111.     F: 16647951,
  112.     N: 139268
  113.   },
  114.   Le: SqliteError: no such table: people
  115.       at Database.prepare (/home/oliver/Code/NBB-Experiment/node_modules/better-sqlite3/lib/methods/wrappers.js:5:21)
  116.       at Wba (file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:317:331)
  117.       at gca (file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:346:151)
  118.       at file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:553:448
  119.       at P (file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:295:469)
  120.       at file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:533:374
  121.       at P (file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:295:469)
  122.       at file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:407:155
  123.       at file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:601:151
  124.       at P (file:///home/oliver/Code/NBB-Experiment/node_modules/nbb/lib/nbb_core.js:295:469) {
  125.     code: 'SQLITE_ERROR'
  126.   },
  127.   description: undefined,
  128.   number: undefined,
  129.   fileName: undefined,
  130.   lineNumber: undefined,
  131.   columnNumber: undefined
  132. }
  133.  
  134. Node.js v18.9.0
Advertisement
Comments
  • maleghast
    1 year
    # text 0.10 KB | 0 0
    1. This was solved by a more thoughtful and rigorous approach to embedding the location of the database.
Add Comment
Please, Sign In to add comment
Advertisement