Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Uncaught promise error for images.

Odebírat

Get notified when there's activity on this post

This question has been flagged
1 Odpovědět
589 Zobrazení
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
Zrušit
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
Autor Nejlepší odpověď

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
Zrušit
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
Autor

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.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Přihlásit se
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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