Automatic data backup no longer works

A third-party service is connected in the portal's settings. A copy can be made at any time.
What could be the problem that an automatic data backup no longer works?
I'm glad to hear from you.
Thanks,
Dirk

Hi @dslengel Where did you do the automatic backups? Does manual backup to this folder work? Are there any errors in svcBackup.log or web.api.log?

A copy can be made at any time...

Not copy a file, we interested what about manual backup?

Sorry, that is what I meant. A manual backup works to this folder.
Here the svcBackup.log:
2021-07-19 12:33:27,471 ERROR [12] ASC - System.IO.IOException: Der Prozess kann nicht auf die Datei "audit_events" zugreifen, da sie von einem anderen Prozess verwendet wird.
bei System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
bei System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
bei ASC.Data.Backup.ZipReadOperator.Dispose()
bei ASC.Data.Backup.Tasks.RestorePortalTask.RunJob()
bei ASC.Data.Backup.Service.BackupWorker.RestoreProgressItem.RunJob() System.IO.IOException: Der Prozess kann nicht auf die Datei "audit_events" zugreifen, da sie von einem anderen Prozess verwendet wird.
bei System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
bei System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
bei ASC.Data.Backup.ZipReadOperator.Dispose()
bei ASC.Data.Backup.Tasks.RestorePortalTask.RunJob()
bei ASC.Data.Backup.Service.BackupWorker.RestoreProgressItem.RunJob()
2021-07-19 12:33:27,562 ERROR [12] ASC.Common.Threading.Workers - ASC.Common.Threading.Workers.WorkItem1[ASC.Common.Threading.Progress.IProgressItem] MySql.Data.MySqlClient.MySqlException (0x80004005): Duplicate entry 'localhost' for key 'tenants_tenants.alias'    bei MySql.Data.MySqlClient.MySqlStream.ReadPacket()    bei MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)    bei MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)    bei MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)    bei MySql.Data.MySqlClient.MySqlDataReader.NextResult()    bei MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)    bei MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()    bei ASC.Common.Data.DbManager.ExecuteNonQuery(ISqlInstruction sql)    bei ASC.Core.Data.DbTenantService.SaveTenant(Tenant t)    bei ASC.Core.Caching.CachedTenantService.SaveTenant(Tenant tenant)    bei ASC.Core.TenantManager.SaveTenant(Tenant tenant)    bei ASC.Data.Backup.Service.BackupWorker.RestoreProgressItem.RunJob()    bei ASC.Common.Threading.Progress.ProgressQueue.<>c.<.ctor>b__2_0(IProgressItem x)    bei ASC.Common.Threading.Workers.WorkerQueue1.DoWork(Object state)
2021-07-19 12:36:08,401 ERROR [12] ASC - System.IO.IOException: Der Prozess kann nicht auf die Datei "crm_field_value" zugreifen, da sie von einem anderen Prozess verwendet wird.
bei System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
bei System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
bei ASC.Data.Backup.ZipReadOperator.Dispose()
bei ASC.Data.Backup.Tasks.RestorePortalTask.RunJob()
bei ASC.Data.Backup.Service.BackupWorker.RestoreProgressItem.RunJob() System.IO.IOException: Der Prozess kann nicht auf die Datei "crm_field_value" zugreifen, da sie von einem anderen Prozess verwendet wird.
bei System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
bei System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
bei ASC.Data.Backup.ZipReadOperator.Dispose()
bei ASC.Data.Backup.Tasks.RestorePortalTask.RunJob()
bei ASC.Data.Backup.Service.BackupWorker.RestoreProgressItem.RunJob()
and here the web.api.log:
2021-07-22 05:18:45,587 WARN [100] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 05:18:45,587 ERROR [100] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 05:37:16,050 WARN [191] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 05:37:16,050 ERROR [191] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 05:37:16,468 WARN [155] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 05:37:16,468 ERROR [155] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 06:43:25,742 WARN [184] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 06:43:25,742 ERROR [184] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 06:49:27,927 WARN [37] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 06:49:27,927 ERROR [37] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 07:18:12,491 WARN [67] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 07:18:12,491 ERROR [67] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 07:18:12,700 WARN [37] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 07:18:12,700 ERROR [37] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 07:19:38,045 WARN [37] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 07:19:38,045 ERROR [37] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 07:19:38,164 WARN [209] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 07:19:38,164 ERROR [209] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 09:46:09,571 WARN [127] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 09:46:09,571 ERROR [127] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 09:46:09,693 WARN [230] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 09:46:09,693 ERROR [230] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 10:09:36,775 WARN [176] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 10:09:36,775 ERROR [176] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 10:09:36,912 WARN [86] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 10:09:36,912 ERROR [86] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 10:10:00,722 WARN [223] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 10:10:00,722 ERROR [223] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 10:10:00,841 WARN [131] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 10:10:00,841 ERROR [131] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 10:31:10,075 WARN [218] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 10:31:10,075 ERROR [218] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 10:31:24,342 WARN [97] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 10:31:24,342 ERROR [97] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 10:31:29,218 WARN [131] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 10:31:29,218 ERROR [131] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 10:31:29,302 WARN [63] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 10:31:29,302 ERROR [63] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 10:31:33,701 WARN [63] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 10:31:33,701 ERROR [63] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 10:31:33,806 WARN [97] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 10:31:33,806 ERROR [97] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 10:31:35,904 WARN [228] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 10:31:35,904 ERROR [228] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden
2021-07-22 10:31:35,999 WARN [184] ASC.Api - Product project denied for user Dirk Büchin
2021-07-22 10:31:35,999 ERROR [184] ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden

What's wrong with this:
ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden

What kind of third party storage do you connected? Please try to resave your autobackup shedule. Also please can try to perform autobackup in another folder.

ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json - Server error System.Web.HttpException (0x80004005): Forbidden

this error happend with this event

2021-07-22 10:31:35,999 WARN [184] ASC.Api - Product project denied for user Dirk Büchin

Hello Mike,
I created a new folder and set the schedule to 7 pm so that I could test it
right away. Unfortunately it didn't work again. A manual backup is possible
at any time without any problems an there were no problems in the previous
version.
I use "owncloud" on my own separate server.
What I noticed is that the backup always looks like this at the moment:
localhost_2021-07-22_08-45-57.tar (1) .gz as if it were a second file, but
it does not exist. Can you do something with that?
Am Do., 22. Juli 2021 um 18:06 Uhr schrieb Mike Grunin <
@.***>:

What kind of third party storage do you connected? Please try to resave
your autobackup shedule. Also please can try to perform autobackup in
another folder.
ASC.Api - method error: http://<IP_ADDRESS>/api/2.0/project/securityinfo.json

Server error System.Web.HttpException (0x80004005): Forbidden

this error happend with this event
2021-07-22 10:31:35,999 WARN [184] ASC.Api - Product project denied for
user Dirk Büchin
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ONLYOFFICE/CommunityServer/issues/310#issuecomment-885032633,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATBJ2FKJGM6OIGNWB2C44QTTZA6WTANCNFSM5AZMBHNQ
.

Hi Mike,
I just wanted to let you know that a scheduled backup was unfortunately not carried out.
The backups with (1) were started manually. Why these are marked with (1) also leaves questions unanswered.

Hopefully there will be a solution for that too.
I look forward to hearing from you.
Dirk

Any idea about that issue?

Yes, it looks like auto backup does not start at all. Probably the problem is in its config. We are trying to resolve this issue.

we have the same problem after updating

used to work

Glad to hear it!
Will you inform us, when the release is there?
Thank you in advance.
Dirk
Mike Grunin @.***> schrieb am Mi. 4. Aug. 2021 um 21:13:

We found the problem and it will be solved in the next 11.5.3 release
coming soon.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ONLYOFFICE/CommunityServer/issues/310#issuecomment-892905915,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATBJ2FPF66NMVQLLYLVBELLT3GGNXANCNFSM5AZMBHNQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
Mit himmlischen Grüßen,
Dirk Büchin
DSL-Engel Dirk Büchin
Rathausstr. 4
66125 Saarbrücken
0681-6865005 (Tel)
0681-6865006 (Fax)
www.dsl-engel.de

Yes, sure. You can also see this in the control panel on the update tab.

Awesome, thanks!
Mike Grunin @.***> schrieb am Do. 5. Aug. 2021 um 09:09:

Yes, sure. You can also see this in the control panel on the update tab.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ONLYOFFICE/CommunityServer/issues/310#issuecomment-893221389,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATBJ2FPL275RX7ZXIULFRFTT3I2KBANCNFSM5AZMBHNQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
Mit himmlischen Grüßen,
Dirk Büchin
DSL-Engel Dirk Büchin
Rathausstr. 4
66125 Saarbrücken
0681-6865005 (Tel)
0681-6865006 (Fax)
www.dsl-engel.de

Hello!
The last available version before our license has expired was 11.5.2. Will it be possible to upgrade to version <IP_ADDRESS>2, which was just released? For example via command line. If not, please let us know what is the latest version in which automatic backup was working. Thanks!

Hello @acsam-sc, I would recommend you to contact our<EMAIL_ADDRESS>to discuss this particular case, I am sure that you will be able to find some solution for this situation.
If you are not interested in it, please try to install the previous version <IP_ADDRESS>6.

the last stable version
was: ONLYOFFICE_CommunityServer_Win-install.v11.1.917.exe

and

what do you mean by: "contact our @.*** to discuss this
particular case"?

Liebe Grüße,
Dirk Büchin
P.S.
*Hat es Ihnen gefallen, bewerten Sie uns hier
http://search.google.com/local/writereview?placeid=ChIJj8LT9QO3lUcRekz2GBsEgVY,*falls
nicht, rufen Sie uns an.
[image: Logo]
DSL-Engel Dirk Büchin
Rathausstr. 4
66125 Saarbrücken
0681-6865005 (Tel)
0681-6865006 (Fax)
www.dsl-engel.de
Am Mo., 6. Sept. 2021 um 15:10 Uhr schrieb acsam-sc <
@.***>:

