After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 647890 - UnicodeEncodeError when installing tarball
UnicodeEncodeError when installing tarball
Status: RESOLVED FIXED
Product: sysadmin
Classification: Infrastructure
Component: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Sysadmins
GNOME Sysadmins
Depends on:
Blocks:
 
 
Reported: 2011-04-15 17:36 UTC by Philip Withnall
Modified: 2011-05-03 19:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philip Withnall 2011-04-15 17:36:20 UTC
When installing the tarball for libgdata-0.8.1, the following error occurred:

[pwithnall@master ~]$ ftpadmin install libgdata-0.8.1.tar.bz2 
Gathering information and sorting on version: ., done
Preparing installation of libgdata-0.8.1.tar.bz2:
 - Checking consistency: ......, done
 - Checking previous tarball: ......, done
 - NEWS, done (diff, 39 lines)
 - ChangeLog, done (diff, 433 lines)
 - Copying tar.bz2, done
 - Creating tar.gz from tar.bz2: ......, done
 - Creating sha256sum, done

      Module: libgdata
     Version: 0.8.1   (previous version: 0.8.0)
 Destination: /ftp/pub/GNOME/sources/libgdata/0.8/

Install libgdata? [Y/n] y
Installing libgdata-0.8.1.tar.bz2:
 - Moving files: ....., done
 - Updating LATEST-IS, done
 - Updating known versions, done
 - Removing original tarball, done
Doing notifications:
 - Informing ftp-release-listTraceback (most recent call last):
  • File "/usr/local/bin/ftpadmin", line 1613 in <module>
    main()
  • File "/usr/local/bin/ftpadmin", line 1598 in main
    options.func(options, parser)
  • File "/usr/local/bin/ftpadmin", line 1345 in cmd_install
    module.install(unattended=options.unattended)
  • File "/usr/local/bin/ftpadmin", line 977 in install
    self.inform()
  • File "/usr/local/bin/ftpadmin", line 1034 in inform
    print >>mail, textwrap.fill(paragraph)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2014' in position 92: ordinal not in range(128)

I guess this is probably because I used Unicode characters in the NEWS file.
Comment 1 Olav Vitters 2011-05-03 19:43:39 UTC
it was the utf-8 in the DOAP description