#149 ✓fixed
Virgil Dupras

Crash on saving results with the same name than a folder

Reported by Virgil Dupras | March 6th, 2011 @ 12:06 PM

Application Name: dupeGuru
Version: 3.0.1

Traceback (most recent call last):
  File "/home/hsoft/src/dupeguru/qt/base/result_window.py", line 338, in saveResultsTriggered
    self.app.save_as(destination)
  File "/home/hsoft/src/dupeguru/core/app.py", line 359, in save_as
    self.results.save_to_xml(filename)
  File "/home/hsoft/src/dupeguru/core/results.py", line 307, in save_to_xml
    with FileOrPath(outfile, 'wb') as fp:
  File "/home/hsoft/src/dupeguru/hscommon/util.py", line 302, in __enter__
    self.fp, self.mustclose = open_if_filename(self.file_or_path, self.mode)
  File "/home/hsoft/src/dupeguru/hscommon/util.py", line 290, in open_if_filename
    return (open(infile, mode), True)
IOError: [Errno 21] Is a directory: '/home/hsoft/Desktop/foo'

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Tags

Referenced by

Pages