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

Can't get it work #192

Open
iccicci opened this issue May 19, 2020 · 5 comments
Open

Can't get it work #192

iccicci opened this issue May 19, 2020 · 5 comments

Comments

@iccicci
Copy link

iccicci commented May 19, 2020

Hi all,

from my settings.json

  "perforce.addOnFileCreate": true,
  "perforce.editOnFileModified": true,
  "perforce.bottleneck.maxConcurrent": 0,
  "perforce.bottleneck.penalty": 0,
  "perforce.client": "192.168.168.4",
  "perforce.user": "tlm_dricci",
  "perforce.port": "1666",
  "perforce.password": "********",
  "perforce.editOnFileSave": true,
  "perforce.activationMode": "always",
  "perforce.command": "p4",
  "perforce.realpath": true

from my terminal inside VSCode

> p4 info
User name: tlm_dricci
Client name: DESKTOP-2NHE0U0
Client host: DESKTOP-2NHE0U0
Client unknown.
Current directory: c:\....
Peer address: 192.168.193.32:57026
Client address: 192.168.193.32
Server address: my.customer.com:1666
Server root: /var/lib/perforce/main
Server date: 2020/05/19 15:09:57 -0400 EDT
Server uptime: 73:20:31
Server version: P4D/LINUX26X86_64/2019.1/1796703 (2019/04/30)
ServerID: megaperforce-20171002
Server services: standard
Server license: MyCustomer, Inc. 90 users (support ends 2021/02/24) (expires 2020/07/05)
Server license-ip: 192.168.168.4:1666
Case Handling: sensitive
>

The Perfoce Log (top down menu on right) in the OUTPUT is completely empty.

From the README.md

Q: Something is not working
A: Here are a few steps you should try first:

  1. Look at the logs with Perforce: Show Output
  2. Search the existing issue on GitHub
  3. If you can't find your problem, create an issue, and please include the logs when possible

Pressing <ALT> + P L I get following message command 'perforce.showOutput' not found.
After seeking from closed issues I wasn't able to make it work anyway.
I have to fallback on answer nr. 3 :(

Thank you,
iCC

@BaankeyBihari
Copy link

perforce.command can you try setting it to your perforce installation

Configure a path to p4 or an alternate command if needed

@stef-levesque
Copy link
Owner

@iccicci your vscode setting "perforce.client" should map to your p4 info "Client name", in this case DESKTOP-2NHE0U0

@iccicci
Copy link
Author

iccicci commented Jun 3, 2020

Thanks @BaankeyBihari and @stef-levesque ,

updated as suggested, now my settings.json looks like follows, but exactly as before 😞

  "perforce.addOnFileCreate": true,
  "perforce.editOnFileModified": true,
  "perforce.bottleneck.maxConcurrent": 0,
  "perforce.bottleneck.penalty": 0,
  "perforce.client": "DESKTOP-2NHE0U0",
  "perforce.user": "tlm_dricci",
  "perforce.port": "1666",
  "perforce.password": "******",
  "perforce.dir": "C:\\Workspace",
  "perforce.editOnFileSave": true,
  "perforce.activationMode": "always",
  "perforce.command": "C:\\Program Files\\Perforce\\p4.exe",
  "perforce.realpath": true

The fact I can't get not errors nor any output is making me going crazy! 😥

In log tab Log (Extension Host) I can find following lines, so it seems VSCode at least tries to load the extension... but nothing more seems to happen

[2020-06-03 14:39:24.523] [exthost] [info] ExtensionService#_doActivateExtension slevesque.perforce {"startup":true,"extensionId":{"value":"slevesque.perforce","_lower":"slevesque.perforce"},"activationEvent":"*"}
[2020-06-03 14:39:24.523] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/danie/.vscode/extensions/slevesque.perforce-3.2.0/out/src/extension

@AZ2Tonez
Copy link

@iccicci not sure if this will fix your problem, but the perforce.port setting typically includes the full address - i.e. according to your p4 info, it would be my.customer.com:1666.

@iccicci
Copy link
Author

iccicci commented Jun 15, 2020

Alredy tried @AZ2Tonez 😞

Thank you for the try

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