Bug 403171

Summary: kdesrc-build cant run any command
Product: [Developer tools] kdesrc-build Reporter: Gaurav Pant <geniuspant>
Component: project metadataAssignee: Michael Pyne <mpyne>
Status: RESOLVED FIXED    
Severity: critical CC: nate, wilderkde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Attachment showing encountered error

Description Gaurav Pant 2019-01-13 12:28:37 UTC
Created attachment 117439 [details]
Attachment showing encountered error

SUMMARY

Encountered an error in the execution of the script.
The error reported was Called unknown method ksb::test::inspect at /home/gaurav-pant/kde
 at /home/gaurav-pant/kde/kdesrc-build/modules/ksb/Debug.pm line 203.
        ksb::test::AUTOLOAD("log_command", "kde-build-metadata", "git-clone", ARRAY(0x55
        ksb::Util::log_command(ksb::Module=HASH(0x55919ce6a240), "git-clone", ARRAY(0x55
        ksb::Updater::Git::_clone(ksb::Updater::KDEProjectMetadata=HASH(0x55919cf933f8),
        ksb::Updater::Git::updateCheckout(ksb::Updater::KDEProjectMetadata=HASH(0x55919c
        ksb::Updater::Git::updateInternal(ksb::Updater::KDEProjectMetadata=HASH(0x55919c
        eval {...} called at /home/gaurav-pant/kde/kdesrc-build/modules/ksb/Application.
        ksb::Application::_downloadKDEProjectMetadata(ksb::Application=HASH(0x55919c98ac
        ksb::Application::generateModuleList(ksb::Application=HASH(0x55919c98acf0)) call
        ksb::Application::new("ksb::Application") called at /home/gaurav-pant/kde/kdesrc
        eval {...} called at /home/gaurav-pant/kde/kdesrc-build/kdesrc-build line 363
 at /home/gaurav-pant/kde/kdesrc-build/modules/ksb/Application.pm line 556.
        ksb::Application::_downloadKDEProjectMetadata(ksb::Application=HASH(0x55919c98ac
        ksb::Application::generateModuleList(ksb::Application=HASH(0x55919c98acf0)) call
        ksb::Application::new("ksb::Application") called at /home/gaurav-pant/kde/kdesrc
        eval {...} called at /home/gaurav-pant/kde/kdesrc-build/kdesrc-build line 363

STEPS TO REPRODUCE
1. Remove any previous versions of kdesrc-build if you have any
2. Clone using git clone git://anongit.kde.org/kdesrc-build
3. Do the initial setup using ./kdesrc-build-setup
4. Try running kdesrc-build --metadata-only, encounters error
5. All commands produce similar error

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Michael Pyne 2019-01-20 00:49:57 UTC
Thank you for the report. This bug was fixed shortly after it was introduced.

However since kdesrc-build will not be able to update itself when it can't start, you may have to go to the kdesrc-build directory and manually run "git pull".
Comment 2 Michael Pyne 2019-01-20 00:52:17 UTC
*** Bug 403177 has been marked as a duplicate of this bug. ***