pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
Res facta quae tamen fingi potuit ([personal profile] pauamma) wrote in [site community profile] dw_dev2021-02-09 12:19 am
Entry tags:

Question thread #96

It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
hitchhiker: image of "don't panic" towel with a rocketship and a 42 (Default)

[personal profile] hitchhiker 2021-02-09 05:46 am (UTC)(link)
i have let my current dreamhack bitrot to the point where i would just like to blow it away and get a new one - who do i ping about that? i tried the current link in the wiki and got no response.
hitchhiker: image of "don't panic" towel with a rocketship and a 42 (Default)

[personal profile] hitchhiker 2021-02-09 10:53 am (UTC)(link)
huh, managed to miss that! thanks!!
kareila: Rosie the Riveter "We Can Do It!" with a DW swirl (dw)

[personal profile] kareila 2021-02-09 09:28 pm (UTC)(link)
If you continue to get no response, our Discord server is also a good place to ask for help.
momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)

[personal profile] momijizukamori 2021-02-10 01:32 am (UTC)(link)
Did this end up working for you? I can see about wiping and resetting otherwise.
hitchhiker: image of "don't panic" towel with a rocketship and a 42 (Default)

[personal profile] hitchhiker 2021-02-10 01:58 am (UTC)(link)
i didn't get the notification email, but when i tried to ssh in i did get the "this is the first time you've logged in" message, so it looks like it did do something. however, it didn't appear to install the required dependencies:

dh-martindemello@hack:~/dw$ $LJHOME/bin/upgrading/make_system.pl

Can't locate Math/Random/Secure.pm in [personal profile] inc (you may need to install the Math::Random::Secure module) ([personal profile] inc contains: /dreamhack/home/8110-martindemello/dw/ext/local/cgi-bin /dreamhack/home/8110-martindemello/dw/ext/dw-nonfree/cgi-bin /dreamhack/home/8110-martindemello/dw/cgi-bin /dreamhack/home/8110-martindemello/dw/extlib/lib/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /dreamhack/home/8110-martindemello/dw/cgi-bin/ljlib.pl line 87.
momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)

[personal profile] momijizukamori 2021-02-10 02:05 am (UTC)(link)

Oh, I bet we never added it to the system Perl libraries. Can you try again? I just installed it globally on the hack box.

hitchhiker: image of "don't panic" towel with a rocketship and a 42 (Default)

[personal profile] hitchhiker 2021-02-10 02:17 am (UTC)(link)
thanks, works fine now! the only other immediate issues i could see were that it checked out the code in the `develop` branch rather than `master`, and when i switched to master (which did have the latest commits) and ran `prove` the tidy test failed.
momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)

[personal profile] momijizukamori 2021-02-10 02:23 am (UTC)(link)

Oh, looks like the global Perl had a different version of Tidy than we use in prod - I just upgraded that, which may make the error go away? But we also had an issue with a file tidied on the wrong version getting merged to master recently, so it could be that too.

hitchhiker: image of "don't panic" towel with a rocketship and a 42 (Default)

[personal profile] hitchhiker 2021-02-10 02:39 am (UTC)(link)
yep, that fixed the tidy tests! i should be good to go now, thanks for the quick response :)
hitchhiker: image of "don't panic" towel with a rocketship and a 42 (Default)

[personal profile] hitchhiker 2021-02-10 05:19 am (UTC)(link)
some more issues (is this a useful place to report them or should i file a bug on github instead?)




dh-martindemello@hack:~/dw$ ./bin/checkconfig.pl
[Checking Timezone...]
[Checking for Perl Modules....]
Paws::S3 is not stable / supported / entirely developed at /usr/local/share/perl/5.22.1/Paws/S3.pm line 2.

# curl -L http://cpanmin.us | sudo perl - --self-upgrade
# cpanm -L $LJHOME/extlib/ Log::Log4perl::Appender::Elasticsearch::Bulk Test::MockObject


Problem:
* Out of date module: CGI (need 4.50, 4.26 installed)
* Out of date module: JSON::Validator (need 3.25, 3.11 installed)
* Out of date module: List::Util (need 1.55, 1.47 installed)
* Missing perl module: Log::Log4perl::Appender::Elasticsearch::Bulk
* Out of date module: SOAP::Lite (need 1.27, 1.19 installed)
* Missing perl module: Test::MockObject
* Out of date module: XML::Simple (need 2.25, 2.22 installed)




dh-martindemello@hack:~/dw$ prove t/dev-setup.t
t/dev-setup.t .. Can't call method "quote" on an undefined value at /dreamhack/home/8110-martindemello/dw/cgi-bin/LJ/User/Data.pm line 571.
t/dev-setup.t .. skipped: (no reason given)

Test Summary Report
-------------------
t/dev-setup.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Files=1, Tests=0, 1 wallclock secs ( 0.02 usr 0.01 sys + 1.26 cusr 0.14 csys = 1.43 CPU)
Result: FAIL
hitchhiker: image of "don't panic" towel with a rocketship and a 42 (Default)

[personal profile] hitchhiker 2021-02-10 02:20 am (UTC)(link)
also while i have your attention, could you please install 'tig' on the dreamhack? :)
momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)

[personal profile] momijizukamori 2021-02-10 02:27 am (UTC)(link)

I will bring it up with the arbitrators of dreamhack truth (aka [staff profile] mark and [personal profile] alierak)