Unable to create vm from uploaded ISO in cloudstack

i cannot created vm from uploaded ISO. it's show like this. can anyone have any suggestion for me pls.

it's working before and now it's show like this.

@thorzinaung
Could you check if your uploaded iso is in a ready state
Images>ISO> zone tab
Also, could you paste the management server log exception

@kiranchavala hi, here is the management server log.
2023-05-29 16:41:37,271 DEBUG [c.c.h.XenServerGuru] (Timer-7:ctx-37986b10) (logid:e32645c0) We are returning the default host to execute commands because the command is not of Copy type.
2023-05-29 16:41:37,271 DEBUG [o.a.c.s.RemoteHostEndPoint] (Timer-7:ctx-37986b10) (logid:e32645c0) Sending command org.apache.cloudstack.storage.command.DownloadProgressCommand to host: 4
2023-05-29 16:41:37,275 DEBUG [c.c.a.t.Request] (Timer-7:ctx-37986b10) (logid:e32645c0) Seq 4-6920625252384899245: Sending  { Cmd , MgmtId: 177602573, via: 4(s-2-VM), Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"5a0aee03-76c5-440c-a218-56b05679f514","request":"GET_STATUS","hvm":"true","description":"Ubuntu22.04","maxDownloadSizeInBytes":"(50.00 GB)<PHONE_NUMBER>0","id":"229","resourceType":"TEMPLATE","installPath":"template/tmpl/2/229","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://storage-svr01.ayarnet.local/export/secondary","role":"Image"}},"url":"https://releases.ubuntu.com/22.04.2/ubuntu-22.04.2-desktop-amd64.iso","format":"ISO","accountId":"2","name":"229-2-3e8c3285-e278-3486-ba05-fceb43b7e6b1","secUrl":"nfs://storage-svr01.ayarnet.local/export/secondary","wait":"0","bypassHostMaintenance":"false"}}] }
2023-05-29 16:41:37,327 DEBUG [c.c.a.t.Request] (AgentManager-Handler-7:null) (logid:) Seq 4-6920625252384899245: Processing:  { Ans: , MgmtId: 177602573, via: 4, Ver: v1, Flags: 10, [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"5a0aee03-76c5-440c-a218-56b05679f514","downloadPct":"85","errorString":" ","downloadStatus":"DOWNLOAD_IN_PROGRESS","downloadPath":"/mnt/SecStorage/1687d243-0bc5-36f2-bdac-a5069b4b5ff2/template/tmpl/2/229/dnld17334639663171168722tmp","installPath":"template/tmpl/2/229","templateSize":"(0 bytes) 0","templatePhySicalSize":"(0 bytes) 0","result":"true","details":" ","wait":"0","bypassHostMaintenance":"false"}}] }
2023-05-29 16:41:37,327 DEBUG [o.a.c.s.i.BaseImageStoreDriverImpl] (RemoteHostEndPoint-3:ctx-30088f11) (logid:6bf1d578) Performing image store createTemplate async callback
2023-05-29 16:41:37,332 INFO  [o.a.c.s.i.BaseImageStoreDriverImpl] (RemoteHostEndPoint-3:ctx-30088f11) (logid:6bf1d578) Updating store ref entry for template Ubuntu22.04
2023-05-29 16:41:41,017 DEBUG [o.a.c.h.HAManagerImpl] (BackgroundTaskPollManager-4:ctx-4560214a) (logid:7dc7d16b) HA health check task is running...
2023-05-29 16:41:42,543 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-f1ff9adb) (logid:fa0782a0) Found 8 routers to update status.
2023-05-29 16:41:42,545 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-f1ff9adb) (logid:fa0782a0) Found 0 VPC's to update Redundant State.
2023-05-29 16:41:42,547 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-f1ff9adb) (logid:fa0782a0) Found 0 networks to update RvR status.
2023-05-29 16:41:44,566 DEBUG [c.c.s.StatsCollector] (StatsCollector-2:ctx-7ecfaef3) (logid:7b665fc4) StorageCollector is running...
2023-05-29 16:41:44,581 DEBUG [c.c.h.o.r.Ovm3HypervisorGuru] (StatsCollector-2:ctx-7ecfaef3) (logid:7b665fc4) getCommandHostDelegation: class com.cloud.agent.api.GetStorageStatsCommand
2023-05-29 16:41:44,581 DEBUG [c.c.h.XenServerGuru] (StatsCollector-2:ctx-7ecfaef3) (logid:7b665fc4) We are returning the default host to execute commands because the command is not of Copy type.
2023-05-29 16:41:44,789 DEBUG [c.c.a.t.Request] (StatsCollector-2:ctx-7ecfaef3) (logid:7b665fc4) Seq 4-6920625252384899246: Received:  { Ans: , MgmtId: 177602573, via: 4(s-2-VM), Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2023-05-29 16:41:44,794 DEBUG [c.c.h.o.r.Ovm3HypervisorGuru] (StatsCollector-2:ctx-7ecfaef3) (logid:7b665fc4) getCommandHostDelegation: class com.cloud.agent.api.GetStorageStatsCommand
2023-05-29 16:41:44,794 DEBUG [c.c.h.XenServerGuru] (StatsCollector-2:ctx-7ecfaef3) (logid:7b665fc4) We are returning the default host to execute commands because the command is not of Copy type.
2023-05-29 16:41:44,798 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-68:ctx-10810d4f) (logid:5f0c61e5) Seq 8-28991922601197775: Executing request
2023-05-29 16:41:44,798 DEBUG [c.c.h.v.r.VmwareResource] (DirectAgent-68:ctx-10810d4f) (logid:7b665fc4) Executing resource command GetStorageStatsCommand: [].
2023-05-29 16:41:44,855 DEBUG [c.c.h.v.r.VmwareResource] (DirectAgent-68:ctx-10810d4f vhost02.ayarnet.local, cmd: GetStorageStatsCommand) (logid:7b665fc4) Datastore summary info: [storageId: cc5881d1-b9a8-393a-92f5-7694e3c7e12d, ], localPath: /ayarnet-dc01/Ayarnet-SSD-Vol01, poolType: PreSetup, capacity: (17.9998 TB)<PHONE_NUMBER>4512, free: (17.1456 TB)<PHONE_NUMBER>7264, used: (874.66 GB)<PHONE_NUMBER>48].
2023-05-29 16:41:44,855 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-68:ctx-10810d4f) (logid:7b665fc4) Seq 8-28991922601197775: Response Received:
2023-05-29 16:41:44,855 DEBUG [c.c.a.t.Request] (StatsCollector-2:ctx-7ecfaef3) (logid:7b665fc4) Seq 8-28991922601197775: Received:  { Ans: , MgmtId: 177602573, via: 8(vhost02.ayarnet.local), Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2023-05-29 16:41:44,858 DEBUG [c.c.h.o.r.Ovm3HypervisorGuru] (StatsCollector-2:ctx-7ecfaef3) (logid:7b665fc4) getCommandHostDelegation: class com.cloud.agent.api.GetStorageStatsCommand
2023-05-29 16:41:44,858 DEBUG [c.c.h.XenServerGuru] (StatsCollector-2:ctx-7ecfaef3) (logid:7b665fc4) We are returning the default host to execute commands because the command is not of Copy type.
2023-05-29 16:41:44,862 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-271:ctx-10123aa8) (logid:ef3f2598) Seq 9-7626283018998513995: Executing request
2023-05-29 16:41:44,862 DEBUG [c.c.h.v.r.VmwareResource] (DirectAgent-271:ctx-10123aa8) (logid:7b665fc4) Executing resource command GetStorageStatsCommand: [].
2023-05-29 16:41:44,948 DEBUG [c.c.h.v.r.VmwareResource] (DirectAgent-271:ctx-10123aa8 vhost01.ayarnet.local, cmd: GetStorageStatsCommand) (logid:7b665fc4) Datastore summary info: [storageId: d9da4966-7ce6-4048-8128-1662759a8c3c, ], localPath: datastore-6006, poolType: VMFS, capacity: (616.50 GB)<PHONE_NUMBER>96, free: (602.42 GB)<PHONE_NUMBER>52, used: (14.08 GB)<PHONE_NUMBER>4].
2023-05-29 16:41:44,950 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-271:ctx-10123aa8) (logid:7b665fc4) Seq 9-7626283018998513995: Response Received:
2023-05-29 16:41:44,951 DEBUG [c.c.a.t.Request] (StatsCollector-2:ctx-7ecfaef3) (logid:7b665fc4) Seq 9-7626283018998513995: Received:  { Ans: , MgmtId: 177602573, via: 9(vhost01.ayarnet.local), Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2023-05-29 16:41:44,953 DEBUG [c.c.h.o.r.Ovm3HypervisorGuru] (StatsCollector-2:ctx-7ecfaef3) (logid:7b665fc4) getCommandHostDelegation: class com.cloud.agent.api.GetStorageStatsCommand
2023-05-29 16:41:44,953 DEBUG [c.c.h.XenServerGuru] (StatsCollector-2:ctx-7ecfaef3) (logid:7b665fc4) We are returning the default host to execute commands because the command is not of Copy type.
2023-05-29 16:41:44,957 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-136:ctx-ae96c4c2) (logid:c79d054c) Seq 8-28991922601197776: Executing request
2023-05-29 16:41:44,957 DEBUG [c.c.h.v.r.VmwareResource] (DirectAgent-136:ctx-ae96c4c2) (logid:7b665fc4) Executing resource command GetStorageStatsCommand: [].
2023-05-29 16:41:45,019 DEBUG [o.a.c.h.HAManagerImpl] (BackgroundTaskPollManager-4:ctx-49e25f7f) (logid:4b40f23b) HA health check task is running...
2023-05-29 16:41:45,038 DEBUG [c.c.h.v.r.VmwareResource] (DirectAgent-136:ctx-ae96c4c2 vhost02.ayarnet.local, cmd: GetStorageStatsCommand) (logid:7b665fc4) Datastore summary info: [storageId: 914f68f5-2656-4f2b-9a63-747ea601901e, ], localPath: datastore-14004, poolType: VMFS, capacity: (616.50 GB)<PHONE_NUMBER>96, free: (615.08 GB)<PHONE_NUMBER>72, used: (1.42 GB)<PHONE_NUMBER>].
2023-05-29 16:41:45,038 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-136:ctx-ae96c4c2) (logid:7b665fc4) Seq 8-28991922601197776: Response Received:
2023-05-29 16:41:45,039 DEBUG [c.c.a.t.Request] (StatsCollector-2:ctx-7ecfaef3) (logid:7b665fc4) Seq 8-28991922601197776: Received:  { Ans: , MgmtId: 177602573, via: 8(vhost02.ayarnet.local), Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2023-05-29 16:41:47,327 DEBUG [c.c.h.o.r.Ovm3HypervisorGuru] (Timer-7:ctx-4ef9dab5) (logid:833d8c4f) getCommandHostDelegation: class org.apache.cloudstack.storage.command.DownloadProgressCommand
2023-05-29 16:41:47,330 DEBUG [c.c.h.XenServerGuru] (Timer-7:ctx-4ef9dab5) (logid:833d8c4f) We are returning the default host to execute commands because the command is not of Copy type.
2023-05-29 16:41:47,330 DEBUG [o.a.c.s.RemoteHostEndPoint] (Timer-7:ctx-4ef9dab5) (logid:833d8c4f) Sending command org.apache.cloudstack.storage.command.DownloadProgressCommand to host: 4
2023-05-29 16:41:47,333 DEBUG [c.c.a.t.Request] (Timer-7:ctx-4ef9dab5) (logid:833d8c4f) Seq 4-6920625252384899247: Sending  { Cmd , MgmtId: 177602573, via: 4(s-2-VM), Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"5a0aee03-76c5-440c-a218-56b05679f514","request":"GET_STATUS","hvm":"true","description":"Ubuntu22.04","maxDownloadSizeInBytes":"(50.00 GB)<PHONE_NUMBER>0","id":"229","resourceType":"TEMPLATE","installPath":"template/tmpl/2/229","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://storage-svr01.ayarnet.local/export/secondary","role":"Image"}},"url":"https://releases.ubuntu.com/22.04.2/ubuntu-22.04.2-desktop-amd64.iso","format":"ISO","accountId":"2","name":"229-2-3e8c3285-e278-3486-ba05-fceb43b7e6b1","secUrl":"nfs://storage-svr01.ayarnet.local/export/secondary","wait":"0","bypassHostMaintenance":"false"}}] }
2023-05-29 16:41:47,337 DEBUG [c.c.a.t.Request] (AgentManager-Handler-9:null) (logid:) Seq 4-6920625252384899247: Processing:  { Ans: , MgmtId: 177602573, via: 4, Ver: v1, Flags: 10, [{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"5a0aee03-76c5-440c-a218-56b05679f514","downloadPct":"87","errorString":" ","downloadStatus":"DOWNLOAD_IN_PROGRESS","downloadPath":"/mnt/SecStorage/1687d243-0bc5-36f2-bdac-a5069b4b5ff2/template/tmpl/2/229/dnld17334639663171168722tmp","installPath":"template/tmpl/2/229","templateSize":"(0 bytes) 0","templatePhySicalSize":"(0 bytes) 0","result":"true","details":" ","wait":"0","bypassHostMaintenance":"false"}}] }
2023-05-29 16:41:47,337 DEBUG [o.a.c.s.i.BaseImageStoreDriverImpl] (RemoteHostEndPoint-3:ctx-554ad717) (logid:3abe25fd) Performing image store createTemplate async callback
2023-05-29 16:41:47,342 INFO  [o.a.c.s.i.BaseImageStoreDriverImpl] (RemoteHostEndPoint-3:ctx-554ad717) (logid:3abe25fd) Updating store ref entry for template Ubuntu22.04
2023-05-29 16:41:49,022 DEBUG [o.a.c.h.HAManagerImpl] (BackgroundTaskPollManager-4:ctx-815a7c37) (logid:f98e320e) HA health check task is running...
^C
ISO is in ready state.

