Giter VIP home page Giter VIP logo

modiom's People

Contributors

nickelc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

modiom's Issues

Security code gives me an error

If I want to login to modiom and enter the security code that was sent to me via email, this error shows up:
HTTP status client error (404 Not Found)

Login fails with "No such file or directory (os error 2)" on WSL2

Hej,

I've tried to install modiom as per the README instructions with

$ git clone https://github.com/nickelc/modiom.git
$ cargo install --path modiom

First oddity is lack of a version number:

$ modiom --version
modiom

So for reference I'm at commit ed91ce5

I'm running this on Ubuntu 20.04.1 LTS in WSL2. If you need more detail, please tell me what.

On to the actual problem, login doesn't work and consistently fails with the same error:

$ modiom login
Please visit https://mod.io/apikey and paste the API key below
Enter api key: ***
Enter email: ***
Authentication code request was successful.
Enter security code: ***
No such file or directory (os error 2)

Running with strace yields the following:

mkdir("/home/robo9k/.modio", 0777)         = -1 EEXIST (File exists)
statx(0, NULL, AT_STATX_SYNC_AS_STAT, STATX_ALL, NULL) = -1 EFAULT (Bad address)
statx(AT_FDCWD, "/home/robo9k/.modio", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
openat(AT_FDCWD, "/home/robo9k/.modio/credentials", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
mkdir("/home/robo9k/.modio", 0777)         = -1 EEXIST (File exists)
statx(AT_FDCWD, "/home/robo9k/.modio", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
openat(AT_FDCWD, "/home/robo9k/.modio/credentials", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
write(2, "No such file or directory", 25No such file or directory) = 25
write(2, " (os error ", 11 (os error )             = 11

Not sure what's going on there:

$ ls -lah ~/.modio/
total 8.0K
drwxr-xr-x  2 robo9k robo9k 4.0K Nov  1 19:29 .
drwxr-xr-x 18 robo9k robo9k 4.0K Nov  1 19:29 ..

Not sure if this is relevant, but here's cargo and rustc version:

$ cargo --version
cargo 1.47.0 (f3c7e066a 2020-08-28)
$ rustc --version
rustc 1.47.0 (18bf6b4f0 2020-10-07)

Let me know if I can debug this on my end.
In the meantime I'd also be happy to know what to put in ~/.modio/credentials so I can try to use the other features :)

invalid value listing subscriptions

$ modiom subs list
error decoding response body: invalid value: integer `811`, expected u8 at line 1 column 169

(side-note: I can't get search to return anything either)

This is compiled from source using the v0.4.0 branch under Termux (aarch64 Android if it makes any difference)

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.