Skip to content

Conversation

@Jyotsnarajan
Copy link
Collaborator

No description provided.

@kidanger
Copy link
Member

Do you have an example of output with the current ipolcore state?

@Jyotsnarajan
Copy link
Collaborator Author

Do you have an example of output with the current ipolcore state?

I have executed locally:
./remove_workshop_demos.py -demoinfodb ~/ipolDevel/ipol_demo/modules/core/db/ -blobsdb ~/ipolDevel/ipol_demo/modules/blobs/db/ -blobsdir ~/ipolDevel/ipol_demo/modules/blobs/staticData/blob_directory/

Output:
List of All workshop Demos: 79
[9999, 99991, 33333999125, 21, 77777000031, 1000037, 4, 77777000053, 333330030001, 77777000021, 77777000008, 77777000022, 77777000023, 77777000011, 77777000025, 77777000001, 77777000002, 77777000003, 77777000005, 77777000006, 77777000007, 77777000010, 77777000012, 77777000013, 77777000014, 77777000015, 77777000016, 77777000017, 77777000018, 77777000019, 77777000020, 77777000024, 77777000026, 77777000027, 77777000028, 77777000029, 77777000032, 77777000035, 77777000036, 77777000037, 77777000039, 77777000040, 77777000041, 77777000043, 77777000044, 77777000046, 77777000047, 77777000049, 77777000051, 77777000052, 77777000054, 77777000055, 77777000057, 77777000058, 77777000059, 77777000060, 77777000063, 77777000064, 77777000065, 77777000067, 77777000068, 77777000070, 77777000071, 77777000072, 77777000073, 77777000074, 77777000077, 77777000078, 77777000079, 77777000083, 77777000085, 77777000086, 77777000087, 123455, 77777000106, 77777000123, 333330030003, 333330030002, 77777000088]

List of 6 months old workshop Demos: 0
[]

List of All non working Demos: 2
[9999, 123455]

'''

print("List of All workshop Demos:", len(workshop_demo_list), "\n" ,workshop_demo_list, "\n")
print("List of 6 months old workshop Demos:", len(old_workshop_demo_list), "\n" ,old_workshop_demo_list, "\n")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This list is never populated

parameter = get_params(di_cursor, demo_id)

#input blob required to run the demo
blob = get_blob(bl_cursor, demo_id)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding is that some demos might have more than one blob required for running a demo. Running demos this way might lead to demo no executed due to missing inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants