Bug 669412

Summary: [abrt] hplip-gui-3.10.9-9.fc13: genericpath.py:18:exists:UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 20: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: aac <dinoazz>
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:2b9f729b
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-27 12:35:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description aac 2011-01-13 16:01:25 UTC
abrt version: 1.1.14
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/hp-toolbox
comment: la procédure d'envoi n'est pas très explicite. les instructions apparaissent en anglais, pas en français.
component: hplip
executable: /usr/bin/hp-toolbox
kernel: 2.6.34.7-66.fc13.x86_64
package: hplip-gui-3.10.9-9.fc13
reason: genericpath.py:18:exists:UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 20: ordinal not in range(128)
release: Fedora release 13 (Goddard)
time: 1294929981
uid: 500

backtrace
-----
genericpath.py:18:exists:UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 20: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/share/hplip/ui4/filetable.py", line 273, in AddFileButton_clicked
    self.addFileList(files)
  File "/usr/share/hplip/ui4/filetable.py", line 281, in addFileList
    self.addFileFromUI(f)
  File "/usr/share/hplip/ui4/filetable.py", line 288, in addFileFromUI
    if os.path.exists(f) and os.access(f, os.R_OK):
  File "/usr/lib64/python2.6/genericpath.py", line 18, in exists
    st = os.stat(path)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 20: ordinal not in range(128)

Local variables in innermost frame:
path: u'/home/fedmanager/Mod\xe8les/Ltr-ACabaret-M13012011.pdf'

How to reproduce
-----
1.Imprimer un document sur l'imprimante fax
2.Essai d'envoi du fax avec vérication du type de fichier
3.

Comment 1 aac 2011-01-13 16:01:31 UTC
Created attachment 473356 [details]
File: backtrace

Comment 2 Jiri Popelka 2011-01-13 16:35:53 UTC
qu'est-ce que la commande 'locale' show ?

Comment 3 Jiri Popelka 2011-01-14 15:13:04 UTC
On 01/14/2011 07:37 AM, aac wrote:
> la commande locale donne :
> [???@??? ~]$ locale
> LANG=fr_FR.UTF-8
> LC_CTYPE="fr_FR.UTF-8"
> LC_NUMERIC="fr_FR.UTF-8"
> LC_TIME="fr_FR.UTF-8"
> LC_COLLATE="fr_FR.UTF-8"
> LC_MONETARY="fr_FR.UTF-8"
> LC_MESSAGES="fr_FR.UTF-8"
> LC_PAPER="fr_FR.UTF-8"
> LC_NAME="fr_FR.UTF-8"
> LC_ADDRESS="fr_FR.UTF-8"
> LC_TELEPHONE="fr_FR.UTF-8"
> LC_MEASUREMENT="fr_FR.UTF-8"
> LC_IDENTIFICATION="fr_FR.UTF-8"
> LC_ALL=

Comment 5 Jiri Popelka 2011-01-14 15:41:18 UTC
aac, what does this command (it is all on one line) show ?

python -c "import locale,os;f=u'/home/fedmanager/Mod\xe8les/Ltr-ACabaret-M13012011.pdf';print f;print os.path.exists(f); print os.access(f, os.R_OK);print os.stat(f);"

Comment 6 Bug Zapper 2011-05-30 11:56:24 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 7 Bug Zapper 2011-06-27 12:35:14 UTC
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.