I was changing the font of the Alloy-Tool editor and it crashed. Now I'm unable to launch it, returning this every time I try: screenshot of the problem
I've also tried to download different versions of alloy but each of them return the same error. Is there any way to modify some configuration file that they use at the startup?
I'm on Ubuntu 18.04
I found a solution:
modify this .xml file under your home directory
/.java/.userPrefs/edu/mit/csail/sdg/alloy4/pref.xml
with another font name at the entry
<entry key="FontName" value="FontNameHere"/>
Can you run it from the command line? If this error happens it should show an exception trace. Please report this trace on https://github.com/AlloyTools/org.alloytools.alloy/issues
Related
I have been working through this issue for a few weeks now, Basically I have set up an xpra server on Ubuntu 16.04 (And have tried on Ubuntu 18.04 and RHEL 8.0.0 with the same results) and can get the server running an html5 output and view it successfully on my local machine.
But once I am viewing the local output, I cannot run any program from the "Start" menu in the system tray. The only issue I can figure out with regards to the bug tracking on the xpra site is that the xdg menu file appears to be missing. So when I run
python2 -c "from xdg.Menu import parse;parse()"
I get an error that:
File "/usr/lib/python2.7/dist-packages/xdg/Menu.py", line 570, in parse
raise ParsingError ('File not found', "/etc/xdg/menus/%s" % candidate)
xdg.Exceptions.ParsingError: ParsingError in file '/etc/xdg/menus/debian-menu.menu', File not found
Which according to http://xpra.org/trac/ticket/2174?cversion=2&cnum_hist=4 is an error which sometimes occurs with XDG. I can't figure out how to fix this with any of the steps they outlined and am not even certain that this is whats causing the problem.
Below is a screencap of the system tray menu not opening as well.
I got a problem when I input any npm cmd, it says
internal/modules/cjs/loader.js:584
Operating System: Windows 8 pro 64bit
What shall I do to solve this issue?
Your error message of:
Error: Cannot find module 'C:\Users\NUMAN ALI\myfirst.js'
indicates that Node can't find your myfirst.js file to run within your current directory of: C:\Users\NUMAN ALI. Your myfirst.js file isn't located within this directory so you need to move into the correct directory containing this file, or alternatively create this file in the current directory. Then you need to add your desired JavaScript within this file to run it.
With your comment of: "The file you have just created must be initiated by Node.js before any action can take place" I am going to assume you don't have this file in your current directory. Maybe you could try creating the file in a text editor, such as notepad at the very least on a Windows machine, and adding the JavaScript contents into this file. Then try re-running the file with a node myfirst.js. Check out this accepted answer here as I think this will help you out a lot. Also, for command line help for creating files, check out this link.
Hopefully that helps!
When i try and save a session using :mksession, i get the following error:
E190: Cannot open "Session.vim" for writing
I have checked the permissions for the current directory, and they are fine. (I can and have been saving my files to this directory.)
Anyone got any ideas?
I am using Gvim 64-bit , on the windows 7 os.
Thanks for any insight!
Russ
"Session.vim" seems to be created at the path of the current file you are editing.
If you are viewing a system file, in a directory where you don't have permission to write, it is likely that it won't work. If you want to be sure this is the case, try to launch vim with "sudo vim/sudo gvim" and check again if it works or not.
There are a few other questions on Stack Overflow about this and I do understand that, but none of them are giving me an idea of why im getting the "Could not open input file".
I have it setup so I get an email everytime a crons runs (im using cPanal to set the crons) but all I get is:
Could not open input file: /home/methodjs/classified/emailNotifications.php
Because is the first time i'm using crons jobs I have no idea what this means or how fix it.
My command line is:
/usr/local/bin/php $HOME/classified/emailNotifications.php
Am I doing something wrong? Thanks for any help. By the way, i'm sure thats the right path to PHP because thats what I got from my host.
ensure file is located here:
/home/methodjs/classified/emailNotifications.php
try to execute from commandline:
/usr/local/bin/php /home/methodjs/classified/emailNotifications.php
what appears?
ensure your php file has execution rights
chmod 755 /home/methodjs/classified/emailNotifications.php
The error appears either file is not present at given path or proper permission are not set for file. It can be checked by navigating to path and ll for checking permission.
All,
This problem started occurring on all my 20 Kubuntu machines after an update from Ubuntu! Since Ubuntu is Debian based not sure if Debian or Ubuntu is to blame, so investigating!
Debian users, if this is also impacting you please reply so we can investigate further!
Cheers!
I am using idle (python 2.5) via cygwin on a windows vista machine and when I try to open an already existing .py file I see the full file path
/home/aaron/C:/cygwin/home/aaron/script.py
on the banner of the freshly openned file window when I expect simply
/home/aaron/script.py
In addition, the file appears blank which makes sense...basically idle is opening up a nonexistent file in some fictitious path. So what is causing the problem and how to fix? Anyone?
I have the same problem, but I found a workaround is to use File->Path Browser menu. From there I can find the .py file and open it by double clicking the file name.