Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

Uncaught promise error for images.

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
1 Responder
576 Visualizações
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
Cancelar
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 Melhor resposta

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
Cancelar
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.

Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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