You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that csv is downloaded correctly, then I see that data is being transferred to the database after download, and it includes the package. But then inside PackagesDatabase::findDependencies, code fails to find that package in the same database. Not sure if it's something with SQL, mysql, database or something else.
I don't think it's because server is not public, but obviously I could be wrong.
Failure is here (q.empty() is true):
auto q = (*db)(
custom_query(sqlpp::verbatim("SELECT package_id FROM package WHERE path = '" + dep.ppath.toString() + "' COLLATE NOCASE"))
.with_result_type_of(select(pkgs.packageId).from(pkgs))
);
//auto q = (*db)(select(pkgs.packageId).from(pkgs).where(pkgs.path == dep.ppath.toString()));
if (q.empty())
// TODO: replace later with typed exception, so client will try to fetch same package from server
throw std::runtime_error("PackageId '" + project.ppath.toString() + "' not found.");
But, if it's too early to be trying I guess I'll stop :)
I guess it's missing in packages.db?
The text was updated successfully, but these errors were encountered: