question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Strange Typo "ixivDownloader" before constant PIXIVUTIL_VERSION

See original GitHub issue

Prerequisites

Description

Each time the program is launched and for each image downloaded, the line is prefixed with ixivDownloader 20210421 in the console.

Steps to Reproduce

  1. Launch the script
  2. The first printf of header() will have the prefix ixivDownloader 20210421
  3. Each Member ID page processed will also have this invalid prefix ixivDownloader 20210421 [1 of 1] MemberId: 988539 Page: 1Member Url: https://www.pixiv.net/ajax/user/988539/profile/all (There is also improper spacing here between “Page” and “Member Url”)
  4. Each Image ID processed which is not already downloaded will have this invalid prefix ixivDownloader 20210421 [1 of 1] MemberId: 474309 Page: 1 Post 2+0 of 460 ImageId: 89236210Title: あー?何上から目線で見てんだタココラッ! (More improper spacing between “ImageId” and “Title”)

Expected behavior: The name of the program and version would not be displayed in all these circumstances, much less with a typo.

Actual behavior: An incorrect name of the program as well as the version of the program is printed extremely frequently.

Versions

PixivDownloader2 version 20210421 (if it wasn’t obvious already)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Nandakacommented, May 13, 2021

merged 😄

1reaction
whinettecommented, May 12, 2021

Just saw the comment and proposed solution. I did the same on my end, PR is open @Nandaka

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found