Here are management server log.
2023-05-29 00:00:02,488 DEBUG [o.a.c.h.HAManagerImpl] (BackgroundTaskPollManager-3:ctx-1b765b91) (logid:997b800b) HA health check task is running...
2023-05-29 00:00:04,815 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-6fdd3883) (logid:bc25bcd6) Enabled non-edge zones available for scan: 8
2023-05-29 00:00:04,851 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-64fd60a0) (logid:a40d110f) Enabled non-edge zones available for scan: 8
2023-05-29 00:00:06,293 DEBUG [c.c.s.StatsCollector] (secstorage-1:ctx-6fdd3883) (logid:bc25bcd6) Verifying image storage [2]. Capacity: total=[1 TB], used=[29 GB], threshold=[89.99999761581421%].
2023-05-29 00:00:06,294 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-64fd60a0) (logid:a40d110f) Zone 8 is ready to launch console proxy
2023-05-29 00:00:06,301 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-6fdd3883) (logid:bc25bcd6) Zone [8] is ready to launch secondary storage VM.
2023-05-29 00:00:06,491 DEBUG [o.a.c.h.HAManagerImpl] (BackgroundTaskPollManager-5:ctx-c7593438) (logid:2a9660b7) HA health check task is running...
2023-05-29 00:00:10,493 DEBUG [o.a.c.h.HAManagerImpl] (BackgroundTaskPollManager-2:ctx-d254e8f5) (logid:799c2fbb) HA health check task is running...
2023-05-29 00:00:14,495 DEBUG [o.a.c.h.HAManagerImpl] (BackgroundTaskPollManager-3:ctx-a3eda4f8) (logid:b2975623) HA health check task is running...
2023-05-29 00:00:16,331 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-60:ctx-d6c6104b) (logid:8e0716f3) Seq 8-4202421402290115220: Executing request
2023-05-29 00:00:16,331 DEBUG [c.c.h.v.r.VmwareResource] (DirectAgent-60:ctx-d6c6104b) (logid:6b3993ee) Executing resource command GetVmStatsCommand: [].
2023-05-29 00:00:16,436 DEBUG [c.c.s.StatsCollector] (StatsCollector-2:ctx-13a8767e) (logid:7298e52b) DbCollector is running...
2023-05-29 00:00:16,498 INFO  [c.c.r.ResourceLimitManagerImpl] (ResourceCountChecker-1:ctx-bbd0d5e7) (logid:e7d4bd35) Started resource counters recalculation periodic task.
2023-05-29 00:00:16,549 DEBUG [c.c.h.v.m.HostMO] (DirectAgent-60:ctx-d6c6104b vhost02.ayarnet.local, cmd: GetVmStatsCommand) (logid:6b3993ee) find VM s-2-VM on host
2023-05-29 00:00:16,550 INFO  [c.c.h.v.m.HostMO] (DirectAgent-60:ctx-d6c6104b vhost02.ayarnet.local, cmd: GetVmStatsCommand) (logid:6b3993ee) VM s-2-VM not found in host cache
2023-05-29 00:00:16,550 DEBUG [c.c.h.v.m.HostMO] (DirectAgent-60:ctx-d6c6104b vhost02.ayarnet.local, cmd: GetVmStatsCommand) (logid:6b3993ee) load VM cache on host
2023-05-29 00:00:16,579 DEBUG [c.c.h.v.m.HostMO] (DirectAgent-60:ctx-d6c6104b vhost02.ayarnet.local, cmd: GetVmStatsCommand) (logid:6b3993ee) find VM r-99-VM on host
2023-05-29 00:00:16,579 DEBUG [c.c.h.v.m.HostMO] (DirectAgent-60:ctx-d6c6104b vhost02.ayarnet.local, cmd: GetVmStatsCommand) (logid:6b3993ee) VM r-99-VM found in host cache
2023-05-29 00:00:16,583 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:ctx-5ec06cd8) (logid:afb7b02b) External devices stats collector is running...
2023-05-29 00:00:16,589 DEBUG [c.c.h.v.m.HostMO] (DirectAgent-60:ctx-d6c6104b vhost02.ayarnet.local, cmd: GetVmStatsCommand) (logid:6b3993ee) find VM i-9-98-VM on host
2023-05-29 00:00:16,589 DEBUG [c.c.h.v.m.HostMO] (DirectAgent-60:ctx-d6c6104b vhost02.ayarnet.local, cmd: GetVmStatsCommand) (logid:6b3993ee) VM i-9-98-VM found in host cache
2023-05-29 00:00:16,594 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:ctx-5ec06cd8) (logid:afb7b02b) Network 233 is not configured for external networking, so skipping usage check.
2023-05-29 00:00:16,596 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:ctx-5ec06cd8) (logid:afb7b02b) Network 278 is not configured for external networking, so skipping usage check.
2023-05-29 00:00:16,598 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:ctx-5ec06cd8) (logid:afb7b02b) Network 280 is not configured for external networking, so skipping usage check.
2023-05-29 00:00:16,598 DEBUG [o.a.c.b.BackupManagerImpl] (BackupPollTask:ctx-c9dcffd1) (logid:b72087e0) Backup backup.poll is being called at 2023-05-28 17:30:16 GMT
2023-05-29 00:00:16,599 DEBUG [c.c.n.ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:ctx-5ec06cd8) (logid:afb7b02b) Network 281 is not configured for external networking, so skipping usage check.
2023-05-29 00:00:16,599 DEBUG [c.c.h.v.m.HostMO] (DirectAgent-60:ctx-d6c6104b vhost02.ayarnet.local, cmd: GetVmStatsCommand) (logid:6b3993ee) find VM r-101-V:

