@@ -457,6 +457,7 @@ class AppRunner(DirectObject):
print "Couldn't find %s %s on %s" % (name, version, hostUrl)
return
+ package.checkStatus()
package.downloadDescFile(self.http)
package.downloadPackage(self.http)
package.installPackage(self)
@@ -157,7 +157,9 @@ load_plugin(const string &p3d_plugin_filename,
module = LoadLibrary(filename.c_str());
if (module == NULL) {
// Couldn't load the DLL.
- logfile << "Couldn't load " << filename << "\n";
+ logfile
+ << "Couldn't load " << filename << ", error = "
+ << GetLastError() << "\n";
return false;
}
@@ -80,9 +80,6 @@ main(int argc, char *argv[]) {
- cerr << "handles: " << input_handle << ", " << output_handle << "\n";
- cerr << "interactive_console = " << interactive_console << "\n";
-
if (!run_p3dpython(program_name, archive_file, input_handle, output_handle,
NULL, interactive_console)) {
cerr << "Failure on startup.\n";