xuejianxianzun / PixivFanboxDownloader

A Chrome extension for downloading files on Pixiv Fanbox in batches. Chrome 扩展,用于批量下载 Pixiv Fanbox 上的文件。
GNU General Public License v3.0
725 stars 34 forks source link

Images and Files are not downloading #52

Closed Aergernis closed 10 months ago

Aergernis commented 1 year ago

Hi,

today download of files and images stopped downloading. Only Text is downloading.

Edge: 117.0.2045.36 64-Bit Downloader: 4.2.4

`js/content.js:7591 (request.onerror)

            this.db = request.result;
            resolve(request.result);
        };
        request.onerror = (ev) => {
            console.error('open indexDB failed');
            console.trace();
            reject(ev);`

`js/content.js:4698 (Anonyme Funktion)

        if (!db.objectStoreNames.contains(this.storeName)) {
            const store = db.createObjectStore(this.storeName, { keyPath: 'url' });
            store.createIndex('url', 'url', { unique: true });
        }
    };
    return new Promise(async (resolve, reject) => {
        resolve(await this.IDB.open(this.DBName, this.DBVer, onUpdate));
    });
}`

`js/content.js:4772 (Anonyme Funktion)

        // 如果未启用去重,直接返回不重复
        if (!_setting_Settings__WEBPACK_IMPORTED_MODULE_3__["settings"].deduplication) {
            return resolve(false);
        }
        // 在数据库进行查找
        const data = (await this.IDB.get(this.storeName, this.removeHttp(result.url)));
        return resolve(!!data);`
xuejianxianzun commented 1 year ago

I can't reproduce the problem. Looks like an IndexedDB error. This is rare, please try restarting your browser and trying again. If the problem persists, please select "Clear" download records in the "Don`t download duplicate files" option of the downloader.

Aergernis commented 1 year ago

Hi, allready tried to restart Brwoser without luck. Also resetting allready downloaded don't work. I gues it's not resetting.

Edit: can i delete DB File manually?

xuejianxianzun commented 1 year ago

You can try clearing your browser cache of images and files. Ctrl+shift+Del

Aergernis commented 1 year ago

clearing cache and files didn't work. I'll try to clean edge completly from system and reinstall when i've time on weekend and report back.

Aergernis commented 1 year ago

So, after some testing it seams to be a problem with a patch from https://github.com/Ceiridge/Chrome-Developer-Mode-Extension-Warning-Patcher and "Remove send to self" Patch is selected

xuejianxianzun commented 1 year ago

I am not sure as well.

Aergernis commented 1 year ago

Maybe i should open a issue ther too? Maybe they can fix it or point to the problem.

xuejianxianzun commented 1 year ago

I have no idea.