Hello!
The last available version before our license has expired was 11.5.2. Will
it be possible to upgrade to version <IP_ADDRESS>2, which was just released?
For example via command line. If not, please let us know what is the latest
version in which automatic backup was working. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ONLYOFFICE/CommunityServer/issues/310#issuecomment-913638837,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATBJ2FN7WCQQNJMG22XIC4TUAS4TJANCNFSM5AZMBHNQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

what do you mean by: "contact our @.*** to discuss this
particular case"?

I think you mail client filtering our messages, please open github and see correct responce there
It's always a good idea to have direct conversation via github web UI, not replying on mail client, since mail client clubber issues with a lot of extra unrelated data and make issues hard to read

My actual release is: Version 11.5.930
You write: "The last available version before our license has expired was 11.5.2. Will it be possible to upgrade to version <IP_ADDRESS>2, which was just released ..."
Do you mean: downgrade to 11.5.2 and than update to <IP_ADDRESS>2?
Could you explain that with more details, especially how I can set it up

My actual release is: Version 11.5.930
You write: "The last available version before our license has expired was 11.5.2. Will it be possible to upgrade to version <IP_ADDRESS>2, which was just released ..."
Do you mean: downgrade to 11.5.2 and than update to <IP_ADDRESS>2?
Could you explain that with more details, especially how I can set it up

We have a docker version, enterprise edition, tag <IP_ADDRESS>2 has been released today, as I can see in docker hub. In case of windows installation version numeration can be different.

Okay, than let me know which is the latest release after Version 11.5.930
for Windows Server and where can I download it.
Thank you
Liebe Grüße,
Dirk Büchin
P.S.
*Hat es Ihnen gefallen, bewerten Sie uns hier
http://search.google.com/local/writereview?placeid=ChIJj8LT9QO3lUcRekz2GBsEgVY,*falls
nicht, rufen Sie uns an.
[image: Logo]
DSL-Engel Dirk Büchin
Rathausstr. 4
66125 Saarbrücken
0681-6865005 (Tel)
0681-6865006 (Fax)
www.dsl-engel.de
Am Mo., 6. Sept. 2021 um 19:06 Uhr schrieb acsam-sc <
@.***>:

My actual release is: Version 11.5.930
You write: "The last available version before our license has expired was
11.5.2. Will it be possible to upgrade to version <IP_ADDRESS>2, which was
just released ..."
Do you mean: downgrade to 11.5.2 and than update to <IP_ADDRESS>2?
Could you explain that with more details, especially how I can set it up
We have a docker version, enterprise edition, tag <IP_ADDRESS>2 has been
released today, as I can see in docker hub. In case of windows installation
version numeration can be different.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ONLYOFFICE/CommunityServer/issues/310#issuecomment-913775409,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATBJ2FN7LBBHVH5ZLX6QWF3UATYKFANCNFSM5AZMBHNQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hello @dslengel you can download the latest version of components on the Update page of Control Panel on your server.

Okay, it seems you did it today :-)
Please tell me what to watch out for when installing the latest version (11.5.975).
I had significant problems last time.
Does it also make sense to update the control panel (3.0.385)?

We released the version yesterday. All components are tested, also for installation. You had a special case, we had to fix this problem. You can make an image of your server before updating. We also recommend that you always use the latest versions of our components.
GitHub is a platform where users report their problems with specific scenarios. For support use please<EMAIL_ADDRESS>and for discussion you can go to our forum.

Hi Mike,
I would like to take the opportunity to say thank you.
There were no problems with the installation with the current version. All
functions run flawlessly and the automatic backup is now up and running
again.
You're doing a great job.
Thanks for your support.
Kind regards,
Dirk
Am Di., 7. Sept. 2021 um 12:54 Uhr schrieb Mike Grunin <
@.***>:

We released the version yesterday. All components are tested, also for
installation. You had a special case, we had to fix this problem. You can
make an image of your server before updating. We also recommend that you
always use the latest versions of our components.
GitHub is a platform where users report their problems with specific
scenarios. For support use please @.***, and for
discussion you can go to our forum https://forum.onlyoffice.com/.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ONLYOFFICE/CommunityServer/issues/310#issuecomment-914203415,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATBJ2FJPPFKR5UHCLKYKUMLUAXVOPANCNFSM5AZMBHNQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hello @dslengel Glad to hear that! Thank you for your interest and use of our product.


How to render only one image

How to render only selected 1 image with this. Not array ?

Hey @akiladevinda can you just put an array with one element?


Showell bot test fixes

Getting real close to closing out #1002
I can't get this test to pass, and I have to head out for the day.  I'll try to debug it later.
commit 5fc726ae59dab905fb60388aad825c1cb8909d27
Author: Steve Howell<EMAIL_ADDRESS>Date:   Wed Jul 13 10:22:01 2016 -0700

    BROKEN!!! I can't figure out how to get client_patch to pass files.

diff --git a/zerver/tests/tests.py b/zerver/tests/tests.py
index 0c0d1e4..1a10b87 100644
--- a/zerver/tests/tests.py
+++ b/zerver/tests/tests.py
@@ -7,6 +7,7 @@ from mock import patch, MagicMock

 from django.http import HttpResponse
 from django.test import TestCase
+from django.test.client import MULTIPART_CONTENT

 from zerver.lib.test_helpers import (
     queries_captured, simulated_empty_cache, skip_py3,
@@ -902,6 +903,27 @@ class BotTest(AuthedTestCase):
         bot = self.get_bot()
         self.assertEqual('Fred', bot['full_name'])

+    def xxx_test_patch_bot_avatar(self):
+        # type: () -> None
+<EMAIL_ADDRESS>+        bot_info = {
+            'full_name': 'The Bot of Hamlet',
+            'short_name': 'hambot',
+        }
+        result = self.client.post("/json/bots", bot_info)
+        self.assert_json_success(result)
+
+        profile =<EMAIL_ADDRESS>+        self.assertEqual(profile.avatar_source, UserProfile.AVATAR_FROM_GRAVATAR)
+
+        fp = open(os.path.join(TEST_AVATAR_DIR, 'img.png'), 'rb')
+        result =<EMAIL_ADDRESS>dict(file=fp),
+            content_type=MULTIPART_CONTENT)
+        self.assert_json_success(result)
+
+        profile =<EMAIL_ADDRESS>+        self.assertEqual(profile.avatar_source, UserProfile.AVATAR_FROM_USER)
+
     def test_patch_bot_to_stream(self):
         # type: () -> None
<EMAIL_ADDRESS>

Automated message from Dropbox CLA bot
@showell, it looks like you've already signed the Dropbox CLA. Thanks!

Cool, this looks good!  Posted a few small style comments.  I don't see why your test above is failing...

I just made another push to address style comments.  I think self.client_patch doesn't invoke the same mechanism as self.client.post to eventually set request.FILES, so the test ends up going through the wrong path in this code:
    if len(request.FILES) == 0:
        avatar_source = UserProfile.AVATAR_FROM_GRAVATAR
    elif len(request.FILES) != 1:
        return json_error(_("You may only upload one file at a time"))
    else:
        user_file = list(request.FILES.values())[0]
        upload_avatar_image(user_file, user_profile, email)
        avatar_source = UserProfile.AVATAR_FROM_USER

I figured out how to do the multipart encoding with a patch request.  Getting the commit ready and will push soon.

@timabbott If this build passes, please check coverage on views/users.py, as I think this fully closes out #1002

Cool, posted a few comments; I also tested this manually and and confirm this closes #1002 (feel free to amend Fixes: #1002 into the commit message of the last commit to have it auto-close the issue when its merged).

