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

Something went wrong with 'Set Up Account'. #716

Open
JJ0011 opened this issue Apr 24, 2023 · 16 comments
Open

Something went wrong with 'Set Up Account'. #716

JJ0011 opened this issue Apr 24, 2023 · 16 comments
Labels
bug Something isn't working tracked Already in Backlog

Comments

@JJ0011
Copy link

JJ0011 commented Apr 24, 2023

Type: Bug

The SDF is properly configured.
There is an active file in the editor which belong to the current workspace. Before running this command, I have selected a file from the current workspace and make it active in the editor.

But whenever I run the command 'Set Up Account', I am getting the following error :

"Something went wrong with 'Set Up Account'."

Extension version: 1.4.1
VS Code version: Code 1.77.3 (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:16:02.548Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes

System Info
Item Value
CPUs Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz (16 x 3792)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) undefined
Memory (System) 31.79GB (9.71GB free)
Process Argv --crash-reporter-id 9e8b0dc7-3d57-49a7-abc4-2a47292449d3
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30610679
nodejswelcome1cf:30587006
3biah626:30602489
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
showlangstatbar:30672706
vsctsb:30705553
azdwalk:30721579
pythonms35:30701012
pythonfmttextcf:30716743
pythonclientmvcf:30713944

@tourajvaziri
Copy link

Hi @JJ0011 sorry about the experience you had. Is there a message in the 'Output' window of vscode? A 'see details' when the notification appears?
Can you please send a screenshot of the error?

@ryan-gillies
Copy link

I am having this same issue. Here is a screenshot:
image

@Samuel-Dainton
Copy link

Samuel-Dainton commented May 5, 2023

Yea, same. Sorry @tourajvaziri but there's nothing in the output or additional info.

Just the message as Ryan has shown.

VSCode 1.78.0
Oracle JDK 17
SuiteCloud Extension 1.4.2

@davidecorreu
Copy link
Member

Hi @JJ0011, @ryan-gillies and Sameul-Dainton

Please provide us the specific info about your environment:

  • OS type and version - Please do not extract this info from vscode about section, we just want to know type of OS and its main version like: Windows 10 Pro, MacOS Ventura 13.2.1 or Fedora Linux 38 (Workstation Edition)
  • vscode version
  • suitecloud extension version
  • java version

A screenshot of your project hierarchy (tree view) may also be useful.

We haven't been able to reproduce your error for the SuiteCloud: Set Up Account command, so we are going to ask for some steps that may help to solve the issue.

  1. Please try to run the SutieCloud: Add Dependency References to the Manifest command.
    Does it works succesfully? If it doesn't work, please take a screenshot of the error notification and if the See Details button appears also the related logs.

  2. Let's install a previous version (1.3.2) of the suitecloud extension.
    To install a previous extension version:
    Select extension section of the activity bar (icon similar to a tetris piece)
    Select the SuiteCloud Extension
    Click on the drop down context menu at the side of the Uninstall button
    Select version 1.3.2
    Reload vscode

After installing the v1.3.2 trigger again the SuiteCloud: Set Up Account command again and let us know about the result.
Once you are done with this tryout you can restore the suitecloud extension to latest version.

As a workaround you can also install the node suitecloud CLI and setup the account for your project from the command line by running suitecloud account:setup
To install suitecloud-cli please check: https://github.com/oracle/netsuite-suitecloud-sdk/tree/master/packages/node-cli

@Samuel-Dainton
Copy link

Samuel-Dainton commented May 5, 2023 via email

@Samuel-Dainton
Copy link

Oh that's odd. Came back today to try out the 1.3.2 and it's now having the same issue. >_<

@Samuel-Dainton
Copy link

Samuel-Dainton commented May 9, 2023

I created a new project and it appears to be working now.

The error appears to be caused by creating a project with jest testing enabled.

@davidecorreu
Copy link
Member

@Samuel-Dainton thanks for the info, we'll consider your provided info for further investigation.

@davidecorreu
Copy link
Member

davidecorreu commented May 9, 2023

We have been able to replicate the error, thanks to the info provided by @Samuel-Dainton

Source of the problem is that npm dependencies are not properly installed when creating a project from vscode-extension that includes support for unit testing.

As a workaround you can manually install the dependencies from the terminal by running npm install from the root of your project (note that nodejs/npm needs to be installed in your machine). After installing the dependencies SuiteCloud: Set Up Account should properly work.

We'll track this bug to fix it.

@davidecorreu davidecorreu added bug Something isn't working tracked Already in Backlog labels May 9, 2023
@nguyena-smartecarte
Copy link

nguyena-smartecarte commented May 30, 2023

Has this been resolved yet? I am experiencing the same issue, when I create a SuiteCloud project and include JEST testing

@alisyed-19
Copy link
Member

@nguyena-smartecarte @Samuel-Dainton @JJ0011
Can you please verify if the solution provided works? #716 (comment)

@hamayxx
Copy link

hamayxx commented Sep 26, 2023

Is there any otther solution for this problem, I have had this error for a week.
OS type and version: Window 10
vscode version: 1.8.2.2
java verision: 17.0.8
jdk version: v1.5.1
Btw, I cannot add dependencies to manifest.xml file too.

@alisyed-19
Copy link
Member

@hamayxx When you run java -version in the terminal/ command prompt, what is the output?

@hamayxx
Copy link

hamayxx commented Sep 26, 2023

@hamayxx When you run java -version in the terminal/ command prompt, what is the output?

Here is the output
"java 17.0.8 2023-07-18 LTS
Java(TM) SE Runtime Environment (build 17.0.8+9-LTS-211)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.8+9-LTS-211, mixed mode, sharing)"

Btw, I have just installed a previous version of JDK (v1.4.1) then it works. Just wonder that what happened to these JDK version.

@gabrielgortabns
Copy link

Extension 1.4.2 with Java JDK 17.0.7 works... but newer extension or JDK doesn't. It even corrupts credentials file.

@jan-pavlicek-netsuite
Copy link

Hi All, I'm ACS employee and I solved this issue with our customer.

The solution was to ensure there is no space in a private key file path.

It seems there a path is not enclosed in quotes when a command is built.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tracked Already in Backlog
Projects
None yet
Development

No branches or pull requests

10 participants