@thorzinaung  could you please upload the complete managemen-server.log to some google drive and provide access to download the file

hi @kiranchavala bhai, here is the link.
https://drive.google.com/file/d/1yCxTs6c5B9pDvMy49288GyOhCbFTf5Ui/view?usp=sharing

@thorzinaung
Thanks for the logs, could you please let me know the Hypervisor version you are using ( Vmware, KVM, Xen )

@kiranchavala hypervisor version is Vmware 7.0.3

hi @thorzinaung
From the logs , it points to a generic vmware error
2023-05-29 16:23:46,135 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-80:ctx-e4c3fcd2 vhost01.ayarnet.local, job-1336/job-1337, cmd: StartCommand) (logid:4172af51) StartCommand failed due to [Exception: java.lang.RuntimeException
Message: Invalid configuration for device '0'.
Could you please cross-check if you are able to boot Open-suse 15.4 iso directly on Vmware
according vmware, its supported on the following esxi versions
https://www.vmware.com/resources/compatibility/search.php?deviceCategory=software&details=1&partner=465&operatingSystems=247&productNames=15&page=1&display_interval=10&sortColumn=Partner&sortOrder=Asc&testConfig=16

@kiranchavala hi, sorry for late reply. it's working when uploading from vmware. i just installed from vmware and it's working. it's not working only from cloudstack. how can i fix this? any suggestion bhai?

@thorzinaung
That's strange, Could you provide the iso link for open-suse (15.4) which  you are using
I used this link and it was working fine from Cloudstack
https://download.opensuse.org/distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Media.iso

@kiranchavala not only it’s not working from opensuse but also for other distros. I can create vm from default centos7 template but I can’t create vm from uploaded ISO. It’s working before and now it’s not working. I have no clue. Could you pls suggest anything?
Get Outlook for iOShttps://aka.ms/o0ukef

From: kiranchavala @.>
Sent: Tuesday, May 30, 2023 12:52:35 PM
To: apache/cloudstack @.>
Cc: thorzinaung @.>; Mention @.>
Subject: Re: [apache/cloudstack] Unable to create vm from uploaded ISO in cloudstack (Issue #7567)
@thorzinaunghttps://github.com/thorzinaung
That's strange, Could you provide the iso link for open-suse (15.4) which you are using
I used this link and it was working fine from Cloudstack
https://download.opensuse.org/distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Media.iso
—
Reply to this email directly, view it on GitHubhttps://github.com/apache/cloudstack/issues/7567#issuecomment-1567833796, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5IV5YFF4D63NREEXR6IH7LXIWG2XANCNFSM6AAAAAAYSS3QVU.
You are receiving this because you were mentioned.Message ID: @.***>

@thorzinaung
Did you choose any disk size when deploying the vm from iso

@kiranchavala hi, yes, i choose small, medium, large. all size but still same issue. as you can see in below picture. i can create vm from default centos template but cannot from uploaded ISO.

@kiranchavala hi bhai, this is the log that i found. What can be the issue? i have no clue now. cloud you plz suggest anything? That could be really help
2023-06-01 13:24:45,445 DEBUG [c.c.a.t.Request] (DirectAgent-220:ctx-9e638b46) (logid:4d68a923) Seq 1-1378945910905504825: Processing:  { Ans: , MgmtId: 177602573, via: 1(vhost02.ayarnet.local), Ver: v1, Flags: 110, [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":"31","name":"i-2-31-VM","bootloader":"HVM","state":"Starting","type":"User","cpus":"1","minSpeed":"1000","maxSpeed":"1000","minRam":"(1.00 GB)<PHONE_NUMBER>","maxRam":"(1.00 GB)<PHONE_NUMBER>","hostName":"Test2","arch":"x86_64","os":"OpenSUSE Linux (64 bit)","platformEmulator":"opensuse64Guest","bootArgs":"","enableHA":"false","limitCpuUse":"false","enableDynamicallyScaleVm":"false","params":{"deployvm":"true","dataDiskController":"osdefault","nestedVirtualizationFlag":"false","rootdisksize":"100","vmware.reserve.mem":"false","vmware.reserve.cpu":"false","nicAdapter":"E1000","rootDiskController":"ide"},"uuid":"53546507-d752-4ae8-8dd8-711222002d07","enterHardwareSetup":"false","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"f9dea583-dcc3-4993-a142-207afda4a8ed","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"422f2ada-9b2c-3394-9219-2b2138fdadfc","name":"YGN-Primary Storage02","id":"4","poolType":"PreSetup","host":"vcsa01.ayarnet.local","path":"/ayarnet-dc01/Ayarnet-NL-Vol01","port":"0","url":"PreSetup://vcsa01.ayarnet.local/ayarnet-dc01/Ayarnet-NL-Vol01/?ROLE=Primary&STOREUUID=422f2ada-9b2c-3394-9219-2b2138fdadfc","isManaged":"false"}},"name":"ROOT-31","size":"(100.00 GB)<PHONE_NUMBER>00","path":"d183d011298141a8ad215f4a867d1321","volumeId":"38","vmName":"i-2-31-VM","accountId":"2","format":"OVA","provisioningType":"THIN","poolId":"4","id":"38","deviceId":"0","bytesReadRate":"(0 bytes) 0","bytesWriteRate":"(0 bytes) 0","iopsReadRate":"(0 bytes) 0","iopsWriteRate":"(0 bytes) 0","hypervisorType":"VMware","directDownload":"false","deployAsIs":"false"}},"diskSeq":"0","path":"d183d011298141a8ad215f4a867d1321","type":"ROOT","_details":{"storageHost":"vcsa01.ayarnet.local","managed":"false","storagePort":"0","storage.pool.disk.wait":"60","volumeSize":"(100.00 GB)<PHONE_NUMBER>00"}},{"data":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/2/203/203-2-c8663bbb-a089-3071-8000-fc704ea14a31.iso","origUrl":"https://mirror.lzu.edu.cn/opensuse/distribution/leap/15.4/appliances/iso/openSUSE-Leap-15.4-CR-DVD-x86_64-Build31.354-Media.iso","uuid":"a623437c-3524-410c-ba47-8b9aae846423","id":"203","format":"ISO","accountId":"2","checksum":"{SHA-512}3580d6b6e5e98cb470575cd848d0115b820cdbe235b867627d43e62ad1087192bdaa9a98f30f4d82e65174ffc819eb5760b5175b165a7aaa1c2ff182c91144bf","hvm":"true","displayText":"Server Version no GUI","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://storage-svr01.ayarnet.local/export/secondary","_role":"Image"}},"name":"203-2-c8663bbb-a089-3071-8000-fc704ea14a31","guestOsType":"OpenSUSE Linux (64 bit)","size":"(3.93 GB)<PHONE_NUMBER>","hypervisorType":"None","bootable":"false","uniqueName":"203-2-c8663bbb-a089-3071-8000-fc704ea14a31","directDownload":"false","deployAsIs":"false"}},"diskSeq":"3","type":"ISO"}],"nics":[{"deviceId":"0","networkRateMbps":"200","defaultNic":"true","pxeDisable":"false","nicUuid":"c4435bf8-4518-4498-9778-3457cb5d958f","details":{"PromiscuousMode":"false","MacAddressChanges":"true","ForgedTransmits":"true","MacLearning":"false"},"dpdkEnabled":"false","uuid":"3dc226c3-38ab-41fb-aa95-aeb1e5a92b63","ip":"<IP_ADDRESS>","netmask":"<IP_ADDRESS>","gateway":"<IP_ADDRESS>","mac":"02:00:4e:8f:00:01","dns1":"<IP_ADDRESS>","dns2":"<IP_ADDRESS>","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://1619","isolationUri":"vlan://1619","isSecurityGroupEnabled":"false","name":"Ayarnet-vDS01,1000-4000,vmwaredvs"}],"configDriveLocation":"SECONDARY","guestOsDetails":{},"extraConfig":{}},"result":"false","details":"StartCommand failed due to [Exception: java.lang.RuntimeException

hi @aung1979 yes. thanks for sharing your  issue with us. I will also let you know when able to solve issue. As of now, still stuck in this step.

hi @kiranchavala @aung1979  now my issue has been resolved. In global configuration setting i turned on this setting. System vm use local storage (system.vm.use.local.storage). Now issue has been resolved.


build fail, lack file(local.properties)

FAILURE: Build failed with an exception.

Where:
Build file '~/playground/PeriscopeLayout/library/build.gradle' line: 89

What went wrong:
A problem occurred evaluating project ':library'.

~/playground/PeriscopeLayout/local.properties (No such file or directory)

fixed


Geolocation data.

Sir,
How to get LatLong addresses based on list of geolocations in CSV file??
Please suggest.

Suggest http://www.geonames.org - it's Open.

Sir, I could not find batch search option over there. Search option is for one by one entry.

I am trying using R based method, as mentioned over - https://gist.github.com/aleszu/04a486ec0c3f61a8e7ce8f9b37d9e986
but it ask for google API key. I do not have it at present.

Sir,
I added latlong co-ordinates and mapped the locations with Google Map Link. country.csv - country.csv.
Please go through it.
Normalisation task is remaining.


Small logging improvements

Is it worth considering https://github.com/tokio-rs/tracing here?

I think that would be an improvement, yes. @masalachai what do you think? I think tracing is generally seen as somewhat of a successor to log. It has interoperability with the log crate but also includes a bunch of other functionality (including structured logging).

The tracing crate looks good. I'm ok with moving to using that instead of log. Thanks for the suggestion.

Added a commit that switches to tracing.


Warning: Package *Bloc-Serialization-STON depends on the following classes: BlElementCurrentProperties and BlElementStates

Warning when loading the project:
Warning: Package *Bloc-Serialization-STON depends on the following classes:
BlElementCurrentProperties
BlElementStates
You must resolve these dependencies before you will be able to load these definitions:
BlElementCurrentProperties>>#stonProcessSubObjects:
BlElementStates>>#stonProcessSubObjects:
When click on proceed, the project continue to load, at the end there are two missing classes:

BlElementCurrentProperties
BlElementStates

@plantec, @tinchodias, did you remove BlElementCurrentProperties and BlElementStates from Bloc or this is a bug?
I'm a bit surprised because I couldn't find a commit for their removal :S

hello, it may be this: https://github.com/pharo-graphics/Bloc/pull/422

Thanks @tinchodias!

after the talk of Alain we realized this part of bloc was not used and (after asking Alain) we removed it with Cyril... some of it had been already kind of deactivated for months (states answering nil in blelement)

Yes no problem!


Perf: reveal of breadcrumbs on startup

Noticed a long running reveal on startup from breadcrumbs when a provider is registered:

Not clear to me why the call itself would be taking so much time (maybe needs to access some DOM property that is expensive at that time).
Anyway maybe this can be optimized and/or defered.
The following profile:

was taken on Windows
with a non-minified / non-mangled build to aid reading
has the ellapsed event at 6755ms

prof-QIBV4was.main.zip

/duplicate of https://github.com/microsoft/vscode/issues/169875

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


CronExpression not working inside docker

CronExpression can be scheduled but never gets executed.
method: ScheduleWithCron(..., ..., chrono.WithLocation("Europe/Berlin"))
expression: does not matter, also */1 * * * * not working
docker-file to build and run:
# The base go-image
FROM golang:1.18-alpine as build
# Create a directory for the app
RUN mkdir /app
 # Copy all files from the current directory to the app directory
COPY ./src /app
 # Set working directory
WORKDIR /app
# go build will build an executable file named tics in the current directory
RUN go build -o tics
FROM alpine:latest AS bin
# copy from temporary "build"-image to the current
copy --from=build /app/tics /tics
copy ./tics.yml /tics.yml
EXPOSE 3222
RUN /bin/sh
# Run the tics executable
ENTRYPOINT ./tics

running the same source outside docker as an executable works.
do you have any ideas?

I don’t have any idea about this problem. but thank you for letting me know that. I’m gonna investigate the root cause of the problem.

did you had time to investigate or need more information? Thank you

I could not have enough time for the investigation because of my workload. this week, I hope I have enough time for figuring out the problem.

@peatle-mibt It seems your cron expression you are using is wrong, when I try to schedule a function with the same cron expression, I got an error like saying cron expression must consist of 6 fields. Can you please try to fix your cron expression and try it again? Sorry for late checking the issue. Please also let me know if you have any problem.

@peatle-mibt  your cron expression should be */1 * * * * *

It turns out this is not an issue because the cron expression used is wrong. so this issue will be closed.

I'm sorry, but this was a mistake in the description. it is still not working. From my log when starting:
2022-07-25 08:30:14.921 [INFO] starting reminder service with cron expression */1 * * * * *
I don't see any error in the log and i don't see any msg saying that my scheduled method is called. The method called with ScheduleWithFixedDelay is working. As I said, this only happens inside a docker container.

I also tried to schedule a task with the expression you specified inside docker. It worked for me. Could you give me some code snippets for investigation? I just reopened this issue.

strange...my code that I tested is:
Scheduler := chrono.NewDefaultTaskScheduler()
	Scheduler.ScheduleWithCron(func(ctx context.Context) {
		log.Info("ping cron")
	}, "*/1 * * * * *", chrono.WithLocation("Europe/Berlin"))
	Scheduler.ScheduleWithFixedDelay(func(ctx context.Context) {
		log.Info("ping delay")
	}, time.Duration(5000*int(time.Millisecond)))

ping delay gets printed, the other not. in windows and with vscode it works.
The OS for docker Linux 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 GNU/Linux
docker version: Docker version 20.10.5+dfsg1, build 55c4c88

Hi @peatle-mibt
Can you please confirm that the issue has been resolved with release v1.1.2?

Hello. I can confirm that it works without using a location, but with location it isn't.

yes I do. I also tried it within ubuntu 22.04 but no luck, sorry.

thank you!!! that did the trick, so it is an docker/image problem, not with your code. But maybe it would be possible to show some kind of error or warning when location info is not available.

You’re welcome. Right, it was an issue with Docker image.
Actually, when I tried this, schedule function was returning an error saying error: could not load time location .
You can check returned error value after scheduling.

I see. that's little weird about golang, errors can be ignored without explicitly doing so.


Replace unwrap error deal

When an error occurs, using unwrap will cause the program panic, and unwrap in the code needs to be replaced.

@HHoflittlefish777 Hello, is this issue still valid? Because it's a little early and I don't know if I need any more

It is still valid,welcome to solve it.


[TR] Man page translations/updated messages

This commit includes man page translations for Turkish plus new
translations for Vim. A couple of existing translations have been
refined/improved as well.

Folks, I was unable to get man vim working in Turkish. Am I missing something?

Codecov Report

Merging #5641 into master will increase coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5641      +/-   ##
==========================================
+ Coverage   83.17%   83.23%   +0.06%
==========================================
  Files         137      138       +1
  Lines      152067   152056      -11
==========================================
+ Hits       126476   126565      +89
+ Misses      25591    25491     -100

Impacted Files
Coverage Δ

src/ex_cmds2.c
90.48% <0%> (-2.28%)
:arrow_down:

src/main.c
72.87% <0%> (-0.43%)
:arrow_down:

src/testing.c
90.69% <0%> (-0.34%)
:arrow_down:

src/misc1.c
83.24% <0%> (-0.18%)
:arrow_down:

src/term.c
81.41% <0%> (-0.14%)
:arrow_down:

src/misc2.c
87.64% <0%> (-0.1%)
:arrow_down:

src/memline.c
78.1% <0%> (-0.08%)
:arrow_down:

src/channel.c
84% <0%> (-0.08%)
:arrow_down:

src/regexp_bt.c
85.08% <0%> (-0.07%)
:arrow_down:

src/regexp_nfa.c
90.99% <0%> (-0.04%)
:arrow_down:

... and 18 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 57ea292...4c75511. Read the comment docs.

Folks, I was unable to get man vim working in Turkish. Am I missing something?

You may need to update src/Makefile. Search MAN1DIR and DEST_MAN.

Commit 3fc6b2f causes a build failure.

Commit 3fc6b2f causes a build failure.
This is not helpful.  What commit is this referring to?  What failure?

Commit 3fc6b2f causes a build failure.
This is not helpful. What commit is this referring to? What failure?

Oh, it's my last commit, modifications for the Makefile. I'm trying to figure out where it fails. Error output below:

Undefined symbols for architecture x86_64:
"_add_time", referenced from:
_buflist_list in buffer.o
_u_undo_end in undo.o
_ex_undolist in undo.o
(maybe you meant: _did_add_timer)
"_check_due_timer", referenced from:
_do_sleep in ex_docmd.o
_ui_wait_for_chars_or_timer in ui.o
"_create_timer", referenced from:
_popup_create in popupwin.o
_popup_add_timeout in popupwin.o
"_f_localtime", referenced from:
_global_functions in evalfunc.o
"_f_reltime", referenced from:
_global_functions in evalfunc.o
"_f_reltimefloat", referenced from:
_global_functions in evalfunc.o
"_f_reltimestr", referenced from:
_global_functions in evalfunc.o
"_f_strftime", referenced from:
_global_functions in evalfunc.o
"_f_strptime", referenced from:
_global_functions in evalfunc.o
"_f_timer_info", referenced from:
_global_functions in evalfunc.o
"_f_timer_pause", referenced from:
_global_functions in evalfunc.o
"_f_timer_start", referenced from:
_global_functions in evalfunc.o
"_f_timer_stop", referenced from:
_global_functions in evalfunc.o
"_f_timer_stopall", referenced from:
_global_functions in evalfunc.o
"_get8ctime", referenced from:
_spell_load_file in spellfile.o
_suggest_load_files in spellfile.o
_u_read_undo in undo.o
"_get_ctime", referenced from:
_mch_print_begin in hardcopy.o
_findswapname in memline.o
_swapfile_info in memline.o
"_proftime_time_left", referenced from:
_term_check_timers in terminal.o
"_put_time", referenced from:
_mkspell in spellfile.o
"_set_ref_in_timer", referenced from:
_garbage_collect in eval.o
"_stop_timer", referenced from:
_win_free_popup in window.o
"_time_msg", referenced from:
_do_source in scriptfile.o
_main in main.o
_common_init in main.o
_vim_main2 in main.o
_main_loop in main.o
"_time_pop", referenced from:
_do_source in scriptfile.o
"_time_push", referenced from:
_do_source in scriptfile.o
"_time_to_bytes", referenced from:
_u_write_undo in undo.o
"_vim_time", referenced from:
_enter_buffer in buffer.o
_in_history in cmdhist.o
_add_to_history in cmdhist.o
_f_rand in evalfunc.o
_f_srand in evalfunc.o
_do_ecmd in ex_cmds.o
_setmark_pos in mark.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [vim] Error 1

@brammool, I am still not sure what I failed to do. I've also checked previous commits regarding new man pages, and it checks out; but still Vim fails to build with new additions. Any ideas?

Oh, it's my last commit, modifications for the Makefile. I'm trying to figure out where it fails. Error output below:

Time and timer functions are moved into time.c by a recent patch.
You should merge the latest master branch or rebase on top of it.

Oh, it's my last commit, modifications for the Makefile. I'm trying to figure out where it fails. Error output below:

Time and timer functions are moved into time.c by a recent patch.
You should merge the latest master branch or rebase on top of it.

I am already basing on the latest patch.

It launches fine, but on macOS Turkish characters are not properly displayed, Linux does not have this problem. I suspect this is a macOS problem, so it's ready to include now. I'll see if it can be fixed on macOS, any fixes are of course welcome.

I wonder if we need the files in a legacy encoding (latin5) these days.
FYI, Japanese man pages have only UTF-8 files.

I wonder if we need the files in a legacy encoding (latin5) these days.
FYI, Japanese man pages have only UTF-8 files.

Most intriguing, I deleted the conversions, latin5 versions of the files, and left only DEST_MAN_TR_U entries in Makefile, but characters still do not display properly, they are displaying with their latin1 correspondents. Most likely a macOS issue.


feat: disable artifact installation at build time

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

re #257

feat: disable artifact installation at build time

2. What is the scope of this PR (e.g. component or file name):

pkg/env/env.go

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[x] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 61.525%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3163

Relevant Lines:
5141

💛  - Coveralls


Diff shows by default the filename rather than the absolute path to the file

First of all thank you for your awesome work on this!
One improvement would be to make the script show the absolute path to the file - this is the default behaviour in git diff.

Ah- you mean the relative path instead of the filename? I had thought that was the case already, but looks like it isn't. Would be happy to merge a pull that changes it to use a/relative/path instead.


Question: Is it possible to consume from a specific offset?

Hi there,
I am not an expert in .Net so maybe i am missing something.
Is it possible to start consuming from a specific offset?
Best regards.

See the consumer example.
consumer.Assign(new List { new TopicPartitionOffset(topics.First(), 0, 0) });

Thanks for the answer. I will check the example better.
I also found and example on the documentation
consumer.OnPartitionsAssigned += (obj, partitions) => {
Console.WriteLine($"Assigned partitions: [{string.Join(", ", partitions)}], member id: {consumer.MemberId}");
var fromBeginning = partitions.Select(p => new TopicPartitionOffset(p.Topic, p.Partition, Offset.Beginning)).ToList();
Console.WriteLine($"Updated assignment: [{string.Join(", ", fromBeginning)}]");
consumer.Assign(fromBeginning);
};


File downloaded instead of redirecting to App proxy

@osiset @Jamesking56 Need help
For bug reporting only! If you're posting a feature request or discussion, please ignore.
Expected Behavior
I have setup the app proxy as

And given the routes as
Route::get('/cartmade_payment', function () {
return response('Hello, world!')->withHeaders(['Content-Type' => 'application/liquid']);
})->middleware('auth.proxy');
But it is downloading the file instead of redirecting
.htaccess file
`

Options -MultiViews -Indexes

RewriteEngine On

# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]

# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

php -- BEGIN cPanel-generated handler, do not edit
Set the “ea-php74” package as the default “PHP” programming language.

  AddHandler application/x-httpd-ea-php74 .php .php7 .phtml

# php -- END cPanel-generated handler, do not edit
`
Steps to Reproduce
when I change the .htaccess file as below, I got 500 internal server.
Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]

Changes to
Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule !^/?cartmade_payment*$ ^ %1 [L,R=301]

Failure Information

Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
"php": "^7.3|^7.4|^8.0",
"fideloper/proxy": "^4.4",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.0.1",
"laravel/framework": "^8.12",
"laravel/tinker": "^2.5",
"osiset/basic-shopify-api": "^10.0",
"osiset/laravel-shopify": "^15.1"

Laravel Version:  8.8
PHP Version: 8.0

This is a server issue if it's downloading a file, not a package issue.

This is a server issue if it's downloading a file, not a package issue.

@osiset
Can you please help me out how can I resolve the server Issue and what may be the issue  ?

@osiset
Can you please help me out how can I resolve the server Issue and what may be the issue  ?

I don't provide that sort of support sorry. Try posting in discussions and someone may have some info.

I don't provide that sort of support sorry. Try posting in discussions and someone may have some info.

@osiset
We need installation guide video for app development with App proxy that will be very helpful. :)

@osiset
We need installation guide video for app development with App proxy that will be very helpful. :)

I had a similar issue previously and as mentioned it wasn't anything todo with the package.
Try and pass the access control allow origin with the header and return a 200 response as documented.
return response('Hello, world!',200)->withHeaders(['Content-Type' => 'application/liquid','Access-Control-Allow-Origin' => '*']);
Also in terms of the htaccess file, try something like...
RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)/$ /$1 [L,R=301]
Note also that if you're not requesting a file (ex: test.php in my case), but using a directory (ex: http://yourdomain.com/test) that the request to the server includes the trailing slash (meaning that Shopify's proxy requests http://yourdomain.com/test/). The htaccess file issues a 301 redirect, which is forcing Shopify to download the file instead of interpret it as liquid. To fix that issue, you might add another rewrite condition that excludes those domains from being redirect to their "non-trailing-slash" counterparts. (As described in this post, )

