Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Uncaught promise error for images.

Subscriure's

Get notified when there's activity on this post

This question has been flagged
1 Respondre
596 Vistes
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
Descartar
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 Best Answer

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
Descartar
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!

Registrar-se
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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