Comments (4)
any idea how to trace this issue down?
from mastodon-bot.
we improved error-handling & outputs. If the issue is still valid pls. reopen,
from mastodon-bot.
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.
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)
- optimizations cause runtime crash HOT 6
- double-check 'media-only' works HOT 2
- allow reading credentials from a separate file HOT 3
- Security: Inspect dependencies for this three packages HOT 4
- Installation failed HOT 25
- switch from using raw promises and deasync to core.async promise API HOT 2
- Find better CI-automation HOT 26
- Visibility always set to unlisted HOT 2
- publish releases to npmjs HOT 9
- Lack of clarity on how to run the application HOT 2
- Running bot ends with no output HOT 9
- Provide mastodon-bot as docker container HOT 4
- Provide schema as jar HOT 4
- Map literals must contain an even number of forms. HOT 3
- Bot runs forever but no content posted HOT 2
- Sync gitlab with github HOT 2
- Privacy for youtube / instagram / reddit links
- Help on create Twitter API HOT 7
- LICENSE file missing from root directory HOT 4
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 mastodon-bot.