You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
As part of testing #1254 , when the InternetSetting dropdown is changed to 'Disable all internet use' on the ParatextRegistration form, after restart, S/R on a project throws an exception in the log. It does not bring up the S/R dialog to display an error.
To Reproduce
Steps to reproduce the behavior:
Temporarily remove %localappdata%/Paratext95/InternetSettings.xml and %localappdata%/Paratext95/RegistrationInfo.xml
Open Paratext 10 Studio and make sure the Paratext Registration Information dialog opens automatically
Enter valid registration info. Dropdown the "Internet Settings" section and change the first dropdown to "Disable all internet use". Save and restart.
Project > Open Scripture Editor > zzz6
zzz6 project > Project > Send/Receive this project
Notice it does not bring up the Send/Receive dialog.
An exception is logged in the main.log file
Sending and receiving Paratext projects failed! System.InvalidOperationException: Bug in Paratext caused attempted access to Internet. Request has been blocked.
at Paratext.Data.InternetAccess.VerifySafety()
at Paratext.Data.Repository.InternetSharedRepositorySource..ctor(ParatextUser authenticationUser, String forcedUri)
at Paranext.DataProvider.Projects.SendReceive.ParatextProjectSendReceiveService.GetSharedRepositorySource() in D:\a\paratext-10-studio\paratext-10-studio\temp-build\paranext-core\c-sharp\Projects\SendReceive\ParatextProjectSendReceiveService.cs:line 516
at Paranext.DataProvider.Projects.SendReceive.ParatextProjectSendReceiveService.SendReceiveProjects(List`1 projectIds) in D:\a\paratext-10-studio\paratext-10-studio\temp-build\paranext-core\c-sharp\Projects\SendReceive\ParatextProjectSendReceiveService.cs:line 174
[/dotnet data provider]
[2024-12-03 11:57:04.784] [debug] JSON-RPC Request error (-32000): Sending and receiving Paratext projects failed! Bug in Paratext caused attempted access to Internet. Request has been blocked. [at C:\Users\rupa_\AppData\Local\Temp\2peiQ959xcSHqxg7cIJYLDmtm4F\resources\app.asar\dist\extension-host\extension-host.js:8:90092]
[2024-12-03 11:57:04.786] [error]
[extension host error]
An unexpected error occurred while executing "command:paratextBibleSendReceive.sendReceiveProjectsByWebViewId" JSON-RPC method: Error: Sending and receiving Paratext projects failed! Bug in Paratext caused attempted access to Internet. Request has been blocked.
at T (C:\Users\rupa_\AppData\Local\Temp\2peiQ959xcSHqxg7cIJYLDmtm4F\resources\app.asar\dist\extension-host\extension-host.js:8:301690)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
[cause]: 'JSON-RPC Request error -32000'
Expected behavior
Open S/R dialog and make sure it shows an error and a button to configure Paratext registration and internet settings
tjcouch-sil
changed the title
InternetSettings - S/R dialog does not open when setting is changed to 'Disable all internet use'
InternetSettings - Running S/R from project menu does not open dialog when an error occurs
Dec 3, 2024
Describe the bug
As part of testing #1254 , when the InternetSetting dropdown is changed to 'Disable all internet use' on the ParatextRegistration form, after restart, S/R on a project throws an exception in the log. It does not bring up the S/R dialog to display an error.
To Reproduce
Steps to reproduce the behavior:
zzz6 project > Project > Send/Receive this project
Expected behavior
Open S/R dialog and make sure it shows an error and a button to configure Paratext registration and internet settings
main.log
The text was updated successfully, but these errors were encountered: