Traceback (most recent call last):


 "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 206, in invoke

cmd_result = self.invocation.execute(args)


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 608, in execute

raise ex


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 666, in _run_jobs_serially

results.append(self._run_job(expanded_arg, cmd_copy))


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 659, in _run_job

six.reraise(*sys.exc_info())


 "/opt/az/lib/python3.6/site-packages/six.py", line 693, in reraise

raise value


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 636, in _run_job

result = cmd_copy(params)


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 306, in __call__

return self.handler(*args, **kwargs)


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 493, in default_command_handler

return op(**command_args)


 "/home/manoj/.azure/cliextensions/image-copy-extension/azext_imagecopy/custom.py", line 83, in imagecopy

run_cli_command(cli_cmd)


 "/home/manoj/.azure/cliextensions/image-copy-extension/azext_imagecopy/cli_utils.py", line 46, in run_cli_command

raise ex


 "/home/manoj/.azure/cliextensions/image-copy-extension/azext_imagecopy/cli_utils.py", line 21, in run_cli_command

cmd_output = check_output(cmd, stderr=STDOUT, universal_newlines=True)


 "/opt/az/lib/python3.6/subprocess.py", line 336, in check_output

**kwargs).stdout


 "/opt/az/lib/python3.6/subprocess.py", line 418, in run

output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/opt/az/bin/python3', '-m', 'azure.cli', 'snapshot', 'create', '--name', 'test_os_disk_snapshot', '--resource-group', 'AMITCS', '--source', 'https://amitcsdisks447.blob.core.windows.net/vhds/windowsxpFixed.vhd', '--output', 'json', '--tags', 'created_by=image-copy-extension']' returned non-zero exit status 1.

Traceback (most recent call last):


 "gibbexample.py", line 12, in <module>

gibbs_chain.sample(size=3)


 "/home/pmp/.local/lib/python3.6/site-packages/pgmpy/sampling/Sampling.py", line 382, in sample

sampled[0] = np.array([st for var, st in self.state])
ValueError: setting an array element with a sequence.
