DukeLupus / dlFilter

dlFilter is a text filtering script for mIRC. It is created with both chat and file sharing channels in mind. dlFilter removes ads, requests, annoying KeepTrack, mp3 play & away messages and much more. Also, dlFilter can send notices from fileservers to separate window and group @find results, allowing them to be easily viewed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Errors when trying to update from 2.0.4

DukeLupus opened this issue · comments

* /rename: unable to rename 'C:\Program Files (x86)\mIRC\dlFilter.mrc' to 'C:\Program Files (x86)\mIRC\dlFilter.mrc.v204' (line 4157, dlFilter.mrc)
-
[07:09] [dlFilter] Checking for dlFilter updates...
[07:09] [dlFilter] You can update to production version 2.07 - Significant fixes
[07:09] [dlFilter] Downloading new version of dlFilter...
-
* /bwrite: unable to open file 'C:\Program Files (x86)\mIRC\dlFilter.mrc.new' (line 4143, dlFilter.mrc)

Thank you for reporting this. There are two possible causes:

a. That the C:\Program Files (x86)\mIRC directory is not writeable - please try to run mIRC temporarily with Administrative Privileges and see if it solves it. (The long term solution is to unload dlFilter, move it to a directory which is writeable without administrative privileges and reload it from there.) IMO this is the most likely cause. I will see if I can code for this.

b. That the script doesn't check for the existence of files before renaming / writing files - I haven't had the chance to check the code, but if I haven't already coded for this the fix is reasonably easy and I will address this issue in the next version. In the mean time please check whether the following files exist and if so delete them and try to update again:

C:\Program Files (x86)\mIRC\dlFilter.mrc.new
C:\Program Files (x86)\mIRC\dlFilter.mrc.v204

I have checked the code. I have already coded for existence of a saved file for the /rename, so it must be issue a. you are experiencing. However I do need to code for non-writable directory and for file being non-writable when directory is and give warning messages if we cannot do rename / write.

Hmm - user used GitReports to log the issue and didn't give their nick or email address - so if they don't read this issue, there is no way to contact them to let them know how to resolve this.

Fixed in 7c6c350