ever-co / ever-gauzy-desktop

Ever® Gauzy™ Desktop App - https://gauzy.co/downloads
https://gauzy.co/downloads
GNU Affero General Public License v3.0
15 stars 6 forks source link

Automatic error report for Gauzy Desktop App 0.467.7 #26

Closed louhygscs closed 3 months ago

louhygscs commented 3 months ago

Description 🐊

SqliteError: insert into `users` (`email`, `employee`, `employeeId`, `name`, `organizationId`, `remoteId`, `tenantId`) values ('Jacob@winwithc4.com', '{"id":"ec6cd55a-38b8-47f9-909a-1a2101ccb360","createdAt":"2024-04-15T07:10:31.229Z","updatedAt":"2024-04-15T07:10:31.241Z","deletedAt":null,"isActive":true,"isArchived":false,"tenantId":"c5ecdac4-c3da-46bf-9ac1-930addc80887","organizationId":null,"valueDate":null,"short_description":null,"description":null,"startedWorkOn":null,"endWork":null,"payPeriod":null,"billRateValue":0,"minimumBillingRate":null,"billRateCurrency":null,"reWeeklyLimit":null,"offerDate":null,"acceptDate":null,"rejectDate":null,"employeeLevel":null,"anonymousBonus":null,"averageIncome":null,"averageBonus":null,"totalWorkHours":null,"averageExpenses":null,"show_anonymous_bonus":null,"show_average_bonus":null,"show_average_expenses":null,"show_average_income":null,"show_billrate":null,"show_payperiod":null,"show_start_work_on":null,"isJobSearchActive":null,"linkedInUrl":null,"facebookUrl":null,"instagramUrl":null,"twitterUrl":null,"githubUrl":null,"gitlabUrl":null,"upworkUrl":null,"stackoverflowUrl":null,"isVerified":null,"isVetted":null,"totalJobs":null,"jobSuccess":null,"profile_link":"jacob-barredo","isTrackingEnabled":false,"isOnline":false,"isAway":false,"isTrackingTime":false,"allowScreenshotCapture":true,"upworkId":null,"linkedInId":null,"userId":"d6d92ab9-3a30-4569-a499-a89e522adcb6","contactId":null,"organizationPositionId":null,"customFields":{"__fix_relational_custom_fields__":null},"isDeleted":false}', 'ec6cd55a-38b8-47f9-909a-1a2101ccb360', 'Jacob Barredo', NULL, 'd6d92ab9-3a30-4569-a499-a89e522adcb6', 'c5ecdac4-c3da-46bf-9ac1-930addc80887') on conflict (`remoteId`) do update set `email` = excluded.`email`, `employee` = excluded.`employee`, `employeeId` = excluded.`employeeId`, `name` = excluded.`name`, `organizationId` = excluded.`organizationId`, `remoteId` = excluded.`remoteId`, `tenantId` = excluded.`tenantId` - NOT NULL constraint failed: users.organizationId
    at Object.queryBuilder (C:\Program Files\Ever\Gauzy Desktop\resources\app.asar\node_modules\knex\lib\knex-builder\make-knex.js:112:26)
    at Function.value (C:\Program Files\Ever\Gauzy Desktop\resources\app.asar\node_modules\knex\lib\knex-builder\make-knex.js:92:29)
    at knex.<computed> [as insert] (C:\Program Files\Ever\Gauzy Desktop\resources\app.asar\node_modules\knex\lib\knex-builder\make-knex.js:270:28)
    at C:\Program Files\Ever\Gauzy Desktop\resources\app.asar\node_modules\@gauzy\desktop-libs\dist\lib\offline\transactions\user-transaction.js:14:22
    at C:\Program Files\Ever\Gauzy Desktop\resources\app.asar\node_modules\knex\lib\execution\transaction.js:233:22
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

To Reproduce 🧵

Response...

Screenshots 📸

Response...

Additional Information ⚓️

Response...

Configuration 🛠

App Version ⛓: 0.467.7 Platform 🖥: win32 x64 Release 📦: 10.0.22631

evereq commented 3 months ago

@louhygscs please try to update to the latest version (e.g. https://github.com/ever-co/ever-gauzy-desktop/releases/tag/v0.474.15), I think that was a temporary issue with users creation etc. (be careful of course about data, we always recommend to use external DB / Server to which your desktop app connects)