UnboundLocalError: local variable 'fn' referenced before assignment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rpl (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Running the command
rpl -R foo barr .
I get the following output:
Skipping: ./bob/ted (not a regular file)
...
Traceback (most recent call last):
File "/usr/bin/rpl", line 203, in main
try: f = open(filename, "rb")
PermissionE
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/rpl", line 314, in <module>
main()
File "/usr/bin/rpl", line 205, in main
UnboundLoca
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: rpl 1.5.7-1 [modified: usr/bin/rpl]
ProcVersionSign
Uname: Linux 4.10.0-42-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.9
Architecture: amd64
CurrentDesktop: LXDE
Date: Mon Jan 1 12:23:12 2018
Dependencies:
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-04-17 (258 days ago)
InstallationMedia: Lubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
JournalErrors:
Error: command ['journalctl', '-b', '--priority=
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
PackageArchitec
SourcePackage: rpl
UpgradeStatus: No upgrade log present (probably fresh install)
The attached patch should fix the problem.