[SRU] Save and Save as buttons do not save files in Blank comparison
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
meld |
Fix Released
|
High
|
|||
meld (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
1. Start Meld 3.14.2 (3.14.2-1 on Ubuntu Xenial 16.04.2 LTS) from terminal.
2. Start "New Comparison" -> "File Comparison" -> "Blank Comparison"
3. Paste file contents from clipboard to left and right sides.
4. Press Save or Save as button on each side, select filepath for each side, press OK.
5. Try to exit from Meld (by Ctrl+Q). In opened window "Save changes to documents before closing?" click "Save".
6. Get errors in console:
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
text = text.encode(
TypeError: encode() argument 1 must be string, not None
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
text = text.encode(
TypeError: encode() argument 1 must be string, not None
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
text = text.encode(
TypeError: encode() argument 1 must be string, not None
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
text = text.encode(
TypeError: encode() argument 1 must be string, not None
Traceback (most recent call last):
File "/usr/lib/
response = self.try_
File "/usr/lib/
response = page.on_
File "/usr/lib/
response = self.check_
File "/usr/lib/
if not self.save_file(i):
File "/usr/lib/
text = text.encode(
TypeError: encode() argument 1 must be string, not None
7. Files are not saved.
Expected results:
Files are saved.
Actual results:
Files are not saved, got error in console.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: meld 3.14.2-1
ProcVersionSign
Uname: Linux 4.4.0-72-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Apr 21 16:12:13 2017
InstallationDate: Installed on 2014-02-07 (1168 days ago)
InstallationMedia: Ubuntu 12.04.4 LTS "Precise Pangolin" - Release amd64 (20140204)
PackageArchitec
SourcePackage: meld
UpgradeStatus: Upgraded to xenial on 2017-04-15 (5 days ago)
Changed in meld: | |
importance: | Unknown → High |
status: | Unknown → Fix Released |
Bug is fixed in Ubuntu 16.10. archive. ubuntu. com/ubuntu/ pool/universe/ m/meld/ meld_3. 16.3-1_ all.deb to Xenial.
Please backport http://