Comments (8)
Looking at the /usr/bin/pixiv
helper script in the arch package that loads the venv, it looks like the command line arguments aren't being passed onto PixivUtil2.py
Adding $@
to the end of each $HOME/.local/share/PixivUtil2/PixivUtil2.py
call will fix it.
from pixivutil2.
Would this not be an issue for the arch package maintainer?
Most definitely. I suppose I wanted it to be on the record here, since I saw this thread before I tried to investigate myself. I fully intend to report it to the AUR maintainer.
from pixivutil2.
So can we close the issue? The issue was related to the AUR package and not PixivUtil2 itself, which has the command line arguments.
from pixivutil2.
I mean you can send it command line arguments to bypass the menus to get exactly what you want. PRs are welcome if you want to implement it, else gallery-dl does exactly what you're suggesting
from pixivutil2.
Guess we have a bug then?
Doesnt matter which command I run, I get the menu, I suspect the git error at beginning is the cause, I just ran the pixiv command after installing from AUR
[@USER]$ pixiv --help
error: cannot pull with rebase: You have unstaged changes.
error: Please commit or stash them.
┌──────────────────────────────────────────────────────────┐
│ PixivDownloader2 version 20230105 │
│ https://github.com/Nandaka/PixivUtil2/releases │
│ Donate at https://bit.ly/PixivUtilDonation │
└──────────────────────────────────────────────────────────┘
Reading /home/USER/.local/share/PixivUtil2/config.ini ...
Configuration loaded.
Using default DB Path: /home/USER/.local/share/PixivUtil2/db.sqlite
Creating database... done.
Only process members where the last update is >= 7 days ago
Username login is broken, use cookie to log in.
Trying to log in with saved cookie
Logging in, return url: https://www.pixiv.net/en/
Login successful.
My User Id: xxxxxxxxx.
Premium User: False.
┌──────────────────────────────────────────────────────────┐
│ PixivDownloader2 version 20230105 │
│ https://github.com/Nandaka/PixivUtil2/releases │
│ Donate at https://bit.ly/PixivUtilDonation │
└──────────────────────────────────────────────────────────┘
── Pixiv ───────────────────────────────────────────────────
1. Download by member_id
2. Download by image_id
3. Download by tags
...
Indeed the source was changed
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: PixivUtil2.py
Untracked files:
(use "git add <file>..." to include in what will be committed)
pixiv_venv/
"123/"
PixivUtil2.py was given execute permission, restoring the file to HEAD we have this
.rw-r--r-- 77k USER USER 16 Dec 00:41 PixivUtil2.py
My guess is that the script is not executable by default, and the AUR script tries to make it executable, which causes the git error at the beginning, PixivUtil2 drops whatever command it was given, and opens the menu
from pixivutil2.
Even after commiting everything to get rid of the error, it still always opens the menu, even with pixiv -h
, maybe the aur script is broken
from pixivutil2.
@nicodoggie Would this not be an issue for the arch package maintainer?
from pixivutil2.
Totally, thanks for telling me @nicodoggie
from pixivutil2.
Related Issues (20)
- Pixiv Overuse Help? HOT 4
- Fanbox stops continously with error
- Error when downloading posts with "|" in the title HOT 4
- Feature request: Skip MemberId if downloaded recently HOT 3
- If --bcl is set as an option, str isn't casted into an int
- Bug/Feature request: Skip non-existend users while downloading from list (like in solved #1011) HOT 5
- Please release a latest version HOT 1
- PixivUtil2 error
- add filter to stop pixivutil2 bulk downloader from downloading child art so that it only downloads the adult anime art work only. to protect uk users this is needed very badly. HOT 4
- Variable or lock file to know that a batch download job is in process.
- Missing content_provider.json when running from source from a different dir HOT 6
- `convert_path` is not part of setuptools API and will be removed HOT 3
- How to replace bad chars with unicode versions
- Seemingly Random Crashes HOT 1
- How to download URL only artwork? HOT 1
- [Login Issues] HTTPSConnection.init() got an unexpected keyword argument 'key_file' HOT 2
- the executable file won't run HOT 2
- Fanbox images redownload HOT 2
- Endless paths when attempting to find ffmpeg HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixivutil2.