I had a similar issue previously and as mentioned it wasn't anything todo with the package.
Try and pass the access control allow origin with the header and return a 200 response as documented.
return response('Hello, world!',200)->withHeaders(['Content-Type' => 'application/liquid','Access-Control-Allow-Origin' => '*']);
Also in terms of the htaccess file, try something like...
RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)/$ /$1 [L,R=301]
Note also that if you're not requesting a file (ex: test.php in my case), but using a directory (ex: http://yourdomain.com/test) that the request to the server includes the trailing slash (meaning that Shopify's proxy requests http://yourdomain.com/test/). The htaccess file issues a 301 redirect, which is forcing Shopify to download the file instead of interpret it as liquid. To fix that issue, you might add another rewrite condition that excludes those domains from being redirect to their "non-trailing-slash" counterparts. (As described in this post, )

@ihateonions-uk
I have hosted the laravel in subdomain.
In the routes, I have have the following code
Route::get('/cartmade_payment', [AppProxy::class,'index'])->middleware('auth.proxy');
And in AppProxy controller
`class AppProxy extends Controller
{
public function index(){
$shopdomain = Auth::user()->name;
$accesstoken = Auth::user()->password;
// Create options for the API
$options = new Options();
$options->setVersion('2020-01');
	// Create the client and session
	$api = new BasicShopifyAPI($options);
	$api->setSession(new Session($shopdomain, $accesstoken));

	// Now run your requests...
	$result = $api->rest('GET', '/admin/shop.json');
	$shop_data = $result['body']->container;

  	return view('customcratmadepayment')->with(compact('shop_data'))->withHeaders(['Content-Type' => 'application/liquid','Access-Control-Allow-Origin' => '*']]);
}

}`
On view, I have 'customcratmadepayment.blade.php'. but it is downloading the file.
When I change something it will show 500 Internal server error.
Can you please help me to figure out error in .htaccess file ?
`

Options -MultiViews -Indexes

RewriteEngine On

# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]

# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

`

@ihateonions-uk
I have hosted the laravel in subdomain.
In the routes, I have have the following code
Route::get('/cartmade_payment', [AppProxy::class,'index'])->middleware('auth.proxy');
And in AppProxy controller
`class AppProxy extends Controller
{
public function index(){
$shopdomain = Auth::user()->name;
$accesstoken = Auth::user()->password;
// Create options for the API
$options = new Options();
$options->setVersion('2020-01');
	// Create the client and session
	$api = new BasicShopifyAPI($options);
	$api->setSession(new Session($shopdomain, $accesstoken));

	// Now run your requests...
	$result = $api->rest('GET', '/admin/shop.json');
	$shop_data = $result['body']->container;

  	return view('customcratmadepayment')->with(compact('shop_data'))->withHeaders(['Content-Type' => 'application/liquid','Access-Control-Allow-Origin' => '*']]);
}

}`
On view, I have 'customcratmadepayment.blade.php'. but it is downloading the file.
When I change something it will show 500 Internal server error.
Can you please help me to figure out error in .htaccess file ?
`

Options -MultiViews -Indexes

RewriteEngine On

# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]

# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

`

@osiset @ihateonions-uk
I have setup the app proxy as below

But In shop storefront, when the shop redirect to prefix (apps/cartmadepayment) then it is proxied to the provided proxy  url as
https://cartmadepaymentv1.cartbrain.net/cartmade_payment?nshop=cartmadeteststore.myshopify.com&path_prefix=%2Fapps%2Fcartmadepayment&timestamp=1611804352&signature=948dc9d29ced74bdee89d922537f4244c1c0f9be00fc73b3e6a2d9d9527f66f4
But App proxy must redirect within shop domain itself as (cartmadeteststore.myshopify.com/apps/cartmadepayment) we need shop domain to get cart data.

@osiset @ihateonions-uk
I have setup the app proxy as below

But In shop storefront, when the shop redirect to prefix (apps/cartmadepayment) then it is proxied to the provided proxy  url as
https://cartmadepaymentv1.cartbrain.net/cartmade_payment?nshop=cartmadeteststore.myshopify.com&path_prefix=%2Fapps%2Fcartmadepayment&timestamp=1611804352&signature=948dc9d29ced74bdee89d922537f4244c1c0f9be00fc73b3e6a2d9d9527f66f4
But App proxy must redirect within shop domain itself as (cartmadeteststore.myshopify.com/apps/cartmadepayment) we need shop domain to get cart data.

Auth::user won't work as there's no user session. You need to grab the domain of the shop from the request and manually log the user in or access their records. Without logs on the 500 error you won't be able to debug, that's probably where your issue is. In the end though, this is a code and server thing.

Auth::user won't work as there's no user session. You need to grab the domain of the shop from the request and manually log the user in or access their records. Without logs on the 500 error you won't be able to debug, that's probably where your issue is. In the end though, this is a code and server thing.

@osiset
I tried returning normal view from the proxy controller.  The Domain get changed to the proxy URL but  I think the domain must be same as the shop domain ?
Here is the code for the controller
public function index(){     	return view('customcratmadepayment')->withHeaders(['Content-Type' => 'application/liquid']);     }

@osiset
I tried returning normal view from the proxy controller.  The Domain get changed to the proxy URL but  I think the domain must be same as the shop domain ?
Here is the code for the controller
public function index(){     	return view('customcratmadepayment')->withHeaders(['Content-Type' => 'application/liquid']);     }

@osiset
I tried returning normal view from the proxy controller. The Domain get changed to the proxy URL but I think the domain must be same as the shop domain ?
Here is the code for the controller
public function index(){       return view('testproxyview')->withHeaders(['Content-Type' => 'application/liquid']);   }

@osiset
I tried returning normal view from the proxy controller. The Domain get changed to the proxy URL but I think the domain must be same as the shop domain ?
Here is the code for the controller
public function index(){       return view('testproxyview')->withHeaders(['Content-Type' => 'application/liquid']);   }

The domain shouldn't matter. Shopify fetches the URL and processes the liquid on server side, then renders it onto the page.

The domain shouldn't matter. Shopify fetches the URL and processes the liquid on server side, then renders it onto the page.

Your QA is open, will close this.

Hi, @sandeeppangeni .
I’m sure I’m not on time. But I faced a similar problem.
In my case, the proxy application worked on Apache 2.2 and stopped working on Apache 2.4.
The solution is pretty simple. Edit your .htaccess file as:
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]

to
# Redirect Trailing Slashes If Not A Folder... AND not an cartmade_payment endpoint call
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^(?!\/cartmade_payment\/)(.+)\/$
RewriteRule ^ %1 [L,R=301]

Hope this helps you :)


Downgrade pyext dependency

Currently, the pyext package dependency is pinned to version 0.7. However, this yields the following error with Python 3.11 when trying to install bigcode-eval package via pip:
oargspec = inspect.getargspec
           ^^^^^^^^^^^^^^^^^^
      AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?