BTW as a sidenote @showell, you may perhaps want to (1) attach<EMAIL_ADDRESS>to your GitHub (@lfaraone can probably help with any email confirmation issues involved; needed for GitHub's contributions graphs to show all your past contributions) and/or use a GIT_AUTHOR_EMAIL that's current for your commits.

See #1276 for follow up tasks on this series.

@timabbott I think this is ready to push if you're satisfied that everything in #1276 can be deferred.  I think everything was either addressed in this series or punted to that ticket.

Merged, thanks @showell!


add newlines after each error message

Issue #:
n/a
Description of changes:
This adds newlines at the end of each error message.  This is helpful if you do not have full access to the account you are scanning... because it will write permission error messages to the error CSV file, with each message appearing on its own line.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Preparing review...

PR Analysis

🎯 Main theme: Adding newlines at the end of each error message
📌 Type of PR: Enhancement
✨ Focused PR: Yes, the PR is focused on adding newlines at the end of each error message for better error logging.
🔒 Security concerns: No security concerns found

PR Feedback

General suggestions: The PR is straightforward and doesn't introduce any major changes. However, it would be beneficial to add tests to ensure the newlines are being added correctly and that the error messages are being logged as expected.

🤖 Code feedback:

relevant file: py-Classic-Resource-Finder.py
suggestion: Consider using Python's logging module instead of writing directly to the file. This would provide more flexibility in terms of logging levels and handlers. [medium]
relevant line: efileobj.write(suffixobj + ' for ' + currentregionnameobj + ' failed to write. Error: ' + str(e) + '

relevant file: py-Classic-Resource-Finder.py
suggestion: It would be better to use f-strings for string formatting which is more readable and efficient. [medium]
relevant line: efileobj.write(suffixobj + ' for ' + currentregionnameobj + ' failed to write. Error: ' + str(e) + '


[RFE] have rke snapshot etcd automatically, once a day. either via rke or custom clusters created by rancher

Purpose:
Have rke snapshot etcd automatically, once a day. either via rke or custom clusters created by rancher

Link https://github.com/rancher/rancher/issues/13688

https://github.com/rancher/rke/issues/888
https://rancher.com/docs/rke/v0.1.x/en/etcd-snapshots/#etcd-recurring-snapshots

Closing in favor of the rke bug, and will pursue another ticket for rancher backup ui


Fix analytics

This is hosed at the moment

is this #91 ? - asked @nathanleclaire for credentials so i can test

yup! i'm going to close, then we can re-open if something seems b0rked


Upgrade support between v1.02 and v1.1

Currently in v1.1 the naming scheme for ModuleLoader and DevicePlugin daemonsets is different the what we had in v1.0.2. We are using hashings and the names are deterministic. This causes issues during upgrade, since the upgraded controller will try to create new daemonsets (new names). The old daemonsets can not be deleted, since it will cause the unloading of kernel modules. Since there is no way to change/delete lifecycle hooks of the running pod, we need to support the naming scheme of v1.0.2
The changes in PR:

get the runnings Daemonsets of the module in the earlier stage of the reconciliation loop
during ModuleLoader or DevicePlugin handling, check if the appropriate daemonset already exists based on the kernel-version and version label of daemonset
if now daemnonset is found, then create a new one using GenerateName option
removing the fix for pods being stuck in Terminating state for ~30 seconds, since it changes the Container spec of the Daemonset, which means that during upgrade the DaemonSet will delete the pod and then restart it, which may cause unloading of kernel module
unit test fixes

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.20 :tada:

Comparison is base (936ec3a) 82.93% compared to head (051cb8a) 83.13%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #454      +/-   ##
==========================================
+ Coverage   82.93%   83.13%   +0.20%
==========================================
  Files          33       33
  Lines        3322     3327       +5
==========================================
+ Hits         2755     2766      +11
+ Misses        464      460       -4
+ Partials      103      101       -2

Impacted Files
Coverage Δ

controllers/module_reconciler.go
86.22% <100.00%> (+2.08%)
:arrow_up:

internal/daemonset/daemonset.go
98.44% <100.00%> (-0.01%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

/lgtm


⚠ File access has degraded performance

In f273dbe, File access (https://fyle.uk/file/fish) experienced degraded performance:

HTTP code: 200
Response time: 4965 ms

Resolved: File access performance has improved in 9a31077 after 9 minutes.


“DataCurator.app” can’t be opened because it is from an unidentified developer

Expected Behaviour (for problems)
Open the app.
Current Behaviour
Displays…

“DataCurator.app” can’t be opened because it is from an unidentified developer.
Your security preferences allow installation of only apps from the Mac App Store and identified developers.

Steps to Reproduce

When reporting a problem, provide a set of steps so others can reproduce the problem.

Open Data Curator using the icon

or

Right click on the icon, hold option, select Open
“DataCurator.app” is from an unidentified developer. Are you sure you want to open it?
Select Open
Prompt opens requesting the administrator password. I don't have administrator access on this machine. Click cancel.

Your Environment

Data Curator version 0.3.1
macOS El Capitan
User account with administrator access

Thanks for reporting this @sjackman and I'm sorry you're unable to run Data Curator.
Signing the app is planned but not currently implemented.
Without Admin access to your Mac, I don't think you can run the app.
@mattRedBox any suggestions?

I can try DataCurator out at home on my laptop; I just can't use it at work. Glad to hear that signing the app is on your plan.

Great! Be aware that over the next week there’ll be quite a few releases as we actively squash bugs. If you find any, please let us know

For others reading this, here's some screenshots and a work around if you have appropriate rights

Download and Install Data Curator
Attempt to run

Go to the Applications folder in Finder
Right Click Data Curator and choose Open

Choose Open and Data Curator opens

1.0.0 release is code-signed for both windows and mac


Proposal: Enable web planner debug unless explicitly disabled

@mmandlis Scott has suggested a change and I made it, but he's now on vacation I believe. Could PTAL?


PR for #11: enable option addabsorb when there are proxies

Closes #11
Please, also check the new example added to test.do

Summary: In this issue we fixed a bug that did not allow the usage of the addabsorb' option in iv estimation with proxies and reghdfe'


SOLR-17084: Don't return full list of zombie in Exception

https://issues.apache.org/jira/browse/SOLR-17084
Description
Exceptions returned by LBSolrClient can become very large. Building and returning them can consume large amount of ressources.
Solution
Exceptions should not contain the full list of zombie replicas but only its count.
Tests
No tests added since the change is really simpl
Checklist
Please review the following and check all that apply:

[X] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[X] I have created a Jira issue and added the issue ID to my pull request title.
[X] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[X] I have developed this patch against the main branch.
[X] I have run ./gradlew check.
[ ] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

Cool; can you please add a CHANGES.txt entry to the 9.5 section... I suppose as a Bug but I could also see this as an Improvement or Optimization if you prefer.  It's sort of a "scale bug" but one might say there is no such thing; it's an optimization.  Shrug.  I guess I prefer Optimization but I'll let you pick.
Proposed text: "LBSolrClient (used by CloudSolrClient) can potentially return a VERY long error message if it can't route a request when there are many cores tracked as not live AKA zombies.  Just return the count of such cores instead of printing them.

update the CHANGES.txt. My PR is against main. I suppose you want to also merge in 9.5 right ?

I looked into the one test failure and I filed an issue to track: https://issues.apache.org/jira/browse/SOLR-17092


Fix smoothing code

What kind of change does this PR introduce?
Fixes an error in smoothing code
Can it be referenced to an Issue? If so what is the issue # ?
#478, #481
How can we test it?
See #478.
Summary
#481 pointed out that smoothing was not working with video, and I think this should fix that, since it was causing the marker controls to error out.
Does this PR introduce a breaking change?
No, bugfix.
Other information
The code was checking if this.parameters.smooth in order to set up this.smoothMatrices, but it was doing it before setParameters ran, and this.smoothMatrices never got set up.
Apologies for spelling in commit messages, I'm tired xD

Hi @andreyrd  I just tested,for me problem still the same.

Do you have a full example you can post somewhere maybe?

https://github.com/stemkoski/AR-Examples,here is the Source code @andreyrd

The video example doesn't work for me at all in that repository, even without updating to this new AR.js with smoothing.
I'm not really sure how you're using the smoothing build with those examples, since those examples include a very old version of AR.js and only pieces of it.
Here's my example with latest version of AR.js: https://accurate-cuckoo.glitch.me
Note that autoplay will not work on iOS due to Webkit restrictions: https://webkit.org/blog/6784/new-video-policies-for-ios/
You will need to add some sort of user interaction that causes the video to begin playing, because Webkit will not autoplay a video that is not in the viewport.

@andreyrd Is that OK to share your code of your example,

@andreyrd I would love to try smoothing on one of my projects. I also need to deploy on a web platform so I was wondering how to include the dev branch with your code in my http page instead of the regular ar.js src file (src="https://jeromeetienne.github.io/AR.js/aframe/build/aframe-ar.js")
I am using 3D models with text on them so the shaking is way too intense to read them properly.

Open a new issue instead of commenting on a specific PR pleaes @Sylfschiffer - otherwise stuff will get lost here.

@jamess922 that file is just a webpack build of the latest AR.js, nothing extra.
The actual marker and video setup is in the HTML: https://glitch.com/edit/#!/accurate-cuckoo

@jamess922 Have you had any luck with this? Would like to get this merged as it should at least fix smoothing in general, not just with video.

@andreyrd   Yes   It's working fine with iphone 7 with the smoothing ,but  when i use an  android cellphone to test ,it's looks get much more jittery than an  IOS cellphone,

@andreyrd I ran your code example on my android (android 9), autoplay is not working.
Also, if you can provide me an example (on glitch is ok) without the parameter, so as using the 'actual' AR.js, I can see enhancements more rapidly. thanks for you work :)

@andreyrd  Today i just add  smooth function to a JS file,try to merge two JS files to one,but failed,

@jamess922 that file is just a webpack build of the latest AR.js, nothing extra.

@andreyrd maybe i get the worry AR.js ,so could you give me a link of the latest AR.js you used,so i could try again

The video example doesn't work for me at all in that repository, even without updating to this new AR.js with smoothing.
I'm not really sure how you're using the smoothing build with those examples, since those examples include a very old version of AR.js and only pieces of it.
Here's my example with latest version of AR.js: https://accurate-cuckoo.glitch.me
Note that autoplay will not work on iOS due to Webkit restrictions: https://webkit.org/blog/6784/new-video-policies-for-ios/
You will need to add some sort of user interaction that causes the video to begin playing, because Webkit will not autoplay a video that is not in the viewport.

Yes, i do it like you say, but now i havent sound on my video. Video works fine, but MUTED. How turn on audio on video?

@nicolocarpignoli
I think autoplay will not work at all without user interaction, since to the HTML renderer, the video is out of the viewport. (It's being copied into 3D space by Three.js) I can't do autoplay on Android 8 or iOS.
Here is a glitch without smoothing parameter set (so it defaults to false): https://mountain-relative.glitch.me
@jamess922 Build from commit 4669d09  https://gist.github.com/andreyrd/243853bebf582963af4f8419a4f387ff
@SerkaFox If you are starting the video with a user interaction, then you might as well remove the "muted" parameter.

All this said...
The only thing this PR is doing is fixing a JavaScript error that may have been preventing other code, maybe code that starts playing a video, from executing. The previous version of smoothing was trying to read this.parameters.smooth before any parameters were pulled in. This PR fixes that.
Any discussion related to video autoplay should be kept in #481 or #472. And as #472 shows, this problem exists even in 1.6.2.
Just want to untangle the discussion a bit :)

Yea, you're right, better to keep specific autoplay video discussions elsewhere.  For me it is ok, merging

Hi, I'm trying to play video on Web AR. Its working fine for Android but for IOS only black screen appears (video don't play). Can anybody help me to figure out this issue? I will be really thankful for this... Thanks


TI-369 Update metadata for instance_types with deleted index

Lets update the changelog file with
v6.10.0 / 2018-08-24

updated for deleted instance_types

@marcodominguez Done!

LGTM


docs: remove unnecessary comment in README

Description
In the Examples section, the React (with CSS Modules) example mentions a disclaimer comment that isn't relevant for this example.

Additional context
The comment states // ⚠ Disclaimer: Use of Tailwind CSS is optional although example is illustrating CSS modules usage.

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[x] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Follow the Style Guide.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).

Why so? The codeblock below it uses tailwind classnames 🙂

if i'm not mistaken this particular example is only using CSS modules, not Tailwind classes:
import {
  base,
  primary,
  secondary,
  small,
  medium,
  primaryMedium,
} from "./button.css";

Ah my apologies, I was looking at the wrong part of the readme 😄

Ah my apologies, I was looking at the wrong part of the readme 😄

no worries, i wasn't able to link more precisely to the particular example :)

Good spot, cheers @williamhzo!


When drag the div sometime drag-active class is not applied

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
When dragging the div sometimes the drag-active class is not applied. Normal drag & drop is working fine in the drag-drop zone.
and I noticed when we drag the div drag-active class is applied and I already applied some CSS on the drag-active class of div but sometimes that CSS is also not so that I can say here drag-active class is missing.
Here is the snap which is working fine : https://prnt.sc/23osluv
Not working properly please check to snap : https://prnt.sc/23osum9
And because of an above issue as I think dropzone issue occurred like(When you move a div from 1st left and then right then ui break) : https://prnt.sc/23ot3jc
Reproduction
Steps to reproduce:
1.
2.
Expected Behavior
https://prnt.sc/23osluv
Actual Behavior
https://prnt.sc/23osum9
Environment

Angular: 8.0.2
CDK/Material:8.2.3
Browser(s):Chrome
Operating System (e.g. Windows, macOS, Ubuntu):Windows

There is no drag-active class in our library. Are you sure that this isn't coming from somewhere in your own code?
The screenshots aren't enough to be able to investigate the issue. Can you post an isolated example that shows it breaking?
You're using an old version of Angular and the CDK. Have you tried updating to a newer one?

Hi @crisbeto thank you for your reply.
I tried to update the angular/CDK version but not working.
https://prnt.sc/23ud3y6
Normal drag div : https://prnt.sc/23ubybe
When dragging the div : https://prnt.sc/23uc652
Sometimes when dragging the card facing issue like https://prnt.sc/23uckfi
Note: I prepare a demo and will share it with you for more information.
Thanks

The drag-active class isn't something that we add though. All of the classes added by the CDK start with cdk-. You should look at what place in your own codebase is adding the class. You could also try using the cdk-drag-dragging which does the same.

Closing this issue due to no recent activity, if this is still an issue please create a new issue with a reproduction.


Upgrade or replace prototype_legacy_helper

This was a rails 2 plugin that was made to work with rails 3... should we dump prototype completely or will this work with Rails 4?
See: https://github.com/ManageIQ/manageiq/blob/897e5ade1952756a57d6c16538cdaa6528424431/vmdb/config/initializers/rails2_plugins.rb
https://github.com/ManageIQ/manageiq/blob/897e5ade1952756a57d6c16538cdaa6528424431/vmdb/lib/prototype_legacy_helper/lib/prototype_legacy_helper.rb
And:
https://github.com/ManageIQ/manageiq/blob/897e5ade1952756a57d6c16538cdaa6528424431/vmdb/Gemfile#L10

@dclarizio If this issue is resolved, please close with comment.


Question about HelmRelease Automation

Hi,
I was just thinking how i can better "sell" flux2 to my team of developers who are mainly using Helm for installing their workloads  in the cluster
Note that with version: ">=1.0.0-alpha" we configure Flux to automatically upgrade the HelmRelease to the latest chart version including alpha, beta and pre-releases.
I am curious how would the above actually works? Could it be a automated Pull/Merge request that is created when a container image is updated? Or Flux will automatically pull the latest tags/version based on the interval configured.
Thanks!

Thanks for submitting a question. With HelmRelease automation, no commits are made. There are a number of reasons for this, but I think the strongest explanation is that a Helm release upgrade can fail, with configurable retry behavior, and committing a change to git cannot happen in a reasonable way that is consistent with how Flux's image update automation does commit back to the git repository.
Helm update automation doesn't simply bump the image version, it's watching for new chart releases and upgrading the chart. Semantic versioning is best applied here, since some chart changes may require manual intervention to upgrade, and the major version number in a SemVer chart version is meant to be used to signal when that has happened.
https://fluxcd.io/docs/use-cases/helm/#automatic-release-upgrades
This works altogether differently than Image Update Automation, even though both can be driven by semver. When Flux's image automation controller updates a deployment's podspec with a new image, it does this as the first step to applying the change to the cluster. The deployment update can fail later for any number of reasons (image which is deleted, image which fails to start, or crashes before becoming ready), but importantly Flux can apply the change to the cluster and it will not be reverted out from under the Flux kustomize machinery by any other process. We say that Git is the single source of truth.
That deployment update will keep retrying the configuration you provided, usually leaving the old pods until success, or in production an alert is perhaps raised indicating a stuck deployment, that someone can notice and handle as an incident. To undo this, they can disable the update automation and revert the commit, then investigate what went wrong in the latest image and produce a new one before re-enabling the update automation. This process or a similar one is described in incident management.
Helm releases are a bit more complicated. Helm doesn't just apply the template to the cluster and wipe its hands, walking away, it uses health checking by default. It tracks every resource in the release and Helm Controller uses the behavior of the --wait flag to determine if everything in the release finally came out OK (load balancers provisioned, deployments ready, jobs succeeded, etc.)
If the helm created resources fail to become ready, depending on the configuration of the HelmRelease, it may be reverted or uninstalled, or tried again a configurable number of times before "remediating" with a revert; but importantly, with most configurations a failed release will eventually give up and be reverted, Helm Controller knows not to re-attempt it. (To wrap back around to your specific question, what would this process look like if it was driven from Git?  How would Flux know not to retry an upgrade?)
This history is reflected in the output of helm history which comes from the release configmaps (actually secrets) that Helm stores its release information in. So even though we are not completely reflecting these change details in Git, it is a process based on declarative artifacts, and the capability to rollback is maintained another way. Helm Controller uses Helm under the hood, so does all of the same accounting too when making Helm releases from HelmRelease resources.
Hope this explanation helps. In short, Image Update Automation and HelmRelease upgrade automation are totally separate features and they have very different behavior. Here's a pointer to some docs about it: https://fluxcd.io/docs/use-cases/helm/#automatic-release-upgrades

Thank you for the explanation, and i really like the concept of  Release should use a fixed MAJOR chart version, but want the latest MINOR or PATCH versions as they become available. , which provide us the flexibility to automate minor/bug fixes release, while creating another guard rail when we attempt to make major changes that could break things.
I guess i will proceed to deploy fluxv2 to better observe the behaviour. I will post a question  for specific topics if more clarification is needed.


feat: could position widgets at left

Category
Feature
Overview
A switch to switch widgets bar from right to left
New Vars
widgetPosition in config
Screenshot

Code Quality Checklist (Please complete)

[x] All changes are backwards compatible
[x] There are no (new) build warnings or errors
[x] (If a new config option is added) Attribute is outlined in the schema and documented
[ ] (If a new dependency is added) Package is essential, and has been checked out for security or performance
[ ] Bumps version, if new feature added

It's possible to permit it only if some widgets are selected, but it'll not work on old config without re-selecting widgets again.


Google Colab CUDA error

Tried to get this running on Colab, but I'm running into cuda issues...
Link to notebook.
Any ideas on how to fix this? Would be great to just have a Colab to experiment!

error in correlation_forward_cuda_kernel: no kernel image is available for execution on the device
Warning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function) (THPFunction_do_forward at /pytorch/torch/csrc/autograd/python_function.cpp:622)

Traceback (most recent call last):
File "demo_MiddleBury.py", line 131, in
y_s,offset,filter = model(torch.stack((X0, X1),dim = 0))
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/content/DAIN/networks/DAIN.py", line 149, in forward
self.forward_flownets(self.flownets, cur_offset_input, time_offsets=time_offsets),
File "/content/DAIN/networks/DAIN.py", line 205, in forward_flownets
temp = model(input)  # this is a single direction motion results, but not a bidirectional one
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/content/DAIN/PWCNet/PWCNet.py", line 220, in forward
corr6 = self.corr(c16, c26)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/content/DAIN/PWCNet/correlation_package_pytorch1_0/correlation.py", line 59, in forward
result = CorrelationFunction(self.pad_size, self.kernel_size, self.max_displacement,self.stride1, self.stride2, self.corr_multiply)(input1, input2)
File "/content/DAIN/PWCNet/correlation_package_pytorch1_0/correlation.py", line 27, in forward
self.pad_size, self.kernel_size, self.max_displacement,self.stride1, self.stride2, self.corr_multiply)

RuntimeError: CUDA call failed (correlation_forward_cuda at correlation_cuda.cc:80)
frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x33 (0x7fe6bc85e193 in /usr/local/lib/python3.6/dist-packages/torch/lib/libc10.so)
frame #1: correlation_forward_cuda(at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, at::Tensor&, int, int, int, int, int, int) + 0x628 (0x7fe6b8f59ad8 in /usr/local/lib/python3.6/dist-packages/correlation_cuda-0.0.0-py3.6-linux-x86_64.egg/correlation_cuda.cpython-36m-x86_64-linux-gnu.so)
frame #2:  + 0x1bd3a (0x7fe6b8f69d3a in /usr/local/lib/python3.6/dist-packages/correlation_cuda-0.0.0-py3.6-linux-x86_64.egg/correlation_cuda.cpython-36m-x86_64-linux-gnu.so)
frame #3:  + 0x18880 (0x7fe6b8f66880 in /usr/local/lib/python3.6/dist-packages/correlation_cuda-0.0.0-py3.6-linux-x86_64.egg/correlation_cuda.cpython-36m-x86_64-linux-gnu.so)
frame #4: python3() [0x50ac25]

i have same issues
error in correlation_forward_cuda_kernel: no kernel image is available for execution on the device
RuntimeError: CUDA call failed (correlation_forward_cuda at correlation_cuda.cc:80)

fixed this issues by setting nvcc '-gencode', 'arch=compute_70,code=compute_70'
GTX 2080Ti
python 3.6
torch 1.0.1
cuda 9.0
cudnn 7.4

Yeah we waiting for colab version, Goodluck.

If anyone succeeds with Google Colab, please share working 'notebook'
BIG thanks in advance :)

Mine seems to work just following the instructions: https://colab.research.google.com/drive/1hkPQQNRH1ykKJN6V7tTiGnZOHWm7JRdr
They must have updated the code.

@btahir Thanks for sharing this link!
For last two days I was trying to make it work. Unfortunately I always got some trouble. The best I could get was partially working first demo, processing only 10th and 11th frame of randomly chosen part of MiddleBurry image set (with Your CV2 mod). It was producing frame between 10&11, but stopping with error after that each run. What is strange, sometimes it failed in the beginning, sometimes it partially worked. Like each run had SOME chance to partially succeed.
I hope someone can make a tutorial for dumb-asses like me how to run DAIN on Google Colab notebook. DAIN-APP is no go for me, I don't have NVidia GPU. I hoped I could use DAIN for my pixelart work.
Sorry for a lot of off-topic, won't happen again :)

Is there anyone who has used the TPU on the Google Colab to run this program?

Mine seems to work just following the instructions: https://colab.research.google.com/drive/1hkPQQNRH1ykKJN6V7tTiGnZOHWm7JRdr
They must have updated the code.

Is there anyone who has used the TPU on the Google Colab to run this program?

Follow this colab, but Install scipy 1.0.0 and remove the %%%writefile cell.

It really depends which GPU is used by colab in the backend.
In my case its one with Turing architecture (like Tesla T4), in which case the NVCC compiler arguments have to be adjusted in the packages. ( Maybe in the future these packages detect that at compile time ;)
Anyway if you don't know how to do it, have a look at my fork as an example:
https://github.com/whplh/DAIN. There is a colab file too. But better write your own. =)
Cheers and happy coding.

How to use this video for this project？
(I have no programming experience:((

@tamu520 - there's a very early version of it packaged as an app here - https://grisk.itch.io/dain-app
That might be easier for you.

@Gunslap Thanks for the answer, but I am referring to how to test my video in a project in Goole Colab

Hi! We've made some progress on this front. The latest version of a working Colab notebook can be found here: https://github.com/AlphaGit/DAIN/blob/master/Colab_DAIN_alpha.ipynb
Once we get it updated on the upstream repo (StylerDollar's one), we will submit a PR for this repo. In the meantime, you can upload that notebook manually and change cell 5 so that it uses my repo, which has the latest.

@AlphaGit Thanks for sharing, but sometimes '# Interpolation' will give an error

@AlphaGit
On your notebook, following the steps on a local machine, I face the following error:
File "/home/user/DAIN/PWCNet/correlation_package_pytorch1_0/correlation.py", line 4, in
import correlation_cuda
ModuleNotFoundError: No module named 'correlation_cuda'
And I believe %shell commands don't work locally, any suggestions regarding what to do? I am on CUDA 10, RTX 2080Ti Python 3.6 PyTorch 1.1.0.
(Also, I'm sorry if this isn't the right place to ask this question)

@tamu520 Kind of depends what the error is. If you're getting that "No module named correlation_cuda", it means you missed running the build cell.
@SreeHarshaNelaturu You might be missing the step to build the modules that DAIN has. That's the cell that has the warning about taking long. Yes, using ! might be what you're looking for.

@AlphaGit Thanks a bunch for sharing! But (like probably everyone here...) I've got a problem. When I try to check the GPU with
!nvidia-smi --query-gpu=gpu_name,driver_version,memory.total --format=csv
I always get the message:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
I don't understand it, because I'm using a normal Google Colab Notebook. Sorry if it is something very obvious but I'm no expert here.
Thanks in advance!

In the runtime menu, could you check if the hardware accelerator is set to
GPU, that might be the issue.
On Tue, Apr 14, 2020 at 12:49 PM Patatoide<EMAIL_ADDRESS>wrote:

@AlphaGit https://github.com/AlphaGit Thanks a bunch for sharing! But
(like probably everyone here...) I've got a problem. When I try to check
the GPU with
!nvidia-smi --query-gpu=gpu_name,driver_version,memory.total --format=csv
I always get the message:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA
driver. Make sure that the latest NVIDIA driver is installed and running.
I don't understand it, because I'm using a normal Google Colab Notebook.
Sorry if it is something very obvious but I'm no expert here.
Thanks in advance!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/baowenbo/DAIN/issues/44#issuecomment-613269510, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNIFYZL22RY52SI3O5GUWTRMQE7JANCNFSM4KQGX4RA
.

@SreeHarshaNelaturu thank you! It wasn't set before, but I just activated it, tried again and it worked.

Sorry to bother again, but...
I've already tested the Notebook on a short video and it went smooth start to finish, however, now I'm trying again, but it sends me an error when I try to do the last step, i think it doesn't recognize the Google Drive path where the output frames are (already checked, it's all there) Could somebody give me a hand? This is the error that comes out:
`%cd '/content/gdrive/My Drive/DAIN/tmp'
%shell ffmpeg -y -r 120 -f image2 -pattern_type glob -i '*.png' '/content/gdrive/My Drive/InputVideo/felixfinal.mp4'
[Errno 2] No such file or directory: '/content/gdrive/My Drive/DAIN/tmp'
/content/DAIN
ffmpeg version 3.4.6-0ubuntu<IP_ADDRESS> Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
configuration: --prefix=/usr --extra-version=0ubuntu<IP_ADDRESS> --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil      55. 78.100 / 55. 78.100
libavcodec     57.107.100 / 57.107.100
libavformat    57. 83.100 / 57. 83.100
libavdevice    57. 10.100 / 57. 10.100
libavfilter     6.107.100 /  6.107.100
libavresample   3.  7.  0 /  3.  7.  0
libswscale      4.  8.100 /  4.  8.100
libswresample   2.  9.100 /  2.  9.100
libpostproc    54.  7.100 / 54.  7.100
[image2 @ 0x55a91d29c000] Could not open file : .png
[image2 @ 0x55a91d29c000] Could not find codec parameters for stream 0 (Video: png, none(pc)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, image2, from '.png':
Duration: 00:00:00.01, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, none(pc), 120 tbr, 120 tbn, 120 tbc
Output #0, mp4, to '/content/gdrive/My Drive/InputVideo/felixfinal.mp4':
Output file #0 does not contain any stream
CalledProcessError                        Traceback (most recent call last)
 in ()
1 get_ipython().magic("cd '/content/gdrive/My Drive/DAIN/tmp'")
----> 2 get_ipython().magic("shell ffmpeg -y -r 120 -f image2 -pattern_type glob -i '*.png' '/content/gdrive/My Drive/InputVideo/felixfinal.mp4'")
3 frames
/usr/local/lib/python3.6/dist-packages/IPython/core/interactiveshell.py in magic(self, arg_s)
2158         magic_name, _, magic_arg_s = arg_s.partition(' ')
2159         magic_name = magic_name.lstrip(prefilter.ESC_MAGIC)
-> 2160         return self.run_line_magic(magic_name, magic_arg_s)
2161
2162     #-------------------------------------------------------------------------
/usr/local/lib/python3.6/dist-packages/IPython/core/interactiveshell.py in run_line_magic(self, magic_name, line)
2079                 kwargs['local_ns'] = sys._getframe(stack_depth).f_locals
2080             with self.builtin_trap:
-> 2081                 result = fn(*args,**kwargs)
2082             return result
2083
/usr/local/lib/python3.6/dist-packages/google/colab/_system_commands.py in _shell_line_magic(line)
68   """
69   result = _run_command(line, clear_streamed_output=False)
---> 70   result.check_returncode()
71   return result
72
/usr/local/lib/python3.6/dist-packages/google/colab/_system_commands.py in check_returncode(self)
136     if self.returncode:
137       raise subprocess.CalledProcessError(
--> 138           returncode=self.returncode, cmd=self.args, output=self.output)
139
140   def repr_pretty(self, p, cycle):  # pylint:disable=unused-argument
CalledProcessError: Command 'ffmpeg -y -r 120 -f image2 -pattern_type glob -i '*.png' '/content/gdrive/My Drive/InputVideo/felixfinal.mp4'' returned non-zero exit status 1.`
As a short note, Drive was succesfully mounted at /content/gdrive.

[Errno 2] No such file or directory: '/content/gdrive/My Drive/DAIN/tmp'

Are you sure that directory exists? The error seems to imply it didn’t. Make sure you have the variables correctly set up.

Hello! Google Colab has been down for two days now. Endlessly loading the item "Install dependencies". Before that, everything worked.

Yeah I'm getting this error on styler00dollar's Colab now:
/content/DAIN
Traceback (most recent call last):
  File "colab_interpolate.py", line 7, in <module>
    import networks
  File "/content/DAIN/networks/__init__.py", line 1, in <module>
    from .DAIN import DAIN
  File "/content/DAIN/networks/DAIN.py", line 4, in <module>
    from my_package.FilterInterpolation import  FilterInterpolationModule
  File "/content/DAIN/my_package/FilterInterpolation/__init__.py", line 1, in <module>
    from .FilterInterpolationModule import *
  File "/content/DAIN/my_package/FilterInterpolation/FilterInterpolationModule.py", line 6, in <module>
    from .FilterInterpolationLayer import FilterInterpolationLayer,WeightLayer, PixelValueLayer,PixelWeightLayer,ReliableWeightLayer
  File "/content/DAIN/my_package/FilterInterpolation/FilterInterpolationLayer.py", line 4, in <module>
    import filterinterpolation_cuda as my_lib
ModuleNotFoundError: No module named 'filterinterpolation_cuda'

Hi @alvisanovari -- that error usually means that the module compiled by the previous cells is not available. Make sure to run them all in order. If you keep receiving those issues, consider restarting the notebook and starting from scratch.

PS: I have been able to verify that with the linked notebook the build process doesn't quite finish. I'll work on it later and submit a PR. I'll provide more info here later.

@alvisanovari @AlphaGit
I got submerged by the same error, which my_package incomplete compiled, not only on Colab but also locally.
However, it's awkward that I went successfully many times one month ago.
It makes me suspect if any dependencies (PyTorch/CUDA/GCC related) upgrading causes this failure.
It'll be useful if you take a fresh test-cycle and prove current codes right or wrong with listed dependencies.
Many thanks.

I also tried creating conda env from environment.yml, but this fails too :(

@alvisanovari I managed to get it working after also getting that error. Im still testing and cleaning up the colab, will share it when I'm done.

It seems Google Collab upgraded to pytorch 1.5, which breaks the modules build.
Add this cell and it should work. I still cannot get to submit a right PR, but I was able to give it a try and this, before the build cell, fixes it:
!pip install torch==1.4.0

@AlphaGit Thank you! I can get it to run now! The output video seems to be the same as the input though? Maybe I am missing something.

It seems Google Collab upgraded to pytorch 1.5, which breaks the modules build.
Add this cell and it should work. I still cannot get to submit a right PR, but I was able to give it a try and this, before the build cell, fixes it:
!pip install torch==1.4.0
I dunno where to add the Cell, help :/

im getting some errors, like "resize_hotfix" is not defined and others :/

@AlphaGit
Running !pip install torch==1.4.0 before build makes the build somewhat more successful
(
somewhat because I still get errors like:
./build.sh: line 4: activate: No such file or directory,
a lot of is deprecated [-Wdeprecated-declarations],
and in the end, after best.pth is downloaded successfully:
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/cups/libcupsimage2_2.2.7-1ubuntu2.7_amd64.deb  404  Not Found [IP: <IP_ADDRESS> 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/pulseaudio/libpulsedsp_11.1-1ubuntu7.4_amd64.deb  404  Not Found [IP: <IP_ADDRESS> 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/pulseaudio/pulseaudio-utils_11.1-1ubuntu7.4_amd64.deb  404  Not Found [IP: <IP_ADDRESS> 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

)
Using Tesla P100-PCIE-16GB, 418.67, 16280 MiB, I also get:
in [6] # ffmpeg extract /bin/sh: 1: identify: not found detected,
in [9] # Interpolation:
Interpolate 9 frames
Traceback (most recent call last):
  File "colab_interpolate.py", line 112, in <module>
    y_s, offset, filter = model(torch.stack((X0, X1),dim = 0))
  _. . ._
RuntimeError: cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you passed in a non-contiguous input.

Recreating error: I'm running the notebook step by step as instructed.

According to the following settings, I successfully used DAIN on Colab today.
# Install PyTorch 1.4.0 with CUDA 10.0
!pip install torch==1.4.0+cu100 torchvision==0.5.0+cu100 -f https://download.pytorch.org/whl/torch_stable.html
# Then set the softlink to CUDA 10.0
!sudo ln -snf /usr/local/cuda-10.0 /usr/local/cuda
# After that we can perform a complete compilation.

You are welcome.

According to the following settings, I successfully used DAIN on Colab today.
# Install PyTorch 1.4.0 with CUDA 10.0
!pip install torch==1.4.0+cu100 torchvision==0.5.0+cu100 -f https://download.pytorch.org/whl/torch_stable.html
# Then set the softlink to CUDA 10.0
!sudo ln -snf /usr/local/cuda-10.0 /usr/local/cuda
# After that we can perform a complete compilation.

You are welcome.

I tried that, and it works, thz :)
But for every single frame it interpolates, it spits these into the console output as well:
/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function) /pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function) /pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function) /pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function) /pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function) /pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function) /pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function) /pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function) /pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function) /pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
:(

Hello, i dunno what i have to put on those lines
FRAME_INPUT_DIR = '/content/DAIN/input_frames'
FRAME_OUTPUT_DIR = '/content/DAIN/output_frames'
Thanks in advance.

Can someboty make a video tutorial on this please -_-

I dunno how, but it works xD, thanks to you all people :)

