Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing array in rooms #102

Open
madman3 opened this issue Apr 21, 2024 · 4 comments
Open

Error parsing array in rooms #102

madman3 opened this issue Apr 21, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@madman3
Copy link

madman3 commented Apr 21, 2024

Bug description

I'm new to the tool and just started using it. I successfully logged in using a bearer token because the username and password seemed to fail.

I do see the out folder after running but it is empty.

Maybe I'm doing something wrong that's obvious.

To Reproduce

Steps to reproduce the behavior:

  1. RUST_BACKTRACE="full" rexit messages -t
  2. entered the bearer token
  3. confirmed the bearer token

Next I tried the saved posts and that seems to fail too.

Backtrace

2024-04-21 04:30 - INFO: Login Successful
thread 'main' panicked at src/ReAPI/rooms.rs:51:10:
Error parsing array
stack backtrace:
0: 0x10538b496 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h39dedd9998475f7a
1: 0x10539a7a3 - core::fmt::write::h996a70950ef02a8b
2: 0x10538d928 - std::io::Write::write_fmt::hd6709b73e8721808
3: 0x10538b27f - std::sys_common::backtrace::print::h0c71c33392329482
4: 0x10537ba25 - std::panicking::default_hook::{{closure}}::h7c2dc6602e4afdfe
5: 0x10537b7ef - std::panicking::default_hook::hb8432d7d4b595a9c
6: 0x10537be68 - std::panicking::rust_panic_with_hook::h55cf7f98a5172bf4
7: 0x10538bad6 - std::panicking::begin_panic_handler::{{closure}}::hfb4dd0b5a9ef6466
8: 0x10538b6f9 - std::sys_common::backtrace::__rust_end_short_backtrace::hcbbcf4c6d355f082
9: 0x10537bbc6 - _rust_begin_unwind
10: 0x1053c1325 - core::panicking::panic_fmt::ha2d9edabf12b6300
11: 0x1053c19ba - core::option::expect_failed::ha1c277500abbfd3f
12: 0x1050072a7 - rexit::main::{{closure}}::hf89d91bb37411eec
13: 0x104fff366 - tokio::runtime::park::CachedParkThread::block_on::h446c42231b05c1eb
14: 0x10504418d - tokio::runtime::context::runtime::enter_runtime::h9d9d4d925d5f4bd5
15: 0x105068c50 - tokio::runtime::runtime::Runtime::block_on::h80285ab1ffaa2f2f
16: 0x105051ded - rexit::main::h191a9d02c00e6598
17: 0x1050641f6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h712d1604905064ce
18: 0x10506a2bc - std::rt::lang_start::{{closure}}::h07c8b02b45aa39de
19: 0x10537bac4 - std::panicking::try::h3e54f477477c1d0e
20: 0x1053656ce - std::rt::lang_start_internal::h5ac0ebe39c2c25d0
21: 0x105051ecc - _main

Screenshots

Environment

  • OS: macOS 10.15.3
  • rexit version: 1.2.0

Additional context

Please let me know if you need me to provide any further context

@madman3 madman3 added the bug Something isn't working label Apr 21, 2024
@MPult
Copy link
Owner

MPult commented Apr 22, 2024

Do you mind posting the rexit.log file? (take a look at it if there's anything you don't want to share ie usernames etc)

also Reddit fundamentally changed the login process; it will take quite some time to reverse engineer it and might be the cause of issue

@madman3
Copy link
Author

madman3 commented Apr 23, 2024

In light of recent login changes from reddit, is rexit no longer functional if we're unable to login? I find it hard to remove identifying info from the log file. Is there something you specifically are looking for?

@terelldunn
Copy link

In light of recent login changes from reddit, is rexit no longer functional if we're unable to login? I find it hard to remove identifying info from the log file. Is there something you specifically are looking for?

I'm new to all of this. I have tried learning how to login with the bearer token, but I can't seem to find what I need to do. Can you run me through what you did to login using the token? I would like to export my chats, but the username and password method continues to fail.

@madman3
Copy link
Author

madman3 commented May 15, 2024

Check your browser console for the auth token when you logged into reddit. Regardless, I don't think logging in is of any help. The tool is not working. I just requested a data export from reddit and they sent it across within minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants