Git Product home page Git Product logo

Comments (14)

abstratt avatar abstratt commented on September 26, 2024

@simonjwright This is a weird one. I could not reproduce it locally, but I am on Linux, not a Mac.

Simon, do other preferences stick? For instance, if you set "-v" (no quotes, lowercase) under "Additional command-line options":

image

does it too get lost?

from eclipsegraphviz.

abstratt avatar abstratt commented on September 26, 2024

Also, could you later try this?

  1. Window > Show View > Error Log
  2. Delete Log (red X) - log will become empty
  3. Configure the custom location for dot in the Preferences for EclipseGraphviz
  4. Make EclipseGraphviz render a diagram
  5. Exit Eclipse
  6. Start Eclipse again
  7. Without opening the preferences first, make EclipseGraphviz render a diagram (it won't work, right?)
  8. Window > Show View > Error Log
  9. Is it empty? If not, please hit Export Log (1st icon to the left) and attach the exported log file here

(btw, I am starting to think this and your other bug report - abstratt/textuml#94 are related, and all I did there was to workaround the issue with loading preferences).

from eclipsegraphviz.

simonjwright avatar simonjwright commented on September 26, 2024

I tried adding -v, no change (and it didn’t get added).

Attaching the error log - graphviz-problem.txt

Also, com.abstratt.graphviz.prefs contains

commandLineExtension=
dotManualPath=
dotSearchMethod=AUTO
eclipse.preferences.version=1

from eclipsegraphviz.

simonjwright avatar simonjwright commented on September 26, 2024

I thought to edit com.abstratt.graphviz.prefs; it got overwritten the next time I started Eclipse.

from eclipsegraphviz.

abstratt avatar abstratt commented on September 26, 2024

it got overwritten the next time I started Eclipse.

Ouch.

I still cannot reproduce it here, even if I remove Graphviz from my machine.

I blindly made some changes to simplify the preferences code that may or may not make the issue go away. At least the code around preferences is a bit simpler/more streamlined now.

from eclipsegraphviz.

abstratt avatar abstratt commented on September 26, 2024

@simonjwright Can you please try again once the TextUML Toolkit build 423 completes?

from eclipsegraphviz.

simonjwright avatar simonjwright commented on September 26, 2024

No change with new build, sorry.

com.abstratt.graphviz.prefs does get saved on exit.

I did some googling, it appears that in OS X Yosemite the only PATH a GUI application gets is /usr/bin:/bin - with no way of adjusting it. I don’t really want to put dot in a system location. Perhaps Apple will fix this bug sometime soon.

I tried making the .settings directory unwritable, hoping this might give a clue as to what was doing the overwriting; see unwritable-prefs.txt (rather long, I guess it’s the org.eclipse.oomph.setup.core entry)

from eclipsegraphviz.

abstratt avatar abstratt commented on September 26, 2024

Good find, @simonjwright. Any chance you could try without Oomph, either by uninstalling it or downloading another copy of Eclipse without the Eclipse Installer, for instance, the Platform Runtime?

(you won't get the Marketplace client either, I believe, so you may have to install via Help > Install new Software...)

from eclipsegraphviz.

abstratt avatar abstratt commented on September 26, 2024

@simonjwright Actually, before doing something as extreme as that, take a look at this StackOverflow thread.

Does the problem go away if you:

  1. configure EclipseGraphviz as you want
  2. configure Oomph to skip automatic task execution at startup time (i.e. the checkbox must be checked)
  3. restart?

from eclipsegraphviz.

abstratt avatar abstratt commented on September 26, 2024

@simonjwright See also: https://www.eclipse.org/forums/index.php/t/1067556/

from eclipsegraphviz.

abstratt avatar abstratt commented on September 26, 2024

Seems related: eclipse-color-theme/eclipse-color-theme#223.

from eclipsegraphviz.

simonjwright avatar simonjwright commented on September 26, 2024

Fixed! by configuring as attached .. so I think that makes it an oomph problem rather than a graphviz one?

Those settings were the default: I just had to check the Record into: checkbox. For some reason, none of your preferences appear if I choose to record into the workspace or the installation.

Thanks for the help.

preference-recorder

from eclipsegraphviz.

abstratt avatar abstratt commented on September 26, 2024

I think so, Simon.

Preferences in Eclipse may have different scopes (project, workspace/instance, installation/configuration). EclipseGraphviz only has instance-scoped preferences (/instance/...). However, I'd expect Oomph to list them both when you chose User and Workspace. May or may not be related.

Thanks for your patience in isolating this. Do you use the Eclipse Bugzilla? It would be great if you could report the issue against Oomph.

from eclipsegraphviz.

simonjwright avatar simonjwright commented on September 26, 2024

Reported.

from eclipsegraphviz.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.