@BrokenSilence Those are warnings, meaning that it doesn't prevent the code from running. I did take a look at that long time ago and I wasn't able to fix it, and also I didn't find an easy way to hide it. I agree it is a bit noisy.
@0nepixel I'm glad you got it working. The most difficult part is to understand how to operate a notebook, but then, it's just about reading, modifying variables, and running the cells in order. If you'd like to do the video tutorial, we'd very much appreciate it!

My first language is spanish :/, maybe a tutorial step by step using images.

@0nepixel Also mine! =D I lack video editing skills, but if you need someone to narrate over a video, count me in, I do have audio editing experience.

@0nepixel Also mine! =D I lack video editing skills, but if you need someone to narrate over a video, count me in, I do have audio editing experience.
AlphaGit, r u a Godot user?, your nick name sounds so familiar xD

@0nepixel

AlphaGit, r u a Godot user?, your nick name sounds so familiar xD

I am not. If you’d like to continue the conversation you can reach out to me at<EMAIL_ADDRESS>— that way we won’t create unnecessary chatter for all other members subscribed to this issue.
See ya around!

@BrokenSilence
It's just some standard deprecated user warning of PyTorch, you can easily get rid of it by -W ignore.
Or, you are welcome to see what I do to it in MVIMP.

CAN SOMEONE PLEASE HELP ME?
When I run it Colab version,

Interpolation
%shell mkdir -p '/content/gdrive/My Drive/DAIN/frames-out'
%cd /content/DAIN
!python colab_interpolate.py --netName DAIN --time_step 49.94 --start_frame 1 --end_frame 450 --frame_input_dir '/content/gdrive/My Drive/DAIN/frames-in' --frame_output_dir '/content/gdrive/My Drive/DAIN/frames-out'

I'm encountering with this error;

/content/DAIN
revise the unique id to a random numer 76481
Namespace(SAVED_MODEL=None, alpha=[0.0, 1.0], arg='./model_weights/76481-Wed-May-20-16:48/args.txt', batch_size=1, channels=3, ctx_lr_coe=1.0, datasetName='Vimeo_90K_interp', datasetPath='', dataset_split=97, debug=False, depth_lr_coe=0.001, dtype=<class 'torch.cuda.FloatTensor'>, end_frame=450, epsilon=1e-06, factor=0.2, filter_lr_coe=1.0, filter_size=4, flow_lr_coe=0.01, force=False, frame_input_dir='/content/gdrive/My Drive/DAIN/frames-in', frame_output_dir='/content/gdrive/My Drive/DAIN/frames-out', log='./model_weights/76481-Wed-May-20-16:48/log.txt', lr=0.002, netName='DAIN', no_date=False, numEpoch=100, occ_lr_coe=1.0, patience=5, rectify_lr=0.001, save_path='./model_weights/76481-Wed-May-20-16:48', save_which=1, seed=1, start_frame=1, time_step=49.94, uid=None, use_cuda=True, use_cudnn=1, weight_decay=0, workers=8)
cudnn is used
/usr/local/lib/python3.6/dist-packages/torch/nn/modules/upsampling.py:129: UserWarning: nn.UpsamplingNearest2d is deprecated. Use nn.functional.interpolate instead.
warnings.warn("nn.{} is deprecated. Use nn.functional.interpolate instead.".format(self.name))
/usr/local/lib/python3.6/dist-packages/torch/nn/modules/upsampling.py:129: UserWarning: nn.Upsample is deprecated. Use nn.functional.interpolate instead.
warnings.warn("nn.{} is deprecated. Use nn.functional.interpolate instead.".format(self.name))
/usr/local/lib/python3.6/dist-packages/torch/nn/functional.py:2423: UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
"See the documentation of nn.Upsample for details.".format(mode))
Traceback (most recent call last):
File "colab_interpolate.py", line 112, in
y_s, offset, filter = model(torch.stack((X0, X1),dim = 0))
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/content/DAIN/networks/DAIN.py", line 165, in forward
cur_offset_output = [cur_offset_outputs[0][0], cur_offset_outputs[1][0]]
IndexError: list index out of range

@xstrauss This error ("IndexError: list index out of range" in DAIN.py), seems to be unrelated to the issue being discussed (Google Colab compatibility). Would you mind to open another issue in GitHub for that? If you can, also include the input video and the configuration you're trying to use. If we're able to reproduce, we might get to the underlying problem.

@xstrauss This error ("IndexError: list index out of range" in DAIN.py), seems to be unrelated to the issue being discussed (Google Colab compatibility). Would you mind to open another issue in GitHub for that? If you can, also include the input video and the configuration you're trying to use. If we're able to reproduce, we might get to the underlying problem.
/EDIT: Nevermind, I just saw you did. It's preferable to mention people instead of spamming with multiple questions -- that is distracting to the contributors involved. I'll check it out and see if I can help.
For readers, the issue reported by @xstrauss is #81.

