~chaosmonk


#5 SqliteError: database or disk is full 7 months ago

Comment by ~chaosmonk on ~cadence/tube

Actually, I can view some pages in another browser, so the error may only occur if the browser already has CloudTube cookies stored, perhaps because getuser.js does not otherwise get called.

#5 SqliteError: database or disk is full 7 months ago

Ticket created by ~chaosmonk on ~cadence/tube

Attempting to load any page on tube.cadence.moe gives

SqliteError: database or disk is full
    at getToken (/home/cloud/Code/cloudtube/utils/getuser.js:20:68)
        at getUser (/home/cloud/Code/cloudtube/utils/getuser.js:66:16)
	at Object.code (/home/cloud/Code/cloudtube/api/subscriptions.js:10:17)
	at Promise (/home/cloud/Code/cloudtube/node_modules/pinski/index.js:367:14)
	at new Promise (<anonymous>)
	at Pinski._handleWithAPI (/home/cloud/Code/cloudtube/node_modules/pinski/index.js:347:4)
	at Pinski._handleRequest (/home/cloud/Code/cloudtube/node_modules/pinski/index.js:317:9)
	at Server.emit (events.js:182:13)
	at parserOnIncoming (_http_server.js:657:12)
	at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)

#2 Error: Cannot read property 'second__width' of undefined 7 months ago

Ticket created by ~chaosmonk on ~cadence/tube

When trying to watch some videos, such as this one[1], I get taken to an error page with a traceback:

TypeError: pug/video.pug:23 21| .video-container 22| - const format = sortedFormatStreams[0]

23| video(controls preload="auto" width=format.second__width height=format.second__height data-itag=format.itag)#video.video 24| source(src=format.url type=format.type) 25| 26| #current-time-container

Cannot read property 'second__width' of undefined at Object.eval (eval at wrap (/home/cloud/Code/cloudtube/node_modules/pug-runtime/wrap.js:6:10), :157:143) at Object.template [as web] (eval at wrap (/home/cloud/Code/cloudtube/node_modules/pug-runtime/wrap.js:6:10), :323:7) at render (/home/cloud/Code/cloudtube/node_modules/pinski/plugins.js:14:47) at Object.code (/home/cloud/Code/cloudtube/api/video.js:26:12) at process.internalTickCallback (internal/process/next_tick.js:77:7)

[1] https://tube.cadence.moe/watch?v=jsePdarfEYU

#255 package repositories 9 months ago

Ticket created by ~chaosmonk on ~sircmpwn/sr.ht

It would be a neat enhancement if SourceHut could be used to host package repositories (i.e. deb, rpm) with an API for uploading packages either manually, or automatically after running a build similarly to OpenSuse's Open Build Service.