does not open iso-image from folder with cyrillic name

Bug #514452 reported by desss
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Dell Recovery
Fix Released
Undecided
Unassigned
Declined for Karmic by Mario Limonciello
dell-recovery (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

i had try to open basic ubuntu iso image from ~/Рабочий стол/ when had run dell-recovery-media --builder in terminal and it's not open.
Please fix it.

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 514452] [NEW] does not open iso-image from folder with cyrillic name

Could you please provide the output you got from the terminal when when
trying to do this?

Also, what version of dell-recovery are you running? You can check by
running:
# apt-cache policy dell-recovery

On Fri, Jan 29, 2010 at 13:01, desss <email address hidden> wrote:

> Public bug reported:
>
> i had try to open basic ubuntu iso image from ~/Рабочий стол/ when had run
> dell-recovery-media --builder in terminal and it's not open.
> Please fix it.
>
> ** Affects: dell-recovery
> Importance: Undecided
> Status: New
>
> --
> does not open iso-image from folder with cyrillic name
> https://bugs.launchpad.net/bugs/514452
> You received this bug notification because you are the registrant for
> Dell Recovery.
>

--
Mario Limonciello
<email address hidden>

Revision history for this message
desss (desss) wrote :

it's write this:
root@savchenko:~# dell-recovery-media --builder
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/Dell/recovery_frontend.py", line 438, in builder_base_file_chooser_picked
    (bto_version, distributor, release, output_text) = self.backend().query_iso_information(ret)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in call_
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in _call_
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.UnicodeEncodeError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.6/dist-packages/Dell/recovery_backend.py", line 541, in query_iso_information
    mntdir = self.request_mount(iso)
  File "/usr/lib/python2.6/dist-packages/Dell/recovery_backend.py", line 306, in request_mount
    if os.path.isdir(rp):
  File "/usr/lib/python2.6/genericpath.py", line 41, in isdir
    st = os.stat(s)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 10-16: ordinal not in range(128)

version of dell-recovery is 0.32

Revision history for this message
Mario Limonciello (superm1) wrote :

Ok, i've committed a fix to trunk for this. This bug will close when the fix is uploaded to the current development release (Lucid Lynx).
In the interim, if you'd like to test it, here is how to do so:

# bzr get lp:dell-recovery
# cd dell-recovery
# debuild
# sudo dpkg -i ../dell-recovery*deb

Changed in dell-recovery:
status: New → Fix Committed
Changed in dell-recovery (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dell-recovery - 0.36

---------------
dell-recovery (0.36) lucid; urgency=low

  * Fix translations stuff so that we only use one template (dell-recovery)
    that should be imported from Launchpad in a mergable branch.
  * Don't continually loop mount ISOs when they are selected in the GUI.
    Most systems run out of loopback devices at 7 and dell-recovery doesn't like
    that too much.
  * Encode strings that sent over dbus when mounting directories (LP: #514452)
  * debian/control:
    - Add a depends on udisks.
  * Add support for UDisks, followed by falling back to Devkit-disks and lastly
    HAL.
  * Convert package to dh7 rather than cdbs.
  * Convert package to a v3 source package.
 -- Mario Limonciello <email address hidden> Tue, 16 Feb 2010 17:39:18 -0600

Changed in dell-recovery (Ubuntu):
status: Fix Committed → Fix Released
Changed in dell-recovery:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.