Sorry but I just need answer.

According to the following settings, I successfully used DAIN on Colab today.
# Install PyTorch 1.4.0 with CUDA 10.0
!pip install torch==1.4.0+cu100 torchvision==0.5.0+cu100 -f https://download.pytorch.org/whl/torch_stable.html
# Then set the softlink to CUDA 10.0
!sudo ln -snf /usr/local/cuda-10.0 /usr/local/cuda
# After that we can perform a complete compilation.

You are welcome.

I tried that, and it works, thz :)
But for every single frame it interpolates, it spits these into the console output as well:

/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
/pytorch/torch/csrc/autograd/python_function.cpp:622: UserWarning: Legacy autograd function with non-static forward method is deprecated and will be removed in 1.3. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)

:(

Yes, it works with pytorch 1.4.0 and cuda 10.0.

GUYS I HAVE THE SOLUTION FOR THIS PROBLEM
CODE:
Detecting FPS of input file.
%shell yes | cp -f /content/gdrive/MyDrive/input.mp4 /content/DAIN/
import os
filename = os.path.basename(INPUT_FILEPATH)
import cv2
cap = cv2.VideoCapture(f'/content/DAIN/{filename}')
fps = cap.get(cv2.CAP_PROP_FPS)
print(f"Input file has {fps} fps")
if(fps/TARGET_FPS>0.5):
print("Define a higher fps, because there is not enough time for new frames. (Old FPS)/(New FPS) should be lower than 0.5. Interpolation will fail if you try.")

it is showing that :
Looking in links: https://download.pytorch.org/whl/torch_stable.html
ERROR: Could not find a version that satisfies the requirement torch==1.4.0+cu100 (from versions: 1.11.0, 1.11.0+cpu, 1.11.0+cu102, 1.11.0+cu113, 1.11.0+cu115, 1.11.0+rocm4.3.1, 1.11.0+rocm4.5.2, 1.12.0, 1.12.0+cpu, 1.12.0+cu102, 1.12.0+cu113, 1.12.0+cu116, 1.12.0+rocm5.0, 1.12.0+rocm5.1.1, 1.12.1, 1.12.1+cpu, 1.12.1+cu102, 1.12.1+cu113, 1.12.1+cu116, 1.12.1+rocm5.0, 1.12.1+rocm5.1.1, 1.13.0, 1.13.0+cpu, 1.13.0+cu116, 1.13.0+cu117, 1.13.0+cu117.with.pypi.cudnn, 1.13.0+rocm5.1.1, 1.13.0+rocm5.2, 1.13.1, 1.13.1+cpu, 1.13.1+cu116, 1.13.1+cu117, 1.13.1+cu117.with.pypi.cudnn, 1.13.1+rocm5.1.1, 1.13.1+rocm5.2, 2.0.0, 2.0.0+cpu, 2.0.0+cpu.cxx11.abi, 2.0.0+cu117, 2.0.0+cu117.with.pypi.cudnn, 2.0.0+cu118, 2.0.0+rocm5.3, 2.0.0+rocm5.4.2, 2.0.1, 2.0.1+cpu, 2.0.1+cpu.cxx11.abi, 2.0.1+cu117, 2.0.1+cu117.with.pypi.cudnn, 2.0.1+cu118, 2.0.1+rocm5.3, 2.0.1+rocm5.4.2)
ERROR: No matching distribution found for torch==1.4.0+cu100
How to resolve this??


🚀 Feature Request: setting environment variable for pages

Describe the solution
I'm currently migrating some worker sites that feels more appropriate for pages.
I have a following toml file for one of the worker sites:
name = "sample-page"

compatibility_date = "2022-05-28"

[vars]
RELEASE = "unknown" # RELEASE should be injected during prebuild

Which will figure out release version and inject into wrangler.toml during prebuild script.
However according to https://github.com/cloudflare/wrangler2/blob/b2c2c2b86278734f9ddf398dbb93c06ffcc0d5b0/packages/wrangler/src/pages/publish.tsx#L63
The wrangler.toml simply doesn't apply to pages when publishing using wrangler.
According to https://developers.cloudflare.com/workers/wrangler/commands/#pages there are no wrangler command to modify environment variables for a specific cloudflare pages project.
I use wrangler github action because of our monorepo setup, here is our workflow configuration:
name: Deploy to Cloudflare

on:
  push:
    branches:
      - main

jobs:
  deploy:
    runs-on: ubuntu-latest
    name: Deploy
    steps:
      - name: Checkout repo
        uses: actions/checkout@v2
      - name: Filter changes
        uses: dorny/paths-filter@v2
        id: changes
        with:
          filters: |
            sample-page:
              - 'sample-page/**'
      - name: Publish sample-page
        if: steps.changes.outputs.sample-page == 'true'
        uses<EMAIL_ADDRESS>        with:
          workingDirectory: 'sample-page'
          apiToken: ${{ secrets.CF_API_TOKEN }}
          preCommands: npm i && npm run build
          command: pages publish ./public --project-name=sample-page

Thank you in advance for your help.

Dupe of #1178


Improve performance of nAtATime

Not that it's a big deal, but I noticed that this function was originally written so that there would be a pause in between batches. This gives about a 25% performance improvement for npm run index, which is heavily parallel.
Depends on #123.

:+1:


Deploy docs to GitHub Pages

Summary
This PR changes the deploy-docs.yml workflow to deploy the documentation to GitHub Pages to migrate the project away from the qiskit.org domain.
More information about the change and a quick guide to set up GitHub pages can be found at: https://github.com/Qiskit/ecosystem/issues/578
Reminder task for maintainers here to update the doc link in the About text for the repo on the main page once this change happens and the docs are re-deployed . This will need backporting to stable to have it apply to present docs version before it can be re-run.

[ ] Update About text doc link

Once this is done the first section in the README, about installation, will need its link updating.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 90.578%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6470

Relevant Lines:
7143

💛  - Coveralls

Great, thank you @woodsp-ibm! Regarding your question, I guess when you say publish it, you mean to qiskit.org, but correct me if I'm wrong.
We only need the first of the two steps you mentioned. With this workflow, the docs will be deployed to GitHub Pages where the documentation will live, and once this change is done, I will set up the redirects from qiskit.org to the GitHub Pages link we have.

@arnaucasau I was reading it was "deployed" to a gh-pages branch - maybe thats all that there is to it and its live from there and needs no extra step.

Oh, I see what you meant now. Exactly, we only need to deploy to the gh-pages branch, and the publish step is done automatically by a workflow called pages-build-deployment. The only important thing is to set the branch correctly in the settings. Here you can find a short tutorial I wrote: https://github.com/Qiskit/ecosystem/issues/578#issuecomment-1858033321

@arnaucasau  Ok, I ran the workflow, updated the Settings and the docs are now live https://qiskit-community.github.io/qiskit-algorithms/ I guess a redirect for former ecosystem url can be done now.


Parameters are not resolved in logged message

Using the OSGi R7 Logger facade like this logger.info("test: {} {}","arg1","arg2") with log4j2 as back-end result in the following log: test {} {} instead of the expected test arg1 arg2.
Note that it works with one parameter, but failed as soon as the called log method contains more than one arguments (including exception).
Maybe this is related to the fact that the args argument is actually not used in the doLog0 method: link

I can confirm that changing
    Message msg = originalMessage == null ? m_delegate.getMessageFactory().newMessage(message): originalMessage;

to
Message msg = originalMessage == null ? m_delegate.getMessageFactory().newMessage(message, args): originalMessage;

fixes the issue. I can make a PR for this but it seems I am not allowed to push commit.

Fork the repository
Check out your fork
create a branch and push your changes
now you can create a PR

Hmm, something's wrong with the notifications... I didn't get an email about this one. Sorry!
I'm reviewing the pax-logging issues now.

Hmm, something's wrong with the notifications... I didn't get an email about this one. Sorry!
I'm reviewing the pax-logging issues now.


 These changes are not supposed to break anything and follow the same reasoning from https://github.com/cilium/cilium/pull/1801 The goal of these changes is to make debugging via logs easier by making our usage more consistent. Ideally, field names should be used the same way throughout the code and mean the same thing.
The most important things to review are whether the field names make sense in the context they're used, and whether we should introduce new ones to pkg/logfields/logfields.go. I'm also happy to incorporate better messages into this PR :)
I might have been too aggressive by making a logger method bound to endpoint. I'm not sure if the fields reported are always appropriate, but they seemed to be. In particular, I'm not sure if Iteration is relevant, and if I'm reporting it correctly in any case.

I'm adding a WIP, once you make sure the log is being called inside the RLock then you can remove the label

I'm still trying to figure out how to do this well. Unfortunately, we seem to lock the Endpoint somewhat arbitrarily and I need to safely access the struct. In most cases, it is Locked or RLocked, but in the Endpoint.SetIdentity case it is in some callsites and not in one: Daemon.SyncState (which calls syncLabels which calls Endpoint.SetIdentity, https://github.com/cilium/cilium/blob/master/daemon/state.go#L70-L77).
I'll wait on CI to see if I introduced an obvious deadlock, but I need to check all callees to make sure. I'll be back ;)

Ok, this seemed to pass tests. I don't think I've introduced a new deadlock.
@tgraf @aanm Could you take another look, this PR is now bit more complex.
I'll squash this to three commits before merging:
daemon: Daemon.SyncState locks Endpoint to syncLabels
pkg/endpoint: Unexport Endpoint critical path functions
pkg/endpoint: Consistently use logrus fields


Add test case for DashboardUserMapper and fix bugs

Make sure that:

[ yes ] You have read the contribution guidelines.
[ yes ] You submit test cases (unit or integration tests) that back your changes.
[ yes ] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #563 (1212916) into master (dcaf2b7) will increase coverage by 2.10%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #563      +/-   ##
============================================
+ Coverage     20.46%   22.57%   +2.10%
- Complexity      341      375      +34
============================================
  Files           197      197
  Lines          4656     4656
  Branches        496      496
