Project

General

Profile

Actions

Bug #3628

closed

invalid byte-sequence for encoding utf8 when importing facts

Added by Dennis Benndorf over 10 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Facts
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When importing hosts and facts in foreman 1.3.1 with

foreman-rake puppet:import:hosts_and_facts

I get the following error message:

rake aborted!
PG::CharacterNotInRepertoire: FEHLER:  ungültige Byte-Sequenz für Kodierung »UTF8«: 0xe46973
: INSERT INTO "fact_values" ("created_at", "fact_name_id", "host_id", "updated_at", "value") VALUES ($1, $2, $3, $4, $5) RETURNING "id" 

All other hosts are imported correctly, but this one. It is the only Windows-Server in this setup.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #1560: Foreman and windows-1250 encoding (puppet facts)Resolved03/30/2012Actions
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Subject changed from invalid byte-sequence for encoding utf8 to invalid byte-sequence for encoding utf8 when importing facts
  • Category set to Facts
Actions #2

Updated by Dennis Benndorf about 10 years ago

This bug does affects all Windows-Servers we have, so having one Windows in Puppet blocks importing Facts into Foreman. Rake aborts importing all server which follow in the list!

Actions #3

Updated by Dennis Benndorf about 10 years ago

The Problem seems to be the same as Bug #1560 "Foreman and windows-1250 encoding (puppet facts)".
There is an umlaut in a time fact "Mitteleuropäische Zeit".

Actions #4

Updated by Markus Frosch about 9 years ago

  • Related to Bug #1560: Foreman and windows-1250 encoding (puppet facts) added
Actions #5

Updated by Markus Frosch about 9 years ago

This PR should fix it, but it is only in master until now:
https://github.com/theforeman/puppet-foreman/pull/274

Actions #6

Updated by Dominic Cleal about 9 years ago

  • Status changed from New to Feedback

It'll be in Foreman 1.8.

Actions #7

Updated by Anonymous almost 7 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF