Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Uncaught promise error for images.

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
1 Balas
592 Tampilan
Avatar
Karl Feghali

previously when I backed up my filestore folder and sql dump, after restoring everything to my local host machine, everything was fine except that some few images were missing from my attachments I don't know how. Anyways, I noticed that when entering the editor, whenever I drag any block element that contains an image, upon clicking on the block element, it throws an Uncaught promise error without any indication as to where the issue lies. And because of this, I'm unable to continue working on the site. I wanted to attach a screenshot right here, but even in this trash forum, images cannot be uploaded and throws an error saying:  File could not be saved. don't know what to say. odoo is beyond buggy and terrible.


-2
Avatar
Buang
Christoph Farnleitner

Images of error messages usually don't help too much, so doesn't flaming in community forum that does not allow image uploads for new users as a spam protection measure. Anyways, back to topic, open the developer console (usually F12) and attempt to reproduce the issue. Copy and paste the error message from the exception and from the dev console here.
Also, as a side note, the fact that your filestore appears to be missing stuff usually stems from an incorrect approach of taking the backup. Since you have a dump file and folder I would assume you're not using https://your_host/web/database/manager to take the backup of your database but rather do it manually. In that case you should always first stop the server, perform the backup and only then restart it.

Christoph Farnleitner

Also, you should stop your local server, clear the log file (to have a clearer picture), and then restart it. I wouldn't be surprised if the error is tracked in there already, maybe due to missing addons, not up-to-date local source/repo, etc.

Avatar
Karl Feghali
Penulis Jawaban Terbai

First of all, I wasn't going to upload the error message as that would be stupid. I wanted to show how the image thumbnails are appearing. Second of all, I disagree with you that new users who rarely post on the forum should not be allowed to post screenshots which can always be helpful in many situations. " spam protection measure" can be used with captchas not disallowing users to post screenshots. Here's my console file anyways for when the error happens:


ContentMain.js:18 [ContentMain]

ContentMain.js:18 [ContentService] document.readyState: loading

ContentMain.js:5 [ContentService.SetContentInitData] target: { TabId: 1198434016, FrameId: 0}

tour_interactive.js:100 click .o_app[data-menu-xmlid="crm.crm_menu_root"]

ContentMain.js:18 [ContentMain]

ContentMain.js:18 [ContentService] document.readyState: loading

ContentMain.js:5 [ContentService.SetContentInitData] target: { TabId: 1198434016, FrameId: 265}

ContentMain.js:18 [ContentMain]

ContentMain.js:18 [ContentService] document.readyState: loading

ContentMain.js:5 [ContentService.SetContentInitData] target: { TabId: 1198434016, FrameId: 266}

web/image/website.s_card_default_image_1:1

           

           

           Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR)

web/image/website.s_card_default_image_1:1

           

           

           Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR)

__odoo__unknown__src__/:1

           

           

           Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR)

web/image/web.image_placeholder:1

           

           

           Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR)

__odoo__unknown__src__/:1

           

           

           Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR)

roadmap:1 Uncaught (in promise) Event


               

         

         

         

         Chrome is moving towards a new experience that allows users to choose to browse without third-party cookies.


Regarding the issue with backups, I never had an issue at all except this time. But I agree with you, it would be better to stop the server before taking any backups as that could potentially corrupt the filestore or sql file.

0
Avatar
Buang
Christoph Farnleitner

So, I'm just wondering, that server the backup came from - still up and running, meaning, does that issue exist there as well? I'm just not sure about your setup at that point and whether it could potentially be solve by a "clean" backup. Also, a difference in source code revisions checked out on where the backup came from and your local setup is a likely source of errors. Information is limited, so I'm just guessing at the moment, you see. An "upgrade all" on cli could be a thing to too.

Karl Feghali
Penulis

I first was building my site locally then I moved to a vps. I used to take the same backups I did locally, but upon restoring, the images which I only uploading from the vps were not restored perhaps due to a backup failure most probably. So when odoo tries to fetch the image, it does not find it in the attachment. Now the missing images I have deleted the HTML content and I can reupload them which is not an issue. But the issue of why new images cannot be uploaded is something that I'm not quite understanding. I tried rebuilding the assets in developer mode, but that didn't help either.

Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now