============================================
+ Hits            953     1051      +98
+ Misses         3604     3504     -100
- Partials         99      101       +2

Impacted Files
Coverage Δ
Complexity Δ

...ava/org/dromara/soul/admin/page/PageParameter.java
41.17% <0.00%> (+41.17%)
4.00% <0.00%> (+4.00%)

.../soul/admin/controller/PluginHandleController.java
100.00% <0.00%> (+82.35%)
7.00% <0.00%> (+6.00%)

...omara/soul/admin/service/impl/EnumServiceImpl.java
100.00% <0.00%> (+98.11%)
15.00% <0.00%> (+14.00%)

...a/org/dromara/soul/common/enums/SerializeEnum.java
100.00% <0.00%> (+100.00%)
5.00% <0.00%> (+5.00%)

.../dromara/soul/admin/config/HttpSyncProperties.java
100.00% <0.00%> (+100.00%)
1.00% <0.00%> (+1.00%)

...g/dromara/soul/common/enums/DataEventTypeEnum.java
100.00% <0.00%> (+100.00%)
4.00% <0.00%> (+4.00%)

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 dcaf2b7...1212916. Read the comment docs.


Maybe avoid generating endpoints next to routes

Describe the bug
The situation is a bit tricky, we're currently using/generating SvelteKit Endpoints next to the files, but this can quickly sum up to a lot of files. I don't know if there is a way to avoid generating them while still using the functionality. This should probably belong to Kit, but i'm not sure what a solution in Kit would look like.

I've already tried using different techniques with the handle hook, but all seem wrong.
I've also experimented and looked into if we could solve this with our vite plugin.
Maybe allowing multiple route paths in Kit would help with this issue?

We could also leave it the way it is currently.
Your Example Website or App

Steps to Reproduce the Bug or Issue

Expected behavior
We shouldn't create the endpoints visible to the user.
Screenshots or Videos

Platform

Additional context

Yeah, I have also thought about this issue.
I hid the "unwanted" files in VS Code, however, this is not generalizable to all cases. Additionally, this is also relatively prone to errors, especially if working in teams where a member may edit a generated file and thus causing problems in the long run.

A temporary solution is to edit the vscode settings or create a /.vscode/settings.json file with the following content:
{
    "files.exclude": {
        "src/routes/**/*.ts": true,
        "src/routes/**/*.js": true,
        "src/routes/api/**/*.js": false,
        "src/routes/api/**/*.ts": false
    }
}

The api folder would contain anything that you wan't to handle with Standalone SvelteKit and yes @Acmion this is unfortunate.

Tbf I dont think there’s another way of doing this with sveltekit

Remix added support for Vue, and now have an open PR for Svelte fyi
https://github.com/brophdawg11/remix-routers/pull/9

Would it be possible to leverage virtual modules in a cache for dev?


Feature privaterooms

Description
I added a feature to create a private rooms. for these I added a new component to introduce the password. In the json for rooms I add a new field with the password when you added a new password te roomCard will show the badge private room and solicitate the password to enter inte room
#42

Nice PR @vsergio011
Can you check the code climate and test issues?


Text as ticks in GridSpace

This works:
ims = hv.GridSpace(key_dimensions=['Wavefunction', 'Component'])
for i in range(4):
    for wf, wf_str in zip([wf1, wf2], [1, 2]):
        ims[i, wf_str] = hv.Image(np.random.rand(10, 10))
ims

But I would like to give a str to the Dimension which I here call Component.
ims = hv.GridSpace(key_dimensions=['Wavefunction', 'Component'])
for i in range(4):
    for wf, wf_str in zip([wf1, wf2], ["Lowest", "Highest"]):
        ims[i, wf_str] = hv.Image(np.random.rand(10, 10))
ims

Doesn't work though.

Should be fixed by the commit referenced above. Will close the issue, let us know if you encounter any further issues.


Issues after installing dotnet

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/create
Operating System: windows
After installing dotnet I am facing the following issue.

@NiftyRunner  could you post the results of running dotnet --info and where.exe dotnet?
If your system is x64 and the x86 path returns first, you need to follow these steps to fix the issue:
https://github.com/dotnet/core/issues/5962#issuecomment-780084535

@adamsitnik Thank You the problem is now solved


Fixed iVerilog error on the priority/round-robin arbiter

An iverilog error because reg was used instead of wire in an output connected to an instantiated module.

Thanks. This is something the Verilator linter doesn't catch. I think it's technically legal, but I'm not sure how or when.


Unknown error code

Hello,
Iam trying the attack against version 6.35, but ./btw -i <IP_ADDRESS> returns:
[+] Extracting passwords from <IP_ADDRESS>:8291
[+] Searching for administrator credentials
[-] Failed to find admin creds. Trying default.
[+] Using credentials - admin:
Unknown error code
[-] Login failed.

Looks like it couldn't find defined admin credentials in user.dat and just tried the default. Any chance you can provide a pcap?
Thanks!

It is my personal router and the user admin surely exist.

I'm not disputing that. However, I need a pcap to debug the issue.

in which directory I should find the file?

A pcap is created using tcpdump or wireshark. It captures the network traffic created by PoC.

áaaah ok...
tcpdump -n host <IP_ADDRESS> -i eth0  -w poc.pcap
poc.pcap.zip

Great! I'll take a look at this today and get it fixed up. I deleted your pcap in case it had sensitive password info.

Oops, I should have referenced the fix:
https://github.com/tenable/routeros/commit/b17957d1ba4be2574d81f7292124e27cbbd2f733


Firebase Android Codelab step 13

After initializing FirebaseAnalytics Android Studio warns about missing permissions (ACCESS_NETWORK_STATE, WAKE_LOCK), there is no info about need of adding permissions in codelab.

This issue was moved to firebase/friendlychat-android#10


mongodb: bad interaction with [{ "x": x, "y": y } ...]

This is a problem in the pre-MRA connector. We’ll have to see if it still exists in the new one.
select state, city, [{"pop": pop, "loc": loc} ...] from zips group by state, city

For some reason this ends up generating a plan that groups correctly, but then unwinds and groups incorrectly. The final query takes a long time to run (and is wrong anyway).
(BTW, [ ...] is added in #1449, so this case will fail for other reasons if that hasn’t been merged yet)

@natefaubion Is this a blocker for pivot table?

@jdegoes, as far as I know it is not, but we are currently operating under the assumption that multiple UnshiftArray aggregations will result in arrays that line up (or could be correctly transposed into this form). @sellout mentioned that he believes this is the behavior, but if we wanted to guarantee it, we'd have to use the above form.

Fixed in new Mongo.

Added "status: On hold" - these in case of Mongo means, that these are fixed in new Mongo, but can't be marked as Done/Closed until merge to Master.

verified


chore(Archive/IMO/2024Q2): apply (...).trans instead of suffices (...); exact

I think the point in some of the archive is that they are more readable and less golfed than mathlib. So I don't think this change is a good one.
Let's let @jsm28 decide, as the original author of this file.

I don't think this really harms readability, all you're doing is reordering tactics to avoid writing a goal explicitly.

But avoiding writing the goal explicitly ipso facto reduces readability!

I think the point in some of the archive is that they are more readable and less golfed than mathlib. So I don't think this change is a good one.
Let's let @jsm28 decide, as the original author of this file.

This is a good point.
I didn't want to golf per se; I'd just like to keep suffices to places where it is meaningful, which I believe are places where:
(...)
suffices (...)
. <short proof>
<long proof>

I'd just like to keep suffices to places where it is meaningful, which I believe are places where:

If your objection is that the short and longs proofs are the wrong way around, then the resolution is to swap suffices for have, which preserves the explicit statement.
I think the choice between have/suffices is subjective though, and not tied exclusively to Lean proof length.

I'd just like to keep suffices to places where it is meaningful, which I believe are places where:

If your objection is that the short and longs proofs are the wrong way around, then the resolution is to swap suffices for have, which preserves the explicit statement.
I think the choice between have/suffices is subjective though, and not tied exclusively to Lean proof length.

Ah yes. I think have would be better here. So should I change it to have or close this PR?

I vote close the PR, I suspect Joseph has better things to do than review subjective style changes to his proofs!

I may agree with this change, but yeah, this is bikeshedding.


Barbak's allowedExtensions getter implemented in a Transformer is ignored if isPrimary() is overridden.

This issue was originally filed by<EMAIL_ADDRESS>
When I define both in a Transform class, I see that isPrimary is still called on every available assets (and apply() as well)
  String get allowedExtensions => ".sass .scss";
  Future<bool> isPrimary(Asset input) {
    print(input.id.path)
    return new Future.value(() => !(posix.basename(input.id.path).startsWith('_')))
  }
-> I think isPrimary() should only be called on .sass and .scss file (the extension filter should run first). Does this makes sense? In any case, the documentation in https://www.dartlang.org/tools/pub/transformers/#claim-input-assets should tell that both can't be set.
Right now, allowedExtensions is completely ignored and apply() is called whenever isPrimary is returning True (so, even on a .dart file for instance).
If the change makes sense to you, I can have a look at implementing it.

This issue has been moved to dart-lang/pub#961.


[NEW PAGE] Local Testing with Fake Backends using Qiskit Runtime

The Qiskit fake backends now live in Qiskit Runtime and you can use them with Runtime's "local testing mode". I believe the cloud simulator migration guide will include some info about this but it would be good to have a permanent page in the verify section as well

Do we need a whole new page for this? I'd just point people to the local testing mode section on Get started with Qiskit Runtime

I can just move that section to a new page for a clear split between "run" and "verify".

Will be added with #1023

closed by #1023