Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] MVGateway and VSCode D3 Rocket #172

Open
lecramc opened this issue Nov 21, 2022 · 11 comments
Open

[BUG] MVGateway and VSCode D3 Rocket #172

lecramc opened this issue Nov 21, 2022 · 11 comments

Comments

@lecramc
Copy link

lecramc commented Nov 21, 2022

Hello, everyone!
We previously posted a request as we are allready trying to use VsCode with D3.

using the troubleshooting section of the doc, we tried to connect to mvsp with this Json without success....

POST http://localhost:9005/Login
Content-Type: application/json
{
"AccountName":"dm",
"ServerType": "D3",
"RemoteHost": "http://192.168.2.4:9000/",
"ServerName":"",
"UserId" : "dm",
"Password" : ""
}

we always have a 500 error
{
"Message": "An error has occurred.",
"ExceptionMessage": "La référence d'objet n'est pas définie à une instance d'un objet.",
"ExceptionType": "System.NullReferenceException",
"StackTrace": " à UnifiedObjects.ServerConnection..ctor(NetbuilderServer server, String accountName)\r\n à MvonGateway.MvonGateway.findConnection(String accountName)\r\n à MvonGateway.LoginController.Post(LoginDetails value)\r\n

To Reproduce
We just use tutorial in read me project.

image

Screenshots
If applicable, add screenshots to help explain your problem.

Versions of applicable software
Detail on the versions of any and all pieces of software that are part of your environment, such as:
Host : Windows 11 or windows 10
Remote : Red Hat Enterprise Linux 8.3 (Ootpa)"
MV Basic extension
Vscode 1.73

I think is a problem with mv gateway, we can't even get a test connection to the remote server

@itsxallwater
Copy link
Member

itsxallwater commented Nov 21, 2022

Hey @lecramc thanks for reporting. Would you have the ability to try one of the other connector options? Otherwise perhaps @dthiot or @GrantHart could chime in with tricks for D3. This may also come down to general compatibility of the extension with the MV Gateway connector.

As a general curiosity, have you tried using Rocket's extension as well?

@lecramc
Copy link
Author

lecramc commented Nov 21, 2022

Thank's @itsxallwater, yes maybe the second option (accuterm), but if we can avoid to pay...
Ok maybe try an older version of mvbasic extension?

Rocket's extension doesn't allowed D3 server if I'm not mistaken...

@dthiot
Copy link
Contributor

dthiot commented Nov 21, 2022 via email

@lecramc
Copy link
Author

lecramc commented Nov 21, 2022

Ok thank's @dthiot ! if I can help, I am at your disposal

@dthiot
Copy link
Contributor

dthiot commented Nov 21, 2022 via email

@lecramc
Copy link
Author

lecramc commented Nov 21, 2022

Yes I'm form France, I setd an email to your mail address on your github's profile.

@lecramc
Copy link
Author

lecramc commented Nov 29, 2022

Hi everyone,
Today we have test with accuterm, that's work fine.

But we have a lot of "subfolder", can we list juste one of them or more ?

Best regards,

@dthiot
Copy link
Contributor

dthiot commented Nov 29, 2022 via email

@lecramc
Copy link
Author

lecramc commented Nov 29, 2022

Thank's Dick,
I have tried with MvBasic.EditFiles option but I'm not sure if this is the right way or I haven't the right synthax.
Maybe we will take the license for accuterm after the trial version but if you have any feedback on MvGateway and my mistake I am interested.

Thank's a lot !

@pschellenbach
Copy link

Clément,

There is a way to specify a list of files to return when VSCode requests the "root" directory of the file system. When using the AccuTerm connector, the "root" directory maps to the account MD or VOC. The default is to return a list of all the files found in MD/VOC. In some environments this list can be quite long (and time consuming to scan).

There is a small note about using MVCONNECTION.OPTIONS to restrict the "root" file list in the AccuTerm release notes, just search for "MVCONNECTION.OPTIONS". Also, more information about this feature is available here pickmultivalue/accuterm-host-programs#2.

Hope this helps,

Pete

@lecramc
Copy link
Author

lecramc commented Nov 29, 2022

Hi Pete,

Thank you! It works fine, we can filter on the file name.

Clément

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants