Error: d_bn1/d_bn1_2/moments/Squeeze/ExponentialMovingAverage/ does not exist

On running generate_images script, following are errors received.
Could be please suggest a fix for this?
Thanks
====================================================
python generate_images.py --model_path=Data/Models/latest_model_flowers_temp.ckpt --n_images=8
Traceback (most recent call last):
File "generate_images.py", line 106, in
main()
File "generate_images.py", line 64, in main
_, _, _, _, _ = gan.build_model()
File "repo/model.py", line 40, in build_model
disc_wrong_image, disc_wrong_image_logits   = self.discriminator(t_wrong_image, t_real_caption, reuse = True)
File "repo/model.py", line 161, in discriminator
h1 = ops.lrelu( self.d_bn1(ops.conv2d(h0, self.options['df_dim']*2, name = 'd_h1_conv'))) #16
File "repo/Utils/ops.py", line 34, in call
ema_apply_op = self.ema.apply([batch_mean, batch_var])
File "path/anaconda3/envs/py27/lib/python2.7/site-packages/tensorflow/python/training/moving_averages.py", line 403, in apply
colocate_with_primary=(var.op.type in ["Variable", "VariableV2"]))
File "path/anaconda3/envs/py27/lib/python2.7/site-packages/tensorflow/python/training/slot_creator.py", line 174, in create_zeros_slot
colocate_with_primary=colocate_with_primary)
File "path/anaconda3/envs/py27/lib/python2.7/site-packages/tensorflow/python/training/slot_creator.py", line 151, in create_slot_with_initializer
dtype)
File "path/anaconda3/envs/py27/lib/python2.7/site-packages/tensorflow/python/training/slot_creator.py", line 67, in _create_slot_var
validate_shape=validate_shape)
File "path/anaconda3/envs/py27/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 1297, in get_variable
constraint=constraint)
File "path/anaconda3/envs/py27/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 1093, in get_variable
constraint=constraint)
File "path/anaconda3/envs/py27/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 439, in get_variable
constraint=constraint)
File "path/anaconda3/envs/py27/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 408, in _true_getter
use_resource=use_resource, constraint=constraint)
File "path/anaconda3/envs/py27/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 765, in _get_single_variable
"reuse=tf.AUTO_REUSE in VarScope?" % name)
ValueError: Variable d_bn1/d_bn1_2/moments/Squeeze/ExponentialMovingAverage/ does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=tf.AUTO_REUSE in VarScope?

I am struggling with the same error, is there any fix?

Try adding the below line before ema.apply in ops.py
with tf.variable_scope(tf.get_variable_scope(), reuse=tf.AUTO_REUSE):
This resolved this error for me.

i use with tf.variable_scope(tf.get_variable_scope(), reuse=False): replace with tf.variable_scope(self.name,reuse=tf.AUTO_REUSE) as scope: in ops.py.
but i get ValueError: Trying to share variable beta, but specified shape (256,) and found shape (512,).
what is wrong?

i use with tf.variable_scope(tf.get_variable_scope(), reuse=False): replace with tf.variable_scope(self.name,reuse=tf.AUTO_REUSE) as scope: in ops.py.
but i get ValueError: Trying to share variable beta, but specified shape (256,) and found shape (512,).
what is wrong? @ravindra82

@gentlebreeze1 did you find solution ? because i have the same problem.

i use with tf.variable_scope(self.name,reuse=tf.AUTO_REUSE) as scope: in ops.py. but an occured like this
WARNING:tensorflow:From /home/hp/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
Traceback (most recent call last):
File "train.py", line 238, in
main()
File "train.py", line 76, in main
input_tensors, variables, loss, outputs, checks = gan.build_model()
File "/home/hp/Gan_project_main/text_image_gan/model.py", line 43, in build_model
g_loss = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(disc_fake_image_logits, tf.ones_like(disc_fake_image)))
File "/home/hp/anaconda3/lib/python3.7/site-packages/tensorflow/python/ops/nn_impl.py", line 157, in sigmoid_cross_entropy_with_logits
labels, logits)
File "/home/hp/anaconda3/lib/python3.7/site-packages/tensorflow/python/ops/nn_ops.py", line 2315, in _ensure_xent_args
"named arguments (labels=..., logits=..., ...)" % name)
ValueError: Only call sigmoid_cross_entropy_with_logits with named arguments (labels=..., logits=..., ...)
how can i solve this pls reply as soon as possible

@remyavijeesh22 Did you solve it?

@remyavijeesh22
Use g_loss = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(logits = disc_fake_image_logits, labels = tf.ones_like(disc_fake_image)))
instead of g_loss = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(disc_fake_image_logits, tf.ones_like(disc_fake_image)))

I changed that. The error then goes on to show that
d_loss1 bla bla bla, so I added logits= and labels= the same style in g_loss.  I made changes for d_loss2 and d_loss3 as well.
When I run $ python2 generate_images.py --model_path=Data/Models/latest_model_flowers_temp.ckpt --n_images=8
Another error
Tensor name "d_bn1_1/moments/Squeeze/ExponentialMovingAverage" not found in checkpoint files Data/Models/latest_model_flowers_temp.ckpt
	 [[node save/RestoreV2 (defined at generate_images.py:66) ]]

Any suggestion?

I tried all of the above.
After that, the following error occurred.
Could be please suggest a fix for this?
WARNING: Logging before flag parsing goes to stderr.
W0701 14:25:53.762808 12404 deprecation_wrapper.py:119] From C:\Users\c0116\Anaconda3\envs\py36\text-to-image-master\Python 3 Codes\Utils\ops.py:12: The name tf.variable_scope is deprecated. Please use tf.compat.v1.variable_scope instead.
W0701 14:25:53.773448 12404 deprecation_wrapper.py:119] From C:\Users\c0116\Anaconda3\envs\py36\text-to-image-master\Python 3 Codes\model.py:32: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
W0701 14:25:53.775442 12404 deprecation_wrapper.py:119] From C:\Users\c0116\Anaconda3\envs\py36\text-to-image-master\Python 3 Codes\Utils\ops.py:113: The name tf.get_variable is deprecated. Please use tf.compat.v1.get_variable instead.
W0701 14:25:53.803344 12404 deprecation_wrapper.py:119] From C:\Users\c0116\Anaconda3\envs\py36\text-to-image-master\Python 3 Codes\Utils\ops.py:33: The name tf.get_variable_scope is deprecated. Please use tf.compat.v1.get_variable_scope instead.
W0701 14:25:53.804338 12404 deprecation_wrapper.py:119] From C:\Users\c0116\Anaconda3\envs\py36\text-to-image-master\Python 3 Codes\Utils\ops.py:33: The name tf.AUTO_REUSE is deprecated. Please use tf.compat.v1.AUTO_REUSE instead.
W0701 14:25:54.242295 12404 deprecation.py:323] From C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\nn_impl.py:180: add_dispatch_support..wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
W0701 14:25:54.263106 12404 deprecation_wrapper.py:119] From train.py:78: The name tf.train.AdamOptimizer is deprecated. Please use tf.compat.v1.train.AdamOptimizer instead.
Traceback (most recent call last):
File "train.py", line 238, in
main()
File "train.py", line 78, in main
d_optim = tf.train.AdamOptimizer(args.learning_rate, beta1 = args.beta1).minimize(loss['d_loss'], var_list=variables['d_vars'])
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 413, in minimize
name=name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 597, in apply_gradients
self._create_slots(var_list)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\adam.py", line 131, in _create_slots
self._zeros_slot(v, "m", self._name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 1155, in _zeros_slot
new_slot_variable = slot_creator.create_zeros_slot(var, op_name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 190, in create_zeros_slot
colocate_with_primary=colocate_with_primary)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 164, in create_slot_with_initializer
dtype)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 74, in _create_slot_var
validate_shape=validate_shape)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 1496, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 1239, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 562, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 514, in _true_getter
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 882, in _get_single_variable
"reuse=tf.AUTO_REUSE in VarScope?" % name)
ValueError: Variable d_h0_conv/w/Adam/ does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=tf.AUTO_REUSE in VarScope?

I tried all of the above.
Then you will see the following error.
Could be please suggest a fix for this?
WARNING: Logging before flag parsing goes to stderr.
W0701 14:48:43.140326 17436 deprecation_wrapper.py:119] From C:\Users\c0116\Anaconda3\envs\py36\text-to-image-master\Python 3 Codes\Utils\ops.py:12: The name tf.variable_scope is deprecated. Please use tf.compat.v1.variable_scope instead.
W0701 14:48:43.161990 17436 deprecation_wrapper.py:119] From C:\Users\c0116\Anaconda3\envs\py36\text-to-image-master\Python 3 Codes\model.py:32: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
W0701 14:48:43.170435 17436 deprecation_wrapper.py:119] From C:\Users\c0116\Anaconda3\envs\py36\text-to-image-master\Python 3 Codes\Utils\ops.py:113: The name tf.get_variable is deprecated. Please use tf.compat.v1.get_variable instead.
W0701 14:48:43.201077 17436 deprecation_wrapper.py:119] From C:\Users\c0116\Anaconda3\envs\py36\text-to-image-master\Python 3 Codes\Utils\ops.py:33: The name tf.get_variable_scope is deprecated. Please use tf.compat.v1.get_variable_scope instead.
W0701 14:48:43.202105 17436 deprecation_wrapper.py:119] From C:\Users\c0116\Anaconda3\envs\py36\text-to-image-master\Python 3 Codes\Utils\ops.py:33: The name tf.AUTO_REUSE is deprecated. Please use tf.compat.v1.AUTO_REUSE instead.
W0701 14:48:43.631316 17436 deprecation.py:323] From C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\nn_impl.py:180: add_dispatch_support..wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
W0701 14:48:43.651262 17436 deprecation_wrapper.py:119] From train.py:78: The name tf.train.AdamOptimizer is deprecated. Please use tf.compat.v1.train.AdamOptimizer instead.
Traceback (most recent call last):
File "train.py", line 238, in
main()
File "train.py", line 78, in main
d_optim = tf.train.AdamOptimizer(args.learning_rate, beta1 = args.beta1).minimize(loss['d_loss'], var_list=variables['d_vars'])
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 413, in minimize
name=name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 597, in apply_gradients
self._create_slots(var_list)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\adam.py", line 131, in _create_slots
self._zeros_slot(v, "m", self._name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 1155, in _zeros_slot
new_slot_variable = slot_creator.create_zeros_slot(var, op_name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 190, in create_zeros_slot
colocate_with_primary=colocate_with_primary)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 164, in create_slot_with_initializer
dtype)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 74, in _create_slot_var
validate_shape=validate_shape)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 1496, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 1239, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 562, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 514, in _true_getter
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 882, in _get_single_variable
"reuse=tf.AUTO_REUSE in VarScope?" % name)
ValueError: Variable d_h0_conv/w/Adam/ does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=tf.AUTO_REUSE in VarScope?

I tried all of the above.
Then you will see the following error.
Could be please suggest a fix for this?
WARNING: Logging before flag parsing goes to stderr.
W0701 14:48:43.140326 17436 deprecation_wrapper.py:119] From C:\Users\c0116\Anaconda3\envs\py36\text-to-image-master\Python 3 Codes\Utils\ops.py:12: The name tf.variable_scope is deprecated. Please use tf.compat.v1.variable_scope instead.
W0701 14:48:43.161990 17436 deprecation_wrapper.py:119] From C:\Users\c0116\Anaconda3\envs\py36\text-to-image-master\Python 3 Codes\model.py:32: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
W0701 14:48:43.170435 17436 deprecation_wrapper.py:119] From C:\Users\c0116\Anaconda3\envs\py36\text-to-image-master\Python 3 Codes\Utils\ops.py:113: The name tf.get_variable is deprecated. Please use tf.compat.v1.get_variable instead.
W0701 14:48:43.201077 17436 deprecation_wrapper.py:119] From C:\Users\c0116\Anaconda3\envs\py36\text-to-image-master\Python 3 Codes\Utils\ops.py:33: The name tf.get_variable_scope is deprecated. Please use tf.compat.v1.get_variable_scope instead.
W0701 14:48:43.202105 17436 deprecation_wrapper.py:119] From C:\Users\c0116\Anaconda3\envs\py36\text-to-image-master\Python 3 Codes\Utils\ops.py:33: The name tf.AUTO_REUSE is deprecated. Please use tf.compat.v1.AUTO_REUSE instead.
W0701 14:48:43.631316 17436 deprecation.py:323] From C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\nn_impl.py:180: add_dispatch_support..wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
W0701 14:48:43.651262 17436 deprecation_wrapper.py:119] From train.py:78: The name tf.train.AdamOptimizer is deprecated. Please use tf.compat.v1.train.AdamOptimizer instead.
Traceback (most recent call last):
File "train.py", line 238, in
main()
File "train.py", line 78, in main
d_optim = tf.train.AdamOptimizer(args.learning_rate, beta1 = args.beta1).minimize(loss['d_loss'], var_list=variables['d_vars'])
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 413, in minimize
name=name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 597, in apply_gradients
self._create_slots(var_list)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\adam.py", line 131, in _create_slots
self._zeros_slot(v, "m", self._name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 1155, in _zeros_slot
new_slot_variable = slot_creator.create_zeros_slot(var, op_name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 190, in create_zeros_slot
colocate_with_primary=colocate_with_primary)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 164, in create_slot_with_initializer
dtype)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 74, in _create_slot_var
validate_shape=validate_shape)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 1496, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 1239, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 562, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 514, in _true_getter
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 882, in _get_single_variable
"reuse=tf.AUTO_REUSE in VarScope?" % name)
ValueError: Variable d_h0_conv/w/Adam/ does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=tf.AUTO_REUSE in VarScope?

I tried all of the above.
Then you will see the following error.
Could be please suggest a fix for this?
Traceback (most recent call last):
File "train.py", line 238, in
main()
File "train.py", line 78, in main
d_optim = tf.train.AdamOptimizer(args.learning_rate, beta1 = args.beta1).minimize(loss['d_loss'], var_list=variables['d_vars'])
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 413, in minimize
name=name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 597, in apply_gradients
self._create_slots(var_list)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\adam.py", line 131, in _create_slots
self._zeros_slot(v, "m", self._name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 1155, in _zeros_slot
new_slot_variable = slot_creator.create_zeros_slot(var, op_name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 190, in create_zeros_slot
colocate_with_primary=colocate_with_primary)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 164, in create_slot_with_initializer
dtype)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 74, in _create_slot_var
validate_shape=validate_shape)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 1496, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 1239, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 562, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 514, in _true_getter
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 882, in _get_single_variable
"reuse=tf.AUTO_REUSE in VarScope?" % name)
ValueError: Variable d_h0_conv/w/Adam/ does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=tf.AUTO_REUSE in VarScope?

I tried all of the above.
Then you will see the following error.
Could be please suggest a fix for this?
===================================================================Traceback (most recent call last):
File "train.py", line 238, in
main()
File "train.py", line 78, in main
d_optim = tf.train.AdamOptimizer(args.learning_rate, beta1 = args.beta1).minimize(loss['d_loss'], var_list=variables['d_vars'])
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 413, in minimize
name=name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 597, in apply_gradients
self._create_slots(var_list)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\adam.py", line 131, in _create_slots
self._zeros_slot(v, "m", self._name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 1155, in _zeros_slot
new_slot_variable = slot_creator.create_zeros_slot(var, op_name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 190, in create_zeros_slot
colocate_with_primary=colocate_with_primary)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 164, in create_slot_with_initializer
dtype)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 74, in _create_slot_var
validate_shape=validate_shape)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 1496, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 1239, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 562, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 514, in _true_getter
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 882, in _get_single_variable
"reuse=tf.AUTO_REUSE in VarScope?" % name)
ValueError: Variable d_h0_conv/w/Adam/ does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=tf.AUTO_REUSE in VarScope?

@remyavijeesh22
Use g_loss = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(logits = disc_fake_image_logits, labels = tf.ones_like(disc_fake_image)))
instead of g_loss = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(disc_fake_image_logits, tf.ones_like(disc_fake_image)))

why I did this, but it was useless. I still reported the same mistake.