pyext==0.7 doesn't look like an official release version (https://pypi.org/project/pyext/#history) and so it doesn't seem like this issue will be fixed any time soon to work with the newer version of Python
So in order to make bigcode-eval work with Python3.11,  this change downgrades the pyext package pin to 0.5. Note that there was a PR (https://github.com/bigcode-project/bigcode-evaluation-harness/pull/181) raised to address this issue previously, but not sure why it got closed.

CC: @loubnabnl for reviews. Thanks!


Please release the code (and data)

Thanks for making the code (and data) available. Github now only provides a zip file to download if the code is released. Please release the code. Thanks.

We have released the code, just download it, thanks.


Impersonate other users in ClusterFutures SLURM backend

sbatch and scancel must take the username attribute and prepend sudo --non-interactive -u {username}

Closed with #290


DeOldify.NET v3 Big Update

Now we are starting work on a big update on DeOldify.NET, the result of which will be a release of DeOldify.NET v3. Below is an approximate list of tasks that are solved in the update.

New interface with High DPI support (including on Windows 7 operating system and Linux family systems). Improvements are planned related to the display of results and the loading of source data. Many ideas are borrowed from the message by @regs01 in https://github.com/ColorfulSoft/DeOldify.NET/issues/21#issuecomment-1560866366
Batch image processing
Render factor specification
Optimization in the computing core (new convolution algorithm, improvement of matrix multiplication, etc.)
Combining all versions into one with the ability to switch in the graphical interface
SharpDevelop and VisualStudio support (.csproj and .sln)
[wanted] Official macOS support
CLI version

Hello! Please, share link for version 3.0 for Windows

I would be most interested in support for video.

Is there any idea of schedule for V3 to become available?

During this adjustment to the DeOldify architecture, it would be nice if the static methods, fields, events associated with a given Colorize operation could become instance methods, fields, events on the DeOldify class so that multiple Colorize operations could execute concurrently on separate DeOldify instances.


PlugInstall is trying to clone into a path composed of cygwin + windows paths concatenated together?

I'm having a bizarre problem with some part of vim-plug concatenating paths together, and it's preventing the plugins from installing:
Updated. Elapsed time: 0.502485 sec.
[xxxxxxxxxxxx]

- Finishing ... Done!
x tabular:
    Cloning into 'C:\cygwin\home\Matt\vimfiles\plugged\tabular'...
    fatal: Invalid path '/home/Matt/dotfiles/vimfiles/plugged/C:\cygwin\home\Matt\vimfiles\plugged\tabular': No such file or directory
x matchit:
    Cloning into 'C:\cygwin\home\Matt\vimfiles\plugged\matchit'...
    fatal: Invalid path '/home/Matt/dotfiles/vimfiles/plugged/C:\cygwin\home\Matt\vimfiles\plugged\matchit': No such file or directory
x vim-eunuch:
    Cloning into 'C:\cygwin\home\Matt\vimfiles\plugged\vim-eunuch'...
    fatal: Invalid path '/home/Matt/dotfiles/vimfiles/plugged/C:\cygwin\home\Matt\vimfiles\plugged\vim-eunuch': No such file or directory
x vim-fugitive:
    Cloning into 'C:\cygwin\home\Matt\vimfiles\plugged\vim-fugitive'...
    fatal: Invalid path '/home/Matt/dotfiles/vimfiles/plugged/C:\cygwin\home\Matt\vimfiles\plugged\vim-fugitive': No such file or directory
x vim-unimpaired:
    Cloning into 'C:\cygwin\home\Matt\vimfiles\plugged\vim-unimpaired'...
    fatal: Invalid path '/home/Matt/dotfiles/vimfiles/plugged/C:\cygwin\home\Matt\vimfiles\plugged\vim-unimpaired': No such file or directory
x vim-misc:
    Cloning into 'C:\cygwin\home\Matt\vimfiles\plugged\vim-misc'...
    fatal: Invalid path '/home/Matt/dotfiles/vimfiles/plugged/C:\cygwin\home\Matt\vimfiles\plugged\vim-misc': No such file or directory
x slimv:
    Cloning into 'C:\cygwin\home\Matt\vimfiles\plugged\slimv'...
    fatal: Invalid path '/home/Matt/dotfiles/vimfiles/plugged/C:\cygwin\home\Matt\vimfiles\plugged\slimv': No such file or directory
x buffet.vim:
    Cloning into 'C:\cygwin\home\Matt\vimfiles\plugged\buffet.vim'...
    fatal: Invalid path '/home/Matt/dotfiles/vimfiles/plugged/C:\cygwin\home\Matt\vimfiles\plugged\buffet.vim': No such file or directory
x nerdtree:
    Cloning into 'C:\cygwin\home\Matt\vimfiles\plugged\nerdtree'...
    fatal: Invalid path '/home/Matt/dotfiles/vimfiles/plugged/C:\cygwin\home\Matt\vimfiles\plugged\nerdtree': No such file or directory
x highlight.vim:
    Cloning into 'C:\cygwin\home\Matt\vimfiles\plugged\highlight.vim'...
    fatal: Invalid path '/home/Matt/dotfiles/vimfiles/plugged/C:\cygwin\home\Matt\vimfiles\plugged\highlight.vim': No such file or directory
x vim-session:
    Cloning into 'C:\cygwin\home\Matt\vimfiles\plugged\vim-session'...
    fatal: Invalid path '/home/Matt/dotfiles/vimfiles/plugged/C:\cygwin\home\Matt\vimfiles\plugged\vim-session': No such file or directory
x vim-javascript:
    Cloning into 'C:\cygwin\home\Matt\vimfiles\plugged\vim-javascript'...
    fatal: Invalid path '/home/Matt/dotfiles/vimfiles/plugged/C:\cygwin\home\Matt\vimfiles\plugged\vim-javascript': No such file or directory

Any ideas where this extra "/home/Matt/dotfiles/vimfiles/plugged/" string is coming from?
Well, the git is cygwin git, so I guess vim-plug is presuming I'm using Windows git?

Yes.
msys2 git can handle Windows-style and Unix-style paths.
Cygwin git always assumes Unix-style paths.

I use Windows x64 Gvim and Cygwin shell and utilities.  I'm not particularly attached to cygwin other than it took awhile to get it working the way I want and I've been using it a long time.  I suppose I should switch to the linux subsystem, but I haven't really had time to figure it out.

It's cool, I can use msys2 git just for vim-plug.  I have it on my system, but I disabled it by removing it from my path.  I can just add it to the path before running PlugUpdate or whatever.

Did it work?

Yeah, it worked.  So, I guess the issue is that vim-plug is incompatible with Cygwin git.  I was going to try and fix it, but I don't think it's currently possible to determine if git is the cygwin git.  If you could determine that, then you could run cygpath on the paths to convert them to cygwin paths before passing them to git.  At least I think that would fix it.

What's the output git --version for Cygwin git and Msys2 git on your system?

Cygwin git:
git version 2.15.0

Msys2 git:
git version 2.9.2.windows.1

Cygwin git doesn't have windows in the version string so you can use cygpath on it.
Problem then is which cygpath to use.

Oh, you think the process of elimination would be enough?  Which cygpath?  I'm not sure what you mean.

You can't mix up the cygpath and git on each msys2/cygwin installation.
You can use where.exe on cmd.exe to check which one comes up first in PATH.

Well there is no cygpath for msys2, is there?

There is one each on my system from https://git-for-windows.github.io/, mingw, and cygwin.


CPU load doubles when USB GPS improperly unplugged

Probably not a legitimate issue since users will probably not be unplugging their GPS in flight. And even if they do, it didn't cause a catastrophic failure. And I suspect that's this is only relative to the GlobalSat GPS. (Although since Chris is working on something else that communicates via serial, it could be a legitimate issue down the road.) So I leave this for Chris to close if a non-issue.
(Update: Oops. I forgot to use the Issue template. v0.6r1 with iposva's ry385ai.go, powersave governor set in rc.local.)
I've got a GlobalSat BU-353-S4 GPS that connects physically via USB. Internally, it uses a serial protocol to communicate with the Pi. (Edit: or is is a comm protocol?)
Now, under normal circumstances, my CPU load is 30%, as reported by htop,
But if I unplug the GPS without first toggling the GPS Off in the Stratux UI settings page, the CPU load doubles. Here's a screen shot of htop.
I apologize for the hard to see load numbers. (I've since changed the color theme on htop.) The core utilization numbers are:
68.6%
62.5%
58.9%
62.6%
(That's with powersave governor limiting the CPU to 600 MHz.)
My uneducated guess is that this is a polling problem, like I used to see when DOS was waiting on an input from the keyboard?
The CPU does not come back to normal after I plug the GPS back in. I have to do a reboot.

Grumble, grumble, zombie goroutines. Yeah, this should be fixed.
Apparently the gpsSerialReader() goroutine never actually returned / terminated when the GPS was disconnected. It just sat, waiting on a blocked scanner.Scan() that never came. Then, my new isGPSConnected() function triggered a new instance that sent the old one off to go limbo.  This can get really ugly if you're talking over the onboard serial port (ttyAMA0) -- multiple instances all try to read the port at the same time, with predictably unpredictable results.
So, connect / disconnect the adapter enough times, and you end up with dozens of zombie subprocesses in top. I didn't see a doubling of CPU load with my u-blox receivers, but it's possible that the driver for the Prolific USB-to-serial bridge didn't play as nicely as the cdc_acm driver.
Give this commit a try. I've tested with a M8N over serial (RY835AI) and a U7020 over USB (VK-172), but I need feedback on the BU-535 before I'll ask Chris to pull it into the master branch.
https://github.com/AvSquirrel/stratux/commit/211d3a29ed3b3b1ab5c45fdd98b4a7bed1dbbe56

Might be time to re-evaluate using "Go."
On 02/10/2016 01:30 AM, AvSquirrel wrote:

Grumble, grumble, zombie goroutines. Yeah, this should be fixed.
Apparently the |gpsSerialReader()| goroutine never actually returned /
terminated when the GPS was disconnected. It just sat, waiting on a
blocked |scanner.Scan()| that never came. Then, my new
|isGPSConnected()| function triggered a new instance that sent the old
one off to go limbo.  This can get really ugly if you're talking over
the onboard serial port (ttyAMA0) -- multiple instances all try to
read the port at the same time, with predictably unpredictable results.
So, connect / disconnect the adapter enough times, and you end up with
dozens of zombie subprocesses in top. I didn't see a doubling of CPU
load with my u-blox receivers, but it's possible that the driver for
the Prolific USB-to-serial bridge didn't play as nicely as the cdc_acm
driver.
Give this commit a try. I've tested with a M8N over serial (RY835AI)
and a U7020 over USB (VK-172), but I need feedback on the BU-535
before I'll ask Chris to pull it into the master branch.
AvSquirrel@211d3a2
https://github.com/AvSquirrel/stratux/commit/211d3a29ed3b3b1ab5c45fdd98b4a7bed1dbbe56
—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/240#issuecomment-182237287.

@AvSquirrel, I reimaged to v0.6r1, did a git pull, and then did a make with your two files. (BTW, is there an easy way to download just the files from the github? When I try saving the files to my desktop, I get html links to the files. I have to go to "Browse Files" and then I have to download the ZIP and extract the files I want.) Anyway, I rebooted, then plugged and unplugged the GlobalSat BU-353-S4 GPS. htop reports the CPU stays the same (low). And the Stratux status page is now showing when the GPS is connected/disconnected - and reconnected. I would say "ship it."

I've been running v0.6r1 outdoors with the latest (14) commits plus AvSquirrel's two new files for five hours now. (On battery, trying to reproduce Wi-Fi disconnect.) Interestingly, memory usage is already higher than my previous test run of 48 hours in the house.. But not as high as after two hours of flying.
I expect some of the memory difference is due to ADS-B traffic and towers. I don't get any towers during my ground testing and had a peak UAT of only 60.
Thread count is up with AvSquirrel's changes.

PR #243
Here's my htop on the ground, with AHRS, GPS, and 1090 receiver, after running for an hour:

And here's the process list after disconnecting / connecting my VK-172 ten times, and setting the wrong baud rate on my RY835AI ten times. No change in the thread count; PID 2395 was the newest gen_gdl90 thread on both snapshots.

Thanks! (And I started out thinking that this wasn't an important problem.) Closing now that a pull request has issued.


Heahers and Footers

How do I add a Header and/or footer to the word doc?

Also page numbers? I've tried making a default template with the headers and page numbers, but the document won't open when I do that. Are there any tricks to using the default template?

Did anyone manage to get this working?


fixed 'comma in data value is not escaped'

Regarding issue #15
You should definitely consider adding this simple change suggested by @dalupus, it's working for data like
@DATA
'They look a lot more comfy than I imagined.','The Secret Rooms',10798
'Lesson learned: Never have a snow ball fight in mall','They're Banned',4690

Closing this as a different, more general fix was merged.


use JSON for config

Uses JSON to store the config instead of YAML. We will be using this in the next PR to store JS dependency versions in the config. I did this because I did not see an easy/clean way to do that in YAML.

I'm closing due to inactivity. Please reopen if you are still interested and see my previous question. Thanks.


python310Packages.aws-lambda-builders: 1.20.0 -> 1.23.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.aws-lambda-builders is: "Tool to compile, build and package AWS Lambda functions"
meta.homepage for python310Packages.aws-lambda-builders is: "https://github.com/awslabs/aws-lambda-builders"
meta.changelog for python310Packages.aws-lambda-builders is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.21.0 with grep in /nix/store/dpkfnc9yf3glj5bp0jmj1mjbls7llps8-python3.10-aws-lambda-builders-1.21.0
found 1.21.0 in filename of file in /nix/store/dpkfnc9yf3glj5bp0jmj1mjbls7llps8-python3.10-aws-lambda-builders-1.21.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
aws-sam-cli
python310Packages.aws-lambda-builders
python39Packages.aws-lambda-builders

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/dpkfnc9yf3glj5bp0jmj1mjbls7llps8-python3.10-aws-lambda-builders-1.21.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.aws-lambda-builders https://github.com/r-ryantm/nixpkgs/archive/1b23c9779a03110ce983d1d095008a1f9a111e01.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/dpkfnc9yf3glj5bp0jmj1mjbls7llps8-python3.10-aws-lambda-builders-1.21.0
ls -la /nix/store/dpkfnc9yf3glj5bp0jmj1mjbls7llps8-python3.10-aws-lambda-builders-1.21.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

aws-sam-cli
python310Packages.aws-lambda-builders
python39Packages.aws-lambda-builders

Maintainer pings
cc @dhl for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.aws-lambda-builders is: "Tool to compile, build and package AWS Lambda functions"
meta.homepage for python310Packages.aws-lambda-builders is: "https://github.com/awslabs/aws-lambda-builders"
meta.changelog for python310Packages.aws-lambda-builders is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.22.0 with grep in /nix/store/9dzl12sy8h1nayqdd2kgwa55qc69m4w7-python3.10-aws-lambda-builders-1.22.0
found 1.22.0 in filename of file in /nix/store/9dzl12sy8h1nayqdd2kgwa55qc69m4w7-python3.10-aws-lambda-builders-1.22.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
aws-sam-cli
python310Packages.aws-lambda-builders
python39Packages.aws-lambda-builders

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9dzl12sy8h1nayqdd2kgwa55qc69m4w7-python3.10-aws-lambda-builders-1.22.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.aws-lambda-builders https://github.com/r-ryantm/nixpkgs/archive/4cc56da18a3cf54af0fd1b92e908ec75c2c9531c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9dzl12sy8h1nayqdd2kgwa55qc69m4w7-python3.10-aws-lambda-builders-1.22.0
ls -la /nix/store/9dzl12sy8h1nayqdd2kgwa55qc69m4w7-python3.10-aws-lambda-builders-1.22.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

aws-sam-cli
python310Packages.aws-lambda-builders
python39Packages.aws-lambda-builders

Maintainer pings
cc @dhl for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.aws-lambda-builders is: "Tool to compile, build and package AWS Lambda functions"
meta.homepage for python310Packages.aws-lambda-builders is: "https://github.com/awslabs/aws-lambda-builders"
meta.changelog for python310Packages.aws-lambda-builders is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.23.0 with grep in /nix/store/v4mwk60qc5yqa4ij164xpic0byl9ix02-python3.10-aws-lambda-builders-1.23.0
found 1.23.0 in filename of file in /nix/store/v4mwk60qc5yqa4ij164xpic0byl9ix02-python3.10-aws-lambda-builders-1.23.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
aws-sam-cli
python310Packages.aws-lambda-builders
python39Packages.aws-lambda-builders

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/v4mwk60qc5yqa4ij164xpic0byl9ix02-python3.10-aws-lambda-builders-1.23.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.aws-lambda-builders https://github.com/r-ryantm/nixpkgs/archive/53424cfb8ab94987e2a2dc086e770b70fdf8d5e5.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/v4mwk60qc5yqa4ij164xpic0byl9ix02-python3.10-aws-lambda-builders-1.23.0
ls -la /nix/store/v4mwk60qc5yqa4ij164xpic0byl9ix02-python3.10-aws-lambda-builders-1.23.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

aws-sam-cli
python310Packages.aws-lambda-builders
python39Packages.aws-lambda-builders

Maintainer pings
cc @dhl for testing.


Added bold / italics / background colors

This PR allows for changing the background color, as well as all the other ANSI attributes defined in https://github.com/fatih/color
This maintains the old API interface so it shouldn't be a breaking change.
s.Color("red") // Set the spinner color to red

You can just add more arguments to the Color function:
s.Color("red", "bold") // Set the spinner color to a bold red

Or explicit background and foreground colors:
s.Color("bgBlack", "bold", "fgRed")

Thanks for this!


Document how to compensate for conventions different in EF Core than EF6

For example, shadow FK property names in EF Core are PrincipalId rather than the Principal_Id name used by independent associations in EF6. This can be fixed with something like:
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
    // Other model building here...

    foreach (var foreignKey in modelBuilder.Model.GetEntityTypes().SelectMany(e => e.GetDeclaredForeignKeys()))
    {
        // Note that something different would be needed for composite keys
        if (foreignKey.Properties.Count == 1)
        {
            foreignKey.Properties[0].SetColumnName(foreignKey.PrincipalEntityType.Name + "_Id");
        }
    }
}

Related: https://github.com/aspnet/EntityFramework.Docs/issues/1989