Skip to content

Common bugs when developing with eclipse pure variants and wacline

Haritz Medina edited this page May 25, 2021 · 4 revisions

Source folder synchronising bug

This bug usually occurs when you want to update the family model (*.ccfm) using the "Connector for source code management" in Pure::variants. image it usually happens when we switch from operating system of the last update (e.g.: developer 1 updates using Windows, and developer 2 later updates the ccfm using MacOSX). To solve this, it is necessary to open the .ccfm file in a text editor, and remove the last path used (try to search for "RELATIVE_PATH"): image After removing the highlighted path, try again to set the source input and it should work as expected.

Eclipse pure variants workspace is in used, cannot be opened

Occurs when eclipse pure variants is closed unexpectedly. image

How to solve:

  1. Close all instances of eclipse on task manager.
  2. Go to .metadata folder and remove .lock file

More info: http://are-you-ready.de/blog/2016/09/21/eclipse-workspace-in-use/#:~:text=Most%20of%20the%20time%20the,lock%20file%20in%20the%20hidden%20.

When opening project in eclipse over MacOSX, the interface stops responding

It occurs when you open any pure::variants based file, because variantsd (the process that checks the pure::variants license and some others) is running using 100% of CPU and it is not responding. image

How to solve:

  1. Force close process variantsd in activity monitor and close eclipse
  2. Check if ncurses is installed, run the following commands /Applications/Eclipse.app/Contents/Eclipse/plugins/com.ps.consul.eclipse.core.macos_5.0.2.369/server/bin/swipl -x

There should appear the following error: image

  1. Install ncurses and reference it:

brew install ncurses

sudo mkdir -p /opt/local/lib

sudo ln -s /usr/local/opt/ncurses/lib/libncurses.6.dylib /opt/local/lib/libncurses.6.dylib

Error related to node-sass and gyp

After running npm install, sometimes this could happen (especially after an update in MacOSX or if gcc or similar compiler is not installed in Windows). image image How to solve:

  • In MacOSX:
    • Install xcode if not installed from the app store
    • Execute xcode-select --install
    • If it shows the following error is that you have to update your MacOSX to the latest version image
    • Run softwareupdate --install -a and restart computer
    • Re-run xcode-select --install