Git Product home page Git Product logo

koneko's Introduction

I like programming

Language timeline

koneko's People

Contributors

akazukin5151 avatar dependabot[bot] avatar thesola10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

stefco korallin

koneko's Issues

Fails to verify login code

When I log in, I get this error and crashes:

Traceback (most recent call last):
  File "/usr/bin/koneko", line 33, in <module>
    sys.exit(load_entry_point('koneko==0.13.0', 'console_scripts', 'koneko')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/koneko/__main__.py", line 12, in _main
    credentials = config.begin_config()
                  ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/koneko/config.py", line 153, in begin_config
    return api.get_setting('Credentials', 'refresh_token').alt(first_start).bind(normal)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pi/.local/lib/python3.11/site-packages/returns/result.py", line 374, in alt
    return Failure(function(self._inner_value))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/koneko/config.py", line 161, in first_start
    login_then_save_verifier()
  File "/usr/lib/python3.11/site-packages/koneko/config.py", line 168, in login_then_save_verifier
    path.touch(exist_ok=True)
  File "/usr/lib/python3.11/pathlib.py", line 1108, in touch
    fd = os.open(self, flags, mode)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.local/share/koneko/code_verifier'

koneko doesn't create/populate its ~/.local/share/ directory [Debian/Ubuntu]

Installing via pip install koneko, koneko fails to set up ~/.local/share/koneko/ and to copy the necessary files there (pixiv-url.desktop, example_config.ini, /pics/, /cache).

When I first installed it, the login wouldn't work: no error message, nothing would happen after logging in in the browser (Chromium).
I tried manually creating ~/.local/share/koneko/pixiv-url.desktop (and the directory itself), and now xdg-open would properly forward the pixiv:// url to koneko—which promptly responded with “login failed”.
After digging around in the source code here on github, I realised that nothing in ~/.local/share/koneko/ was where it should be. I cloned this git respository and manually copied pixiv-url.desktop, example_config.ini, and /pics/ to ~/.local/share/koneko/ and now I could log in and koneko launched.
When trying to use it however, it reported not being able to access ~/.local/share/koneko/cache/. Manually create this subdirectory once again solved this problem, and some functions of koneko now worked.
There seems to be some kind of problem with koneko not creating & populating its ~/.local/share directory.
~/.config/koneko/ (and config.ini there) on the other hand was automatically created just fine.

This problem was encountered on two separate machines, running Xubuntu 20.04 and Debian 11 respectively, without any nonstandard permissions sets for ~/, and using the most recent Python 3 versions from their respective repositories.

Login fails on macOS: "Safari cannot open the page because the address is invalid."

Pretty much what it says on the tin. Upon running koneko, it correctly opens the login page in Safari and I can log in, but the mentioned error message appears and koneko never recognizes the login. Running koneko again brings up the login page as if I had never logged in.

I did test copying the link into a Chromium incognito window and logging in there, but instead of an error it just displayed a blank page.

$ koneko
sh: xdg-mime: command not found
sh: update-desktop-database: command not found
Please log to pixiv in your browser then run koneko again
<url here...>

koneko_addressinvalid

My system is running macOS 12.4, and Safari 15.5.
koneko 0.12.4 was installed with pipx 1.0.0, using Python 3.10.4 (the latter two installed via MacPorts).

Icat image rendering inconsistencies

I'm running into some issues with the rendering of images.
When starting Koneko, I get the following issue;
The welcome picture displays over the text.

image

A similar issue that I can't resolve, seems to be mode 3 display,
each row of artists displays over the other, effectively rendering several rows of artists, all at the same [z] coordinates. Meaning only one row is visible.

I tried seeing if ueberzug functions, but seeing as that repo was deleted, I can't get it to function.
None of the variables in the config seem to affect this, even extreme values. The other display modes work fine for me however.
The only variable that "seems" to change anything is scroll_display, if it is enabled, I can see each row being drawn one by one, over the other. Where as when it is off, it seems to render instantly.

I'm running the following versions

Koneko 0.12.4
Kitty 0.26.5,
Sway (Wayland) 1.7
Arch Linux 5.15.80-1-lts

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.