Code Monkey home page Code Monkey logo

Comments (4)

jerger avatar jerger commented on July 20, 2024

any idea how to trace this issue down?

from mastodon-bot.

jerger avatar jerger commented on July 20, 2024

we improved error-handling & outputs. If the issue is still valid pls. reopen,

from mastodon-bot.

krv00 avatar krv00 commented on July 20, 2024

I have the same problem, in this case, using Twitter feed, when running "config.edn":

/usr/local/lib/node_modules/mastodon-bot/mastodon-bot.js:4883
e,d):f.call(null,a,e,d);if(g!==a)return g}else return cljs.tools.reader.edn.read_symbol(a,e)}}}catch(h){if(h instanceof Error){b=h;if(cljs.tools.reader.impl.utils.ex_info_QMARK_(b)){c=cljs.core.ex_data(b);if(cljs.core._EQ_.cljs$core$IFn$_invoke$arity$2(cljs$cst$keyword$reader_DASH_exception,cljs$cst$keyword$type.cljs$core$IFn$_invoke$arity$1(c)))throw b;throw cljs.core.ex_info.cljs$core$IFn$_invoke$arity$3(b.message,cljs.core.merge.cljs$core$IFn$_invoke$arity$variadic(cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([new cljs.core.PersistentArrayMap(null,
                                                                                                                                                                                                                                                                                                                                                            ^
Error: Unexpected EOF while reading item 1 of vector.
    at new cljs.core.ExceptionInfo (/usr/local/lib/node_modules/mastodon-bot/mastodon-bot.js:2280:47)
    at Function.cljs.core.ex_info.cljs$core$IFn$_invoke$arity$3 (/usr/local/lib/node_modules/mastodon-bot/mastodon-bot.js:2283:72)
    at Function.cljs.core.ex_info.cljs$core$IFn$_invoke$arity$2 (/usr/local/lib/node_modules/mastodon-bot/mastodon-bot.js:2282:449)
    at Function.cljs.tools.reader.impl.errors.throw_ex.cljs$core$IFn$_invoke$arity$variadic (/usr/local/lib/node_modules/mastodon-bot/mastodon-bot.js:4651:195)
    at Function.cljs.tools.reader.impl.errors.eof_error.cljs$core$IFn$_invoke$arity$variadic (/usr/local/lib/node_modules/mastodon-bot/mastodon-bot.js:4658:138)
    at Function.cljs.tools.reader.impl.errors.throw_eof_delimited.cljs$core$IFn$_invoke$arity$5 (/usr/local/lib/node_modules/mastodon-bot/mastodon-bot.js:4662:148)
    at Object.cljs.tools.reader.edn.read_delimited (/usr/local/lib/node_modules/mastodon-bot/mastodon-bot.js:4848:498)
    at cljs.tools.reader.edn.read_vector (/usr/local/lib/node_modules/mastodon-bot/mastodon-bot.js:4851:317)
    at Object.cljs.tools.reader.edn.read_delimited (/usr/local/lib/node_modules/mastodon-bot/mastodon-bot.js:4849:418)
    at cljs.tools.reader.edn.read_map (/usr/local/lib/node_modules/mastodon-bot/mastodon-bot.js:4852:238)

What could be the cause?

from mastodon-bot.

jerger avatar jerger commented on July 20, 2024

I would assume this problem results on broken transmission over network.

After getting the response from twitter api we transform the response to internal datastructure (https://gitlab.com/yogthos/mastodon-bot/-/blob/master/src/main/cljs/mastodon_bot/transform.cljs#L62). The error message intends there are some characters missing. In result this tweet will not be send to mastodon.

If you use the latest release only one tweet should be affected by this exception.

from mastodon-bot.

Related Issues (20)

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.