Package: apt-offline Version: 1.0.1 Severity: minor when writing a "get" bundle file to an directory were one does not have write permissions one receives following unclear traceback:
mkdir folder chmod u-w folder/ apt-offline get signature --bundle folder/bundle.apt ... Traceback (most recent call last): File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner self.run() File "/usr/lib/python2.6/threading.py", line 484, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/pymodules/python2.6/apt_offline_core/AptOfflineLib.py", line 578, in run self.responseQueue.put( self.WorkerFunction( item, thread_name ) ) File "/usr/lib/pymodules/python2.6/apt_offline_core/AptOfflineCoreLib.py", line 711, in DataFetcher if FetcherInstance.compress_the_file( Str_BundleFile, file ) != True: File "/usr/lib/pymodules/python2.6/apt_offline_core/AptOfflineLib.py", line 375, in compress_the_file filename.write( files_to_compress, os.path.basename( files_to_compress ), zipfile.ZIP_DEFLATED ) UnboundLocalError: local variable 'filename' referenced before assignment A check for write permissions seems to be missing.