I tried all of the above.
Then you will see the following error.
Could be please suggest a fix for this?
===================================================================Traceback (most recent call last):
File "train.py", line 238, in
main()
File "train.py", line 78, in main
d_optim = tf.train.AdamOptimizer(args.learning_rate, beta1 = args.beta1).minimize(loss['d_loss'], var_list=variables['d_vars'])
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 413, in minimize
name=name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 597, in apply_gradients
self._create_slots(var_list)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\adam.py", line 131, in _create_slots
self._zeros_slot(v, "m", self._name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\optimizer.py", line 1155, in _zeros_slot
new_slot_variable = slot_creator.create_zeros_slot(var, op_name)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 190, in create_zeros_slot
colocate_with_primary=colocate_with_primary)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 164, in create_slot_with_initializer
dtype)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\training\slot_creator.py", line 74, in _create_slot_var
validate_shape=validate_shape)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 1496, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 1239, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 562, in get_variable
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 514, in _true_getter
aggregation=aggregation)
File "C:\Users\c0116\Anaconda3\envs\py36\lib\site-packages\tensorflow\python\ops\variable_scope.py", line 882, in _get_single_variable
"reuse=tf.AUTO_REUSE in VarScope?" % name)
ValueError: Variable d_h0_conv/w/Adam/ does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=tf.AUTO_REUSE in VarScope?

did you solve this problem? i also meet the same error that i have no way to solve it, can you give me some suggests?

@remyavijeesh22
Use g_loss = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(logits = disc_fake_image_logits, labels = tf.ones_like(disc_fake_image)))
instead of g_loss = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(disc_fake_image_logits, tf.ones_like(disc_fake_image)))

I changed that. The error then goes on to show that
d_loss1 bla bla bla, so I added logits= and labels= the same style in g_loss. I made changes for d_loss2 and d_loss3 as well.
When I run $ python2 generate_images.py --model_path=Data/Models/latest_model_flowers_temp.ckpt --n_images=8
Another error
Tensor name "d_bn1_1/moments/Squeeze/ExponentialMovingAverage" not found in checkpoint files Data/Models/latest_model_flowers_temp.ckpt
	 [[node save/RestoreV2 (defined at generate_images.py:66) ]]

Any suggestion?

hello,have you solved this problem?

@remyavijeesh22
Use g_loss = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(logits = disc_fake_image_logits, labels = tf.ones_like(disc_fake_image)))
instead of g_loss = tf.reduce_mean(tf.nn.sigmoid_cross_entropy_with_logits(disc_fake_image_logits, tf.ones_like(disc_fake_image)))

I changed that. The error then goes on to show that
d_loss1 bla bla bla, so I added logits= and labels= the same style in g_loss. I made changes for d_loss2 and d_loss3 as well.
When I run $ python2 generate_images.py --model_path=Data/Models/latest_model_flowers_temp.ckpt --n_images=8
Another error
Tensor name "d_bn1_1/moments/Squeeze/ExponentialMovingAverage" not found in checkpoint files Data/Models/latest_model_flowers_temp.ckpt
	 [[node save/RestoreV2 (defined at generate_images.py:66) ]]

Any suggestion?

hello,have you solved this problem?

hey were you able to fix this?

same problem T_T


Adding constraints causes invalid annotations (from extras) in uv pip compile 0.2.26

When I upgraded to uv 0.2.26 there was a huge difference in the annotations produced by my requirements, at first I assumed this was bug fix and it was intentional, but focusing in on a single requirement it looked like it is a new bug, and after quite a bit of effort I now have a minimal reproducible example.
First create a constraints file called constraints.txt and put in the single requirement:
numpy<2

uv 0.2.25
$ uv -V
uv 0.2.15

$ echo -e "ipython>=8.4.0\nnumpy<2" | uv pip compile --python-version 3.11 --annotation-style line - | grep "numpy=="
Resolved 18 packages in 56ms
numpy==1.26.4

echo -e "ipython>=8.4.0\nnumpy<2" | uv pip compile --python-version 3.11 --annotation-style line -c constraints.txt - | grep "numpy=="
Resolved 18 packages in 11ms
numpy==1.26.4             # via -c constraints.txt

uv 0.2.26
$ uv -V
uv 0.2.16

$ echo -e "ipython>=8.4.0\nnumpy<2" | uv pip compile --python-version 3.11 --annotation-style line - | grep "numpy=="
Resolved 18 packages in 9ms
numpy==1.26.4

$ echo -e "ipython>=8.4.0\nnumpy<2" | uv pip compile --python-version 3.11 --annotation-style line -c constraints.txt - | grep "numpy=="
Resolved 18 packages in 8ms
numpy==1.26.4             # via ipython, -c constraints.txt

Suddendly numpy is now coming "via ipython" when it never was before. Where did this come from?
Well my best guess is taking a look at the metadata of that iPython release (https://files.pythonhosted.org/packages/c0/78/fae11aa2dd7e948fbf6283f8abaff267b37a4a3cba531d0aa4274137e793/ipython-8.25.0-py3-none-any.whl.metadata):
Requires-Dist: numpy >=1.23 ; extra == 'test_extra'

There is a numpy requirement for an extra "test_extra", but this extra is never added as a requirement in either the requirements or the contraints.

Perhaps fixed by https://github.com/astral-sh/uv/pull/4570? (I should probably just wait always wait an hour to see if @charliermarsh fixes the problem before spending time producing a clear example myself)

Thanks, almost certainly the same thing. We're gonna cut another release tonight, sorry about that.

Confirmed, fixed on main:
echo -e "ipython>=8.4.0\nnumpy<2" | cargo run -- pip compile --python-version 3.11 --annotation-style line -c constraints.txt - | grep "numpy=="
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s
     Running `target/debug/uv pip compile --python-version 3.11 --annotation-style line -c constraints.txt -`
Resolved 18 packages in 125ms
numpy==1.26.4             # via -c constraints.txt

Will be released in a bit: https://github.com/astral-sh/uv/pull/4573

nice :)


indentation chars showing within the line

I'm not quite convinced this is a desired behavior or something I should be able to configure (didn't find anything related in the doc though). Whenever I have lines with more than a tabstop worth of spaces in it I have the indentLine character showing up:
task automatic pulse(   |   |   |   // this is a comment
    input a;
    input b;
    begin: on
    |     start = a;
    |     .....
    end
endtask

I do not believe that the "|" character should be shown in the first line of this code since there's no indentantion of whatsoever, it is just spaces within some text.
How to fix it?

Can not reproduce.

Indeed it is happening on systemverilog files where I can use line continuation without any escape char. so, being more specific the previous example would look like this:
task automatic pulse(   |   |   |   // this is a comment
    input a,   |   |   |   |   |   |   |   |  // here's another comment
    input b);                               // here yet another comment (no indentchar)
    begin: on
    |     start = a;
    |     .....
    end
endtask

I have another plugin to handle systemverilog files (https://github.com/WeiChungWu/vim-SystemVerilog) and I do not know if there's some sort of conflict with it.
Any hint is appreciated.

I think there indeed is conflict.

I confirm, once I changed plugin to handle systemverilog files I stopped having this behavior.


Add active_class to initially opened accordion-navigation

An active_class is added to .accordion-navigation items when the user clicks on an accordion, but is not added to the initially active accordion.
The active_class should be added both initially and after a user opens an accordion to allow for consistent styling of active accordions.

That's not what I'm seeing here. If I load the docs page and inspect, the active class is present.

Can you explain what your seeing differently and how it causes an issue?

Thanks!


format names together

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

19 of 20 (95.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.4%) to 90.968%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sis_provisioner/models.py
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.4%

Covered Lines:
423

Relevant Lines:
465

💛  - Coveralls


Update pypa version

The version seems to be quite old
Name: toml
Version: 0.9.2

Hi Sam,
The last release was around the end of last July. Most of the development activity since then has been over the past couple of months. I plan on doing a new release once I resolve the currently open bugs.

I think the release cycle must be shorter than one year. I am having to use a git version  because of bug I fixed on Jan 2, 2017. Does it involve anything more than creating a tag and updating a file?

Are there plans to do a new release soon?
For a single user, it's straightforward enough to check out master from git to get the bug fixes from the past year, but it would be very useful to be able to tell the other people I work with to simply pip install toml to get the latest version.

@samvasko Do you want to make the new release? I think that the current outstanding issues will take some time to resolve so doing a release sooner rather than later would be wise. I am putting together a small RELEASE.rst document to help.
I believe the following Copyright notices need to be added to the LICENSE file (unless those named - @samvasko, @nateprewitt, @Jackevansevo - object to their inclusion):
Copyright 2017 Samuel Vasko
Copyright 2017 Nate Prewitt
Copyright 2017 Jack Evans

Sorry for the delayed response. No issues on my end. Congrats on the new release 🎉

Hi guys, I'd like to know when will the next version be released.
Thanks!


[Feature][dolphinscheduler-service] datax component global, parameter…

… configuration #14897

Purpose of the pull request
There are a large number of hundreds, DATAX count tasks, which configure a large number of plaintext passwords.
New feature for problem solving:
1、When the account password address changes, a large number of DATAX tasks need to readjust the account password address, online, a waste of time.
2、the plain text password is not secure.

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

请向 dev 分支提交 PR。@AmriStrong

好的，谢谢

Please submit PR to dev branch. @AmriStrong

The dev environment has been adjusted and submitted, can this 3.1.7 environment also be submitted?


Py3

All done. Py3 fails because it runs with esmf 7.1 which is different form 7.0 (py2 fails both from master or this with esmf 7.1)

@doutriaux1 time for a new baseline with ESMF7.1 (if we get comparable results using regrid2 for the atmos grids)
@gleckler1

@gleckler1 thiking of switching the tests to use linear at least until https://github.com/UV-CDAT/cdms/issues/231 is fixed. What do you think?

@durack1 agreed, that's why we could also disable conservative completely at the moment and raise an error, until this bug is addressed. Thoughts?

@doutriaux1 this is not released, right? A warning would be a good idea until the behaviour is acceptable

@doutriaux1 @dnadeau4 @durack1   Seems like a good thing to do if not too onerous.  I have told the E3SM people using the PMP to not use ESMF conservative until we resolve this, but maybe better is to disable for now.

ok will disable on Monday and merge this in master.


Combo chart

It is not working for combo charts (bar + line combinations).

This error been resolved in ng2-googlchart 2.0 version
you can use
"npm install ng2-googlechart --save"
And try..


Missing requirement "oci"

Description:

oci package is missing from setup.py requirements

To Reproduce:

Launch cartography in a fresh pipenv.

Logs:
Traceback (most recent call last):
  File "/home/jeremy/.local/share/virtualenvs/cartography-ra6kuGgL/bin/cartography", line 33, in <module>
    sys.exit(load_entry_point('cartography', 'console_scripts', 'cartography')())
  File "/home/jeremy/.local/share/virtualenvs/cartography-ra6kuGgL/bin/cartography", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.8/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/jeremy/Repos/cartography/cartography/cli.py", line 9, in <module>
    import cartography.sync
  File "/home/jeremy/Repos/cartography/cartography/sync.py", line 29, in <module>
    import cartography.intel.oci
  File "/home/jeremy/Repos/cartography/cartography/intel/oci/__init__.py", line 9, in <module>
    import oci
ModuleNotFoundError: No module named 'oci'

Additional context:

Up to date cartography (commit: 0c852d26ec32e7dedda28d260290023ea98f3b7e)
Python 3.8.16
OS: Ubuntu 22.04

Ok ... that was a layer 8 issue, my bad.


Embeddium + Immersive Portals = Block rendering issues

Mod Name
Embeddium
Mod Homepage
https://www.curseforge.com/minecraft/mc-mods/embeddium
Describe the bug
Blocks won't get rendered when Embeddium and Immersive Portals are installed with Sinytra Connector
Steps to reproduce

Install Embeddium 0.2.16 (1.20.1)
Install Immersive Portals 3.3.3 (1.20.1)
Create a world

Logs
none
Additional context
No response

I tried immersive portal but my error log is about CIT resewn. The mod seems to be problematic.

Definitely embeddium + immersive portals. I had the same issue

Immersive portals comes with sodium compat, but in order for it to activate, the sodium modid must be present. You can achieve this in 2 steps.
First, create an alias using connector's global alias config file.
connector_global_mod_aliases.json
{
  "version": 1,
  "aliases": {
    "embeddium": "sodium"
  }
}

Next, remove the breaks dependency constraint from immersive portals, as embeddium and sodium don't follow the same versioning.
fabric_loader_dependencies.json
{
  "version": 1,
  "overrides": {
    "immersive_portals": {
      "-breaks": {
        "sodium": "BYE"
      }
    }
  }
}

Last step, enjoy the game :)

Immersive portals comes with sodium compat, but in order for it to activate, the sodium modid must be present. You can achieve this in 2 steps.

Next, remove the breaks dependency constraint from immersive portals, as embeddium and sodium don't follow the same versioning. fabric_loader_dependencies.json
{
  "version": 1,
  "overrides": {
    "immersive_portals": {
      "-breaks": {
        "sodium": "BYE"
      }
    }
  }
}

Last step, enjoy the game :)

Where do i do this second step? I don't see the fabric_loader_dependencies.json anywhere. i tried opening immersive portals jar and don't see it there either. is it a config file generated after attempting to run immersive portals once?

Immersive portals comes with sodium compat, but in order for it to activate, the sodium modid must be present. You can achieve this in 2 steps.

Next, remove the breaks dependency constraint from immersive portals, as embeddium and sodium don't follow the same versioning. fabric_loader_dependencies.json
{
  "version": 1,
  "overrides": {
    "immersive_portals": {
      "-breaks": {
        "sodium": "BYE"
      }
    }
  }
}

Last step, enjoy the game :)

Where do i do this second step? I don't see the fabric_loader_dependencies.json anywhere. i tried opening immersive portals jar and don't see it there either. is it a config file generated after attempting to run immersive portals once?

you have to make the file

Might actually help mentioning where these json's should be placed.. In the .connector folder.. Under config?

fabric_loader_dependencies.json

where is that file should be?

fabric_loader_dependencies.json

where is that file should be?

inside the config folder

Can this be used to make oculus compatible?

Hello, I've done everything as described here as far as I'm aware and I have no mods other than iPortal, embeddium and the connector installed, it still doesn't work for me when I launch a world, is there a possible reason as to why?

Hello, I've done everything as described here as far as I'm aware and I have no mods other than iPortal, embeddium and the connector installed, it still doesn't work for me when I launch a world, is there a possible reason as to why?

Embeddium version?

Hello, I've done everything as described here as far as I'm aware and I have no mods other than iPortal, embeddium and the connector installed, it still doesn't work for me when I launch a world, is there a possible reason as to why?

Embeddium version?

0.3.0

Su5eD I did the same thing, downloaded the same versions of the embeddium mod and immersive portal, but it doesn't work

IP isn't compatible with Embeddium 0.3.x & Oculus >1.6.9.

Thank you Su5eD, I confirm your fix works !
One thing to note: my connector config file was connector.json not connector_global_mod_aliases.json
I was able to make it work with Embeddium 0.2.10 as well as Embeddium 0.3.24
Is there a chance Sinytra connector can make theses changes the default ? I imagine adding a new entry to the global mod aliases wouldn't be hard, but idk about removing the IP dependency on sodium. Maybe IP should add explicit support for Embeddium ?
My setup:
OS: Linux
Mod loader: Forge 47.3.0
Minecraft: 1.20.1
LWJGL: 3.3.3
Immersive Portals: 3.3.9
Embeddium: 0.2.10/0.3.24
Sinytra connector: 1.0.0-beta.44


Feat: Migrated to vite

Closes #18

Hello @mathiasayivor First of all you have done lots of work , hats off to you.
Secondly, in the migration some features got busted. So we have to fix them up before merging the PR , so it doesn't affect the master branch. I have highlighted some of the bugs in the comment section of the app itself xD. And am searching for other bugs as well.
Thank you.

@narayan954 Can you indicate where the issue is?
So far, I can see there's a conflict with package-lock.json, but it's not a good idea to try resolving such a huge file. The best thing I think we can do is to remove and add the package-lock.json to .gitignore since it's not important atm.

package-lock.json isn't the issue but the project . I checked your PR, clean installed npm dependencies , started server with npm run dev and it ran fine. But error occurred while testing the project. I was not able to comment properly, whenever I clicked post button on comment section in any of post(card) , the page crashed white, console says:

I guest error lies within it only

Oh I know the cause...

Oh I know the cause...

I used nanoseconds property on comment.timestamp for the unique key prop, since it was a loop (src/components/Post.jsx line: 55)

I used nanoseconds property on comment.timestamp for the unique key prop, since it was a loop (src/components/Post.jsx line: 55)

Guess the best thing to do is to use a different prop

you're absolutely right !!

Thanks a lot for your contribution @mathiasayivor you taught me a lot with this :)


Allow None to be used as a valid json value.

