Giter Site home page Giter Site logo

Problems installing about dfeed HOT 8 CLOSED

cybershadow avatar cybershadow commented on July 18, 2024
Problems installing

from dfeed.

Comments (8)

CyberShadow avatar CyberShadow commented on July 18, 2024

Hi,

Due to a change in Phobos, the ae version that was registered as the DFeed submodule only built with the latest (alpha / git) version of DMD. I've since added a workaround to ae to allow it to build in both versions, but that occurred after the submodule version.

I've now updated DFeed / ae to build with both D 2.066.0 and git.

from dfeed.

jamesmintram avatar jamesmintram commented on July 18, 2024

Hi,

Thanks - the original error has disappeared and been replaced with the following:

ae/sys/sqlite3.d(71): Error: 'std.conv.to!(const(char)[]).to!(char*).to' is not nothrow
ae/sys/sqlite3.d(65): Error: function 'ae.sys.sqlite3.SQLite.query.Iterator.callback' is nothrow yet may throw
ae/sys/sqlite3.d(71): Error: 'std.conv.to!(const(char)[]).to!(char*).to' is not nothrow
ae/sys/sqlite3.d(65): Error: function 'ae.sys.sqlite3.SQLite.query.Iterator.callback' is nothrow yet may throw

Sorry I cannot be more help, I don't have any experience with D!

Regards,
James

from dfeed.

jamesmintram avatar jamesmintram commented on July 18, 2024

Just checking d-apt and it appears the latest Phobos version available is: v2.065 so I guess that is the issue.

from dfeed.

CyberShadow avatar CyberShadow commented on July 18, 2024

Yes. I've now fixed backwards compatibility with DMD 2.063 through 2.065.

from dfeed.

jamesmintram avatar jamesmintram commented on July 18, 2024

Thanks CyberShadow.

Unfortunately I have another issue (if there is a better place for these problems let me know where to post)

rdmd nntpdownload runs correctly

rdmd dfeed_web crashes with the callstack below:

core.exception.RangeError@posting(301): Range violation
----------------
/tmp/.rdmd-0/rdmd-dfeed_web.d-095A8765B3EB5D5EDB65617968C2D564/dfeed_web(_d_array_bounds+0x16) [0x82c4126]
/tmp/.rdmd-0/rdmd-dfeed_web.d-095A8765B3EB5D5EDB65617968C2D564/dfeed_web() [0x829055a]
/tmp/.rdmd-0/rdmd-dfeed_web.d-095A8765B3EB5D5EDB65617968C2D564/dfeed_web(void posting._staticCtor14()+0x37) [0x82904ff]
/tmp/.rdmd-0/rdmd-dfeed_web.d-095A8765B3EB5D5EDB65617968C2D564/dfeed_web(void posting.__modctor()+0x8) [0x8290540]
/tmp/.rdmd-0/rdmd-dfeed_web.d-095A8765B3EB5D5EDB65617968C2D564/dfeed_web(pure void rt.minfo.__T14runModuleFuncsS492rt5minfo11ModuleGroup11runTlsCtorsMFZv9__lambda1Z.runModuleFuncs(object.ModuleInfo*[])+0x3f) [0x82ff9cf]
/tmp/.rdmd-0/rdmd-dfeed_web.d-095A8765B3EB5D5EDB65617968C2D564/dfeed_web(void rt.minfo.ModuleGroup.runTlsCtors()+0x11) [0x82ff7b9]
/tmp/.rdmd-0/rdmd-dfeed_web.d-095A8765B3EB5D5EDB65617968C2D564/dfeed_web(int rt.minfo.rt_moduleTlsCtor().__foreachbody1(ref rt.sections_linux.DSO)+0x13) [0x82cb12b]
/tmp/.rdmd-0/rdmd-dfeed_web.d-095A8765B3EB5D5EDB65617968C2D564/dfeed_web(int rt.sections_linux.DSO.opApply(scope int delegate(ref rt.sections_linux.DSO))+0x2c) [0x82cb2cc]
/tmp/.rdmd-0/rdmd-dfeed_web.d-095A8765B3EB5D5EDB65617968C2D564/dfeed_web(rt_moduleTlsCtor+0x11) [0x82cb111]
/tmp/.rdmd-0/rdmd-dfeed_web.d-095A8765B3EB5D5EDB65617968C2D564/dfeed_web(rt_init+0x46) [0x82c8296]
/tmp/.rdmd-0/rdmd-dfeed_web.d-095A8765B3EB5D5EDB65617968C2D564/dfeed_web(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()+0xc) [0x82c8524]
/tmp/.rdmd-0/rdmd-dfeed_web.d-095A8765B3EB5D5EDB65617968C2D564/dfeed_web(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())+0x18) [0x82c84f0]
/tmp/.rdmd-0/rdmd-dfeed_web.d-095A8765B3EB5D5EDB65617968C2D564/dfeed_web(_d_run_main+0x117) [0x82c8487]
/tmp/.rdmd-0/rdmd-dfeed_web.d-095A8765B3EB5D5EDB65617968C2D564/dfeed_web(main+0x14) [0x824e224]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0xb75044d3]

from dfeed.

CyberShadow avatar CyberShadow commented on July 18, 2024

The file data/web.txt is not formatted correctly. It should have two lines: with the port to listen on, and hostname to use for links and message IDs.

from dfeed.

jamesmintram avatar jamesmintram commented on July 18, 2024

Thanks CyberShadow - that is the issue. Seems the second echo command had overwritten the contents of the file.

from dfeed.

CyberShadow avatar CyberShadow commented on July 18, 2024

>> should append to the target file. Make sure the second command uses >>, not >.

from dfeed.

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.