First check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.
[] After submitting this, I commit to one of:

Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.
I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.
Implement a Pull Request for a confirmed bug.

Description
ATM, if you receive a post with the following json: {data: null}
And you have the following definition:
@app.post("/")
def post_data(data: Optional[str] = Body(...)):
  pass

FastAPI will say data was not passed. That's because it internally uses None as a placeholder for non-existing fields, instead of a sentinel value.
I wish to explicitly require null as one of the possible values, and not put a default value of None.
I've attempted to open a PR, but it failed. It looks like the issue is with dependencies.utils.request_body_to_args using None as a default value for value.
Environment

OS: [e.g. Linux / Windows / macOS]: macOS
FastAPI Version [e.g. 0.3.0]: 0.58.1
Python version: 3.8.3

Well, in your example data is not a json. You're trying to use it as a Query.
You're probably aiming for:
from typing import Optional
from fastapi import FastAPI
from pydantic import BaseModel

app = FastAPI()

class Data(BaseModel):
    data: Optional[str]

@app.post("/")
def post_data(data: Data):
    return data

Which works just fine.

@Kludex Meant to use it with Body(...). Perhaps it works only in a model and not as a body param?

I've never tried receiving a string from a Body, not sure what expect from this notation. I'm not sure if doing that makes sense by definition. The way I interpret your code is: you're passing a JSON and then trying to catch it with an Optional[str].
On my example you validate your JSON with Data, using the data field (sorry about the similarity of the class and property names).

I'm passing a json, extracting the data field from the json, validating the data field as 'Optional[str]`.
It's all supported and works well, until the data field in the json is set to null. Then the whole world explodes and I'm left crying :cry:

If i’m not wrong “...” means that a value must exists maybe changing body(...) to body(any) should works

If i’m not wrong “...” means that a value must exists maybe changing body(...) to body(any) should works

It exists. None is a value. If someone gave me explicitly None, which has special meaning within my API, I'd like to accept it as a possible value.

Try with Any or Union[Any, None]
I’m not on computer now

Thanks for the help here everyone! :clap: :bow:
@bharel If you solved the original problem, then you can close this issue :heavy_check_mark:
Otherwise, please make a minimum app that can show how to replicate the problem. Something that can be run directly with Uvicorn. That way me or others can try it and see the problem.

@tiangolo Hi, I ran into the same issue. I've adding imports to the author's example to illustrate it:
example.py:
from fastapi import FastAPI, Body
from typing import Optional

app = FastAPI()

@app.post("/")
def post_data(data: Optional[str] = Body(...)):
      pass

Now, start uvicorn:
uvicorn example:app

Finally, test with curl:
$ curl -X POST "http://localhost:8000/" -d '"hello"' -H "Content-Type: application/json"
null
$ curl -X POST "http://localhost:8000/" -d 'null' -H "Content-Type: application/json"
{"detail":[{"loc":["body"],"msg":"field required","type":"value_error.missing"}]}

Expected result (doesn't happen):
$ curl -X POST "http://localhost:8000/" -d 'null' -H "Content-Type: application/json"
null

I would have expected null would not return an error because the value None/null is valid for the Optional[str] type.

Hey there! I just tested it out with FastAPI 0.85.1 and it seems to be working as expected 🎉
I think this was probably added in some of the "recent" versions.
Please try again with a recent version, and if it works correctly you can close the issue. 🤓 🍰

I've tested it and it works. Note that JSON only accepts null and doesn't None, nor Null etc... 👍

For me it does not seem to be solved: I tested the minimal example of @MatthewScholefield and I get the same error (value_error.missing). No difference with fastapi 0.85.1 nor 0.86 nor 0.87...


URGENT: Images not being rendered

I edited my discussion few moments ago and now none images are being generated and formatting is gone.
In my editor they are present:

Link of discussion:
https://kusama.polkassembly.io/post/2628
Please check this asap, our proposal goes live tomorrow and images are vital.

This might be directly related to markdown fix commit you pushed into production 1 hour ago https://github.com/polkassembly/polkassembly/commit/51ba8bc9203a3181f5cb825da39a4175c91e5814
cc @jasmeets-6575 @KanishkaRajputd

This is fixed.

Thanks, @niklabh for being so prompt!
Happy to report, that indeed the issue is fixed now.


GPU Plugin Causes Client to Crash at Giant Mole (AMD)

Describe the bug
When attempting to go to the Giant Mole with the GPU Plugin enabled (ANY draw distance), the screen goes black, freezes for a few seconds, then crashes. The bug occurs upon digging at the mole hill to enter the Giant Moles Lair, and it occurs if you are already at the Giant Mole and toggle the plugin from off -> on.
To Reproduce
Steps to reproduce the behavior:

Go to the mole hill in Falador park with a spade and a light source.
Turn on the GPU Plugin (if not already on).
Click on the spade to dig (or use the spade on the mole hill).
When the client begins to load the Giant Mole Lair, wait for the screen to go black and crash.

Expected behavior
I'd expect that upon digging at the mole hill, I enter the Giant Mole's Lair without the client freezing and crashing. :p
Environment (please complete the following information):

OS: Windows10
RuneLite version: 1.5.1 (Latest changes from runelite/runelite master branch)
Launcher version: Built and launched via IntelliJ IDEA (Says "Unknown" in the Info Panel)

Additional context
Here is a link to the pastebin containing both the "--debug" output to the IntelliJ IDEA console, and the contents of the "hs_err_id2376.log" file that is created upon the crash.
https://pastebin.com/bW1JBHqu
Specs

Solution found thanks to @Adam- , the issue was caused by the graphics driver I had installed. I was using the AMD Radeon Adrenalin Edition 18.5.1 Graphics Driver - seen here: https://www.techspot.com/downloads/drivers/essentials/amd-radeon-crimson/. To fix it, I installed the AMD Radeon Adrenalin Edition 18.10.1 Graphics Driver - seen here: https://www.amd.com/en/support/apu/amd-fx-series-processors/amd-fx-series-processors-for-laptops/6th-gen-fx-8800p-apu. While logically, 18.10.1 looks like it would be a "dowgrade" from 18.5.1, it is actually an upgrade (18.5.1 was released in may 2018, 18.10.1 was released october 2018, weird, I know). As a precaution, if you use the link to the driver that fixed my issue, please make sure your graphics card is the same: AMD FX-8800P Radeon R7 (6th gen APU). If yours is different, please search for drivers for YOUR specific card, but I can vouch that the driver above fixes the issue on my graphics card.


AttributeError: 'NoneType' object has no attribute 'cutAllBonsai'

Error with wurzelBot.cut_and_renew_bonsais()

Hi @lucas19961
I will try to take a Look in the next days.

Hi @lucas19961,
do you have a bonsai farm?
In the code a check is missing if self.bonsaifarm is not None, but otherwise it should be correct.

Logic fix: 34ce9a435afea7e6eb2933b7373a8e3c259c116c

Is this the Bonsai Thing ? With the 12 Points ?

No, this is for the bonsai school

What you want if probably this:
Collect points from recreation garden ("Erholungsgarten") (From feature ideas https://github.com/MasterZydra/WurzelimperiumBot/issues/84)
The automtic collection of points from this garden is not implemented yet.


resolve bitrot

this should fix #50, among other things

the windows CI is running into: https://forums.swift.org/t/the-windows-compiler-main/63122
none of the other platforms are affected, and there seems to be a widespread refusal to acknowledge the problem even exists, so we’re just going to remove Windows from the CI for now.
merging, since all other CI members passed


NuGet for per-platform worker run environments

Generate environments for running the Python worker in Mac, Windows and Linux.
The NuGet would provide the following structure:
PythonWorkerRunEnvironments
  Windows
    .env
    worker
      python
      azure
  Linux
    .env
    worker
      python
      azure
  Mac
    .env
    worker
      python
      azure

Closing favor of https://github.com/Azure/azure-functions-python-worker/pull/329 so we can get a CI build with proper artifacts.

\cc @asavaritayal

Ping. @ankitkumarr, @ahmelsayed, can we get some confirmation if the core-tools are able to consume the generated artifacts? Getting the changes needed for core-tools into a PR would be ideal.

@maiqbal11, please let me know once the artifacts are in myget (discussed offline). I can update core-tools build script to consume them and test it out.

@maiqbal11, please let me know once the artifacts are in myget (discussed offline). I can update core-tools build script to consume them and test it out.

I've published the NuGet to the App Service Staging feed. You can start consuming it from there.

@ankitkumarr, l believe this should be the final form of the packaging and publishing. Can you confirm if this works for you from the feed and we can close this?

@maiqbal11 thanks for updating the PR. I will verify with our build today and report back.

@maiqbal11, Would it be better if instead of placing the worker code in workers\python\Windows\python, we just placed them workers\python\Windows? It avoids an additional step in the core-tools build process.

@maiqbal11, Would it be better if instead of placing the worker code in workers\python\Windows\python, we just placed them workers\python\Windows? It avoids an additional step in the core-tools build process.

I've made the change so that worker.py and worker.config.json are copied directly to the Windows etc. folders with the python folder. Once the PR gets checked in to dev, you can get the the latest version of the NuGet package from the feed. To verify the latest change, you can use the Artifacts tab on the CI page.

@ankitkumarr, we should no longer need https://github.com/Azure/azure-functions-core-tools/pull/900, right?

@maiqbal11, yes we shouldn't need that. I will close that PR once we merge and verify everything using nuget package.

Removing publish step to NuGet in favor of release pipeline - will add Wiki notes on how this can be accomplished.


misc. regular updates

Explain config file types and locations

Huh? Weird. This PR is showing the changes of a previously merged one, https://github.com/iterative/dvc.org/pull/1783/files


[BUG] Gui event opens on tanks set to IO mode

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
If you right click a tank with experience it correctly sucks up xp into the experience rod, HOWEVER if you right click a side that has the IO config (blue or orange arrows) it opens the gui, and does not remove xp.
Expected Behavior
IO config should not stop the xp wand from consuming xp
Steps To Reproduce
No response
Environment
- OS:
- Java version:
- Minecraft version:
- Version:

Anything else?
No response

EDIT: seems that you can right click a tank to drain it if it is in the orange IO mode, or has no config but can not shift click to fill it
You can fill the tank in the blue io mode or no mode, but not drain it.
It logically makes sense, but seems a bit confusing from a player perspective not sure if this is a bug or not?
cant fill the tank from the output io.... cant drain the tank from the input io...

Yeah I think this is a case of "technically not a bug". This could be overidden by just ignoring the direction when getting the capability though, and to be honest I think it'd be better to do this like Tyler says for player's sake


Improve search speed

Hi,
I'm using treeview and trying to search items in it. Right now  tree contains 1283 items. When I'm trying to enter more than 3 letters for product name, tree behaviour becomes very sluggish, and  'un-usable'. I think that more than speed itself, the issue is that the search is not asynchronous, hence it feel like it freezes, and it doesn't respond to further key inputs.
Here is the example of search function (tree contains several nodes, so it works well, but if you will increase tree up to 1000 items, then search starting working really slow): https://jsfiddle.net/0hLu1cu6/13/

I experienced this same issue. Any pointer on a fix or where in the code we should look to consider coding a solution would be appreciated.

I believe this is related to #76, you can test it on develop (I was previously looking for testers)


Add light version

Thanks for creating this theme. As someone who sometimes prefers to use light mode, it would be great if this theme also offered a light version, similar to the nordtheme website itself.

It's a great idea but I think it's a big work as I think it will be necessary to redefine all highlights.
I will make some tests

https://github.com/mikasius/zed-nord-theme
The light of zed nord theme looks great.


Tensorflow installation document Korean translated page outdated

URL(s) with the issue
https://www.tensorflow.org/install?hl=ko
Description of issue (what needs changing)
On installation document/windows build from source page, it tells that "TensorFlow를 컴파일하는 데 사용되는 빌드 도구인 Bazel 0.23.0을 설치합니다. C++를 빌드하도록 Bazel을 설정합니다." which means install Bazel 0.23.0 to compile Tensorflow. However, most recent version of Tensorflow which is r2.1, doesn't support Bazel 0.23.0. Instead, it uses 0.27.0~0.29.0. I checked English document and it tells me the version of Bazel that is needed. So, I think the Korean page should be renewed.

Hi @jungmin-lim,
Thanks for reporting this. The docs translations in the
https://github.com/tensorflow/docs-l10n repository.
Can you copy this issue to that repository, and close this one? Thanks.
Also note that these translations are community owned. Since you seem to know how to correct this, I'm sure they'd love it if you can send a PR too.
Thanks.


Add ability to toggle stream state.

Could a third stream control option be added, "Toggle"

I have added this option but I am unable to test it on the hardware until next week. Let me know if you would like a build to test yourself (or alternatively you can build from source).

If you wouldn’t mind, that would be great! I will have hardware in front of me on Sunday.Sincerely,Nick Van Houten | NVH Design(626) @.*** Aug 12, 2022, at 01:28, Peter @.***> wrote:
I have added this option but I am unable to test it on the hardware until next week. Let me know if you would like a build to test yourself (or alternatively you can build from source).
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I have made a test build with webpresenter 1.0.6. Please be careful if using this build on a live production as it may upgrade or downgrade other modules you use. Hopefully it works as intended, please let me know either way.
https://we.tl/t-RzuQDj7fGM

Shoot, can you make a Mac build?Thanks. Sincerely,Nick Van Houten | NVH Design(626) @.*** Aug 12, 2022, at 02:40, Peter @.***> wrote:
I have made a test build with webpresenter 1.0.6. Please be careful if using this build on a live production as it may upgrade or downgrade other modules you use. Hopefully it works as intended, please let me know either way.
https://we.tl/t-RzuQDj7fGM
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I have tested this myself today and it all seems to be working so it will be in a Companion beta release soon.

Hi there,Did this get folded into the official release? I had someone update companion on my machine and I lost these functions...Thanks!-Nick VanHoutenOn Aug 14, 2022, at 11:31 AM, Nicholas Van Houten @.> wrote:Shoot, can you make a Mac build?Thanks. Sincerely,Nick Van Houten | NVH Design(626) @. Aug 12, 2022, at 02:40, Peter @.> wrote:I have made a test build with webpresenter 1.0.6. Please be careful if using this build on a live production as it may upgrade or downgrade other modules you use. Hopefully it works as intended, please let me know either way.https://we.tl/t-RzuQDj7fGM—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.>

You need version 1.0.6 of the WebPresenter module.


[FLINK-15794][Kubernetes] Generate the Kubernetes default image version

What is the purpose of the change
The default image used by Kubernetes is flink:latest which causes version compatibility problems if the latest it not exactly the same as what you are using.
This change generates the exact version id of the image (i.e. no longer latest).
Brief change log

Generate the project and scala versions into a simple Java class.
Use this generated code to define the docker image tag and related documentation.

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
This changes only the default value.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no, only build plugins
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: yes, by default a different image tag is pulled.
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? docs

@wangyang0918 I have moved the version things towards the EnvironmentInformation class.
Because I could not get to the used scala version via the method that was used there I refactored that part to be consistent.
Please review.

I did a rebase against the current master branch and moved the docker image name into a separate function.

As discussed I created https://issues.apache.org/jira/browse/FLINK-16871 and the the relevant changes in https://github.com/apache/flink/pull/11592 .
Can you guys please assign the Jira ticket to me?

@nielsbasjes
is there plan to rebase on #11592 and update this PR?

Yes, this is the next thing on my todo list. Right now I'm preparing my talk for BerlinBuzzwords which is in a few weeks.

ok, thanks for the update

@azagrebin I did a rebase against the latest master, cleanup and implemented the dynamic docker image tag for the documentation in more places.

Did rebase to resolve conflicts

@azagrebin (Weird, cannot respond to your feedback regarding the comment with 'latest' directly...)
I put the "over time" mention in because your application may work today but as soon as a new version is released or Scala 2.13 is added it will break in unexpected ways.
How about this? # The 'latest' tag contains the latest released version of Flink for a specific Scala version. Do NOT use this in production as it will break your setup automatically when a new version is released.
I still strongly believe we should simply NOT have the 'latest' tag at all and we should have docker images with SNAPSHOT versions which are pushed at the same time a SNAPSHOT build is pushed to maven. That would make this entire situation go away cleanly.

@nielsbasjes
The last suggestion looks good to me. Let's just avoid uppercase: NOT -> not.
I agree, snapshot versions would make things cleaner, hopefully community will get to it soon.

Note that this should be squashed into a single commit before merging.

The option docs has to be rebuilt.

Side question: Where can I see the CI for Flink?
This seems to be no longer used https://travis-ci.org/github/apache/flink/pull_requests ?
I did a rebase onto the latest master and rebuilt the docs.

You can see the CI status for the PR in a comment which is automatically created and updated by the Flink bot.
It is usually in the third comment, like for this PR here.
Since 1.11, the Flink CI is hosted by Azure Pipelines, so it is not Travis anymore. 1.10 still uses Travis.

@nielsbasjes I adjusted the commit message and added one more fixup commit.
The fixup commit uses latest tag for snapshot versions as we do not have snapshot Flink images yet.

Using the 'latest' in case of snapshot is consistent with the documentation.
So LGTM
+1
Commit when green.


[BEAM-2888]-GSoD: Script to generate data for capability matrix

This work aims to automatically update the capability matrix with each project release to keep it up to date with minimum supervision or ownership.
The workflow of the approach is as follows:

A script will run periodically, and using the latest runs from relevant test suites from Jenkins, it outputs a capability matrix data file in JSON format
The capability matrix file is uploaded to a public folder in GCS
The Beam website will fetch the capability matrix file every time a user loads the Capability Matrix pagefile, and build the matrix

The ValidatesRunner tests of Beam validate different capabilities for each runner. Every runner has a Jenkins job which runs its ValidatesRunner test suite. Running a validate runner test indicates that the runner provides that particular capability.
The current implementation fetches the different test cases which are run/not run with the status for each runner.
Sample output file: https://gist.github.com/sruthiskumar/3fd6e5789ee181e6b9331534c4ebdf05
@pabloem can you please review the PR

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

can you fix RAT and Whitespace precommits?
Whitespace checks for trailing whitespaces. RAT checks that all files have exceptions or have Apache licenses.

can you fix RAT and Whitespace precommits?
Whitespace checks for trailing whitespaces. RAT checks that all files have exceptions or have Apache licenses.

I have fixed RAT and whitespace issues.

@sruthiskumar it looks like there's a minor merge conflict, could you resolve it by merging or rebasing master?
@pabloem do you have time to review this?

hihi - Sruthi and I syncd on this PR this morning. She has a couple more things to add before we start the review. Thanks!

fyi @robertwb @griscz
Sruthi has written a script that fetches information about ValidatesRunner tests that we are running for Java. It fetches pass/fail status of tests, and also the categories attached to each test case. This should help us have a capability matrix that is sourced directly from the test results. : )
The plan is to only run the scraper against ValidatesRunner suites run against Portable Runners so we have a good basis for comparison that can be expanded to other sdks.

Run Website_Stage_GCS PreCommit

Run Website PreCommit

Run Java PreCommit

closing and reopening to run tests! : )

closing and reopening to rerun tests : )


Add unit tests for author regex

Maybe this is a good point to introduce unit tests for that regex?
Originally posted by @christianguenter2 in https://github.com/larshp/abapGit/pull/3067#issuecomment-554070478

@mariusraht2 I've invited you as a collaborator to abapGit, welcome 😄
feel free to join the slack channel https://abapgit-slackinviter.herokuapp.com if you are not already there, everybody else also welcome on slack 🎈

@christianguenter2 I didn't know if it's just sufficient to be able to give it a value and you get back the result or we should test some actual values within the unit test so I implemented both^^.

I figured out that zcl_abapgit_test_serialize=>check is no valid test method on my system (7.52). Test methods are to be marked with "for testing" and can't be class-methods (static).

How is it possible to invert assert-checks? I tried to execute assert_true based on the result of assert_text_matches which would return 'X' if assertion failed:
    " +00001 too long
    cl_abap_unit_assert=>assert_true(
      cl_abap_unit_assert=>assert_text_matches(
        EXPORTING
          pattern = zif_abapgit_definitions=>c_author_regex
          text    = 'pull[bot]<EMAIL_ADDRESS>1573216988 +00001'
          quit    = if_aunit_constants=>no
          level   = if_aunit_constants=>tolerable ) ).

suggest adding a utility method that calls normal ABAP regex instead


Add Ul and Li components

Is your feature request related to a problem? Please describe.
Add Ul and Li styled-components to rimble-ui library.
Describe the solution you'd like
I should be able to import { Ul, LI } from "rimble-ui" and add props to style such as margin, padding, and list-style types.
Describe alternatives you've considered
These two elements can be added as style-components for each app that uses rimble-ui, which creates duplicated boilerplate code that could be included in the library.

Where would the duplicate code be created?
Why can't we use <Text as="ul" /> or <Text as="li" /> ?
Does rimble-ui need to support every html element a developer might need, or every css property a developer might use?
How do we evaluate what goes in the library and what doesn't?
How are other component libraries approaching this? Can we find some examples?

Duplicate code has been from need ul/li in multiple repos. It would be better to have this functionality in the library.
For now, I like the as="ul" approach. Would we want to add a listStyleType prop to Text or is that also too specific of a prop?
Great questions on what should or should not go in the library. I'm not sure where to draw the line either.


unix: refactor uv_try_write

the previous implementation was uv_write + uv_cancel, it's too hack
If this pr is acceptable, I hope we can implement uv_try_write2 and it always returns UV_EAGAIN when send_handle != NULL on WIN
ping @bnoordhuis

This is just an optimization, it didn't break anything, it just decoupled the part of the system call from uv__write, I believe that it's more readable and performance now.
I am actively using the develop version of libuv so I hope to get some response, thank you

Libuv+Node.js CI again: https://ci.nodejs.org/view/libuv/job/libuv-in-node/137/
I'm pretty sure the failures in the previous run were caused by a flaky test and not this PR but better safe than sorry.

CI: https://ci.nodejs.org/job/libuv-test-commit/1975/
Libuv+Node.js CI: https://ci.nodejs.org/view/libuv/job/libuv-in-node/142/

Hm, that did surprisingly badly. Let's check that again: https://ci.nodejs.org/view/libuv/job/libuv-in-node/144/

@vtjnash
I cannot find the error message for the test, can you point it out for me? I am not very familiar with it, thanks.

There wasn't an error message, just a lot of instances of this test failing:
not ok 2315 parallel/test-tls-env-extra-ca
  ---
  duration_ms: 120.21
  severity: fail
  exitcode: -15
  stack: |-
    timeout
  ...

Is this a nodejs test?
I don't know much about nodejs...
I need help @bnoordhuis
Please take a look at this if you have time...

@twose Yes, it's a node.js test. It's almost certainly a flake but let's try it one more time. Can you rebase against v1.x? Thanks.

Recently some busy, sorry for being late, I've updated this :)

It failed quite a substantial number of times across many platforms (vs. no failures when I ran with the head of v1.x). I'm hoping nodejs CI isn't really that flaky, so I'm assuming it must be somehow related. Unfortunately, the old build logs are gone, so I'm not sure how to solve this. 😬
Attempted Nodejs+libuv CI: https://ci.nodejs.org/view/libuv/job/libuv-in-node/151/
Seems to be hitting a memory limit or memory corruption on a couple nodes now (so a different error than last week)?

The Node integration CI won't pass until https://github.com/nodejs/node/pull/34751 or a similar change lands in Node.

Friendly reminder :)
Can we try again now?

Here you go: https://ci.nodejs.org/view/libuv/job/libuv-in-node/163/

Still appears to show a sharply increased failure rate of that test: https://ci.nodejs.org/view/libuv/job/libuv-in-node/163/

I reviewed the code again, but I still can not find any problems, the logic should be equivalent to the original.
and what is the meaning of "flaky"? I can not get it 😢 (maybe because of my poor English)

and what is the meaning of "flaky"? I can not get it  (maybe because of my poor English)

@twose a "flaky" test means a test that fails occasionally, under certain conditions, i.e. it does not always fail. Such tests are harmful, as they reduce the overall value of the test suite. Hopefully, the explanation is good enough.

@puzpuzpuz I really appreciate your help and I got it.
I rebased it again. Hoping someone can help push forward the progress...

@bnoordhuis need your help 🤯

I took a quick look, and it is indirectly related to this PR, though nodejs seems probably most at fault. It is timing related, and happens more often when the server is busy (e.g. running tests/parallel, then when it is idle). It's easy to reproduce under rr (record-and-replay). It seems perhaps related to https://github.com/libuv/libuv/pull/3006, as what I see is that nodejs calls uv_shutdown (in response to close_notify), then tries to do more uv_write calls, and forgets to ever call uv_close. It's also possibly thus related to https://github.com/nodejs/node/pull/36111, as it hits precisely that issue also (the TLSWrap object gets UV_EOF, but knows it's already reported eof_ to the caller, and thus assumes the caller should have already schedule destroy and doesn't duplicate the notification)

Really want see this get merged in next release, could save lots of system call in some binding code.

I won't let stalebot steal this: I plan to include it in the next release.

Finally merged, thank you for all your assistance.


Should check_first_time be translatable ?

Should check_first_time be translatable ?

Nop, it is used for settings. I guess we should not translate that :)

I pushed a fix to values/strings.xml to develop as well, so that crowdin propagates it.


Error 500

Environment
Nuxt CLI v3.0.0-27255771.f78ec93
RootDir: D:...\nuxt3-test
Nuxt project info:

Operating System: Windows_NT
Node Version:     v16.13.0
Nuxt Version:     3.0.0-27255771.f78ec93
Package Manager:  Yarn
Bundler:          Vite
User Config:      buildModules, build
Runtime Modules:  -
Build Modules<EMAIL_ADDRESS>
Describe the bug
After installing the dependencies, yarn dev displays this message:
[SSR] Error transforming virtual: D:/.../nuxt3-test/.nuxt/plugins/server.mjs: Error: Failed to resolve import "D:

<EMAIL_ADDRESS>from "virtual:D:\...\nuxt3-test\.nuxt\plugins\server.mjs". Does the file exist?

and the page returns an error 500:
Cannot read properties of undefined (reading 'map')
at Module.normalizePlugins (file:///D:/.../nuxt3-test/.nuxt/dist/server/server.mjs:181:28)
at $id_b7b2f3dc (file:///D:/.../nuxt3-test/.nuxt/dist/server/server.mjs:28:39)
at async __instantiateModule__ (file:///D:/.../nuxt3-test/.nuxt/dist/server/server.mjs:1021:3)

Additional context
No response
Logs
No response

yarn update and allselect repo update test please

@productdevbook still error 500. This Pinia issue covers the problem I think https://github.com/posva/pinia/issues/778

@productdevbook still error 500. This Pinia issue covers the problem I think posva/pinia#778

repeat yarn allupdate tested. I think they fixed that problem with the new update.

Unfortunately I have still the same error.
Could you commit your new package.json to let me check if we have the same versions?

I have the same version. And so your nuxt3-app is working for you? No 500 error?

yes yarn dev working, only page http://localhost:3000/modal problem.
now update my repo check.

fixed all please test

After pulling the latest commit. I am still obtaining an error similar to this.

 WARN  [SSR] Error transforming virtual:C:/Users/glare/Documents/nuxt3-app/.nuxt/plugins/server.mjs: Error: Failed to resolve import "C:UsersglareDocuments
uxt3-app
ode_modules@pinia
uxtdistplugin.mjs" from "virtual:C:\Users\glare\Documents\nuxt3-app\.nuxt\plugins\server.mjs". Does the file exist?

(node:6812) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
exports is not defined in ES module scope
  at $id_60f0615f (file:///C:/Users/glare/Documents/nuxt3-app/.nuxt/dist/server/server.mjs:83:23)
  at __instantiateModule__ (file:///C:/Users/glare/Documents/nuxt3-app/.nuxt/dist/server/server.mjs:5979:9)
  at __ssrLoadModule__ (file:///C:/Users/glare/Documents/nuxt3-app/.nuxt/dist/server/server.mjs:5926:25)
  at ssrImport (file:///C:/Users/glare/Documents/nuxt3-app/.nuxt/dist/server/server.mjs:5951:13)
  at $id_9abae20e (file:///C:/Users/glare/Documents/nuxt3-app/.nuxt/dist/server/server.mjs:15:37)
  at __instantiateModule__ (file:///C:/Users/glare/Documents/nuxt3-app/.nuxt/dist/server/server.mjs:5979:9)
  at __ssrLoadModule__ (file:///C:/Users/glare/Documents/nuxt3-app/.nuxt/dist/server/server.mjs:5926:25)
  at file:///C:/Users/glare/Documents/nuxt3-app/.nuxt/dist/server/server.mjs:5992:22
  at ModuleJob.run (node:internal/modules/esm/module_job:185:25)
  at async Promise.all (index 0)

Environment:

Operating System: Windows_NT
Node Version:     v16.13.0
Nuxt Version:     3.0.0-27272804.ca557e7
Package Manager<EMAIL_ADDRESS>Bundler:          Vite
User Config:      buildModules, build
Runtime Modules:  -
Build Modules<EMAIL_ADDRESS>
Please let me know if you'd like me to open a new issue with this.

@darbyjack this is the same as this repo did you write any extra code?

Same for me, still this error.
The repo preview on Stackblitz doesn't work as well https://stackblitz.com/github/productdevbook/nuxt3-app

@darbyjack this is the same as this repo did you write any extra code?

No sir. I did a pure clean clone of the repo and did yarn install and then yarn dev and then this proceeded to lead me to this error.

I think that this pull request will fix the error when it will be merged and released https://github.com/nuxt/framework/pull/1779

Well this problem is not happening to me. Interesting. @eMeRiKa13 maybe thats true.
I think the problem is a windows path.

Yeah, that would make sense that it's windows. I can test this in a Linux environment shortly.

from the link I posted "Fixing the slash of paths when importing plugins for windows."
I didn't read that before. I'm on Windows, so it seems that

I'm facing the same issue

The mentioned PR has been merged.

I had to add @nuxt/kit-edge as a dev dependency to get it work

please test repo, upgraded


Suggestion: use new version number when releasing hotfixes

When you release hotfixes, like you did with 5.2.3, you continue to receive duplicate bug reports until the next version. I think it would help you to release hotfixes not as 5.2.3 but as <IP_ADDRESS>, <IP_ADDRESS>, ...
Doing it this way, the new version check would tell users a new version is available and the number of duplicate bug reports should lower.

+1

Agreed.
We already use build numbers (like <IP_ADDRESS>810182116) but build number is not used in GitHub tags / release announcements.
Not sure how to handle this better..

Aren't tags something you choose? I don't believe you are forced to max 3 version components when creating a release, are you?

Ok, what about you increase the second number every 2 weeks instead of the third, which would be left for hotfixes? Sure the second number would go up quite fast, but I think it would get to something like 5.20-5.30, not 5.100 before 6.0 is out.
My personal opinion is that you should release less often, or alternate a feature release with one or more bugfix-only while you work on new features on a different branch, but that's quite offtopic here.

Another alternative is using 5.2.4 for 5.2.3 hotfixes, but that would be a PITA because you would need to move all your planned issue to the next milestone.
Changing the update checker to include the build number in the check might not be feasible and would not solve the issue for those updating through debian or rpm repositories....this is a difficult issue indeed!

Yep. We are thinking about some changes here. As you may see we have a lot of tickets. Two-weeks sprints may be too short to handle them properly..

I believe this issue can be safely closed, it's your internal policy anyway. :smile:


Command line argument differs from usage

The tecli workspace --help shows docs that would indicate parameters like --workspace-name and --organization-name are actually --name and --organization respectively.

Hi @darkn3rd, thank you for creating this issue. I've fixed it and released a new version. Please let me know if the issue still persists.


useHandCursor not working for planes

Version

Phaser Version: 3.60.0

Operating system: Windows 10

Description

It seems that "plane" gameObjects do not support the useHandCursor setting when calling setInteractive(). The interactivity works, but the cursor stays the same. The object still supports pointerover and pointerout events, so it can be implemented manually.
Example Test Code

const plane = this.add.plane(100,100,"myTexture");
plane.setInteractive({useHandCursor: true}); // this works, but doesn't set the cursor on pointerover

// My hacky implementation of useHandCursor follows:
plane.on("pointerover",() => {
	this.game.canvas.style.cursor = "pointer";
});
plane.on("pointerout",() => {
	this.game.canvas.style.cursor = "default";
});

This is because the setInteractive method for meshes (which include planes) is different then other gameObjects and does not use a interactive config.
As you can see here:
https://github.com/phaserjs/phaser/blob/v3.60.0/src/gameobjects/mesh/Mesh.js#L1166

Now mesh based Game Objects support an input configuration object, but the properties hitArea, hitAreaCallback, pixelPerfect and alphaTolerance are ignored.
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.