Pages: 1 ... 3 4 [5]
  Print  
Author Topic: ENIGMA R4  (Read 15052 times)
Post made September 09, 2010, 02:31:59 AM was deleted at the author's request.
Offline (Male) Josh @ Dreamland
Reply #61 Posted on: September 09, 2010, 08:21:53 AM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
kkg:
I have corrected my part of the problem, waiting for Ism to correct hers.

fede:
This is the fourth public release.

IsmAvatar:
This is the problem. It occurs only the first time ENIGMA is run, after checking out all the files:

Code: [Select]
Calling `make`
Exception in thread "Thread-6" java.lang.NoClassDefFoundError: org/enigma/Enigma
Thread
        at org.enigma.EnigmaRunner.make(EnigmaRunner.java:194)
        at org.enigma.EnigmaRunner$1.run(EnigmaRunner.java:121)
Caused by: java.lang.ClassNotFoundException: org.enigma.EnigmaThread
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 2 more
I can confirm the make path is valid, not that the above error implies in any way that it wouldn't be. After restarting LGM, the entire system works.

This, however, seems to occur randomly, whenever a code piece is opened:
Code: [Select]
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/enigm
a/EnigmaRunner$4
        at org.enigma.EnigmaRunner.subframeAppeared(EnigmaRunner.java:725)
        at org.lateralgm.subframes.SubframeInformer.fireSubframeAppear(SubframeI
nformer.java:37)
        at org.lateralgm.subframes.ActionFrame.<init>(ActionFrame.java:205)
        at org.lateralgm.subframes.ActionFrame.<init>(ActionFrame.java:89)
        at org.lateralgm.components.ActionList.openActionFrame(ActionList.java:1
32)
        at org.lateralgm.components.ActionList$ActionListMouseListener.mouseClic
ked(ActionList.java:168)
        at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
« Last Edit: September 09, 2010, 08:52:00 AM by Josh @ Dreamland » Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Female) IsmAvatar
Reply #62 Posted on: September 09, 2010, 01:52:13 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 891

View Profile Email
After updating, the enigma.jar plugin needs to reload. I'm working on fixing this. In the meantime, if you experience this problem, simply restart LGM. You may need to delete compileEGMf.dll or libcompileEGMf.so before starting LGM to force the dll to rebuild.

To clarify, if you experience, after updating, an error like so:
Code: [Select]
Calling `make`
Exception in thread "Thread-6" java.lang.NoClassDefFoundError: org/enigma/Enigma
Thread

Take the following steps to correct it and complete the update:
1) Exit the program.
2) Delete compileEGMf library
 a) Windows: compileEGMf.dll
 b) Linux: libcompileEGMf.so
 c) Mac: libcompileEGMf.dylib
3) Run the program again.
« Last Edit: September 09, 2010, 01:55:15 PM by IsmAvatar » Logged
Offline (Unknown gender) freezway
Reply #63 Posted on: September 09, 2010, 04:39:39 PM

Member
Joined: Dec 2009
Posts: 220

View Profile
I'll test when I find time. Someone should create a zip of enigma without svn kit because my school hath blocked it. With a recent version.
Logged
if you drop a cat with buttered toast strapped to its back, which side lands down?
joshdreamland: our languages are based on the idea that it's going to end up FUBAR
/kick retep998
Offline (Unknown gender) The 11th plague of Egypt
Reply #64 Posted on: September 10, 2010, 01:50:40 AM
Member
Joined: Dec 2009
Posts: 285

View Profile
I still have to use the run.bat file to start Enigma...

And then, when it fetches libraries, it downloads MacOS stuff too.

I read I got a make error when compiling libraries, but didn't have the time to copy the console output.

Here's another odd one.
Code: [Select]
Calling `make`cd CompilerSource && C:/MinGW/bin/mingw32-make
mingw32-make[1]: Entering directory `C:/Programmi/ENIGMA/CompilerSource'
process_begin: CreateProcess(NULL, uname -s, ...) failed.
mkdir .eobjs
g++ -Wall -s  -O3   -c  backend/JavaCallbacks.cpp        -o .eobjs/JavaCallbacks.o
g++ -Wall -s  -O3   -c  backend/ideprint.cpp        -o .eobjs/ideprint.o
g++ -Wall -s  -O3   -c  cfile_parse/cfile_parse.cpp        -o .eobjs/cfile_parse.o
g++ -Wall -s  -O3   -c  cfile_parse/cfile_parse_macros.cpp        -o .eobjs/cfile_parse_macros.o
g++ -Wall -s  -O3   -c  cfile_parse/cfile_pushing.cpp        -o .eobjs/cfile_pushing.o
g++ -Wall -s  -O3   -c  cfile_parse/cparse_components.cpp        -o .eobjs/cparse_components.o
g++ -Wall -s  -O3   -c  cfile_parse/cparse_shared.cpp        -o .eobjs/cparse_shared.o
g++ -Wall -s  -O3   -c  cfile_parse/cpmain.cpp        -o .eobjs/cpmain.o
g++ -Wall -s  -O3   -c  cfile_parse/expression_evaluator.cpp        -o .eobjs/expression_evaluator.o
« Last Edit: September 10, 2010, 01:57:47 AM by The 11th plague of Egypt » Logged
Offline (Male) Josh @ Dreamland
Reply #65 Posted on: September 10, 2010, 02:41:04 AM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
Plague: That's just Make stabbing at the dark to get what platform it's on. I'm not sure why it doesn't know that. But Windows doesn't support anything, so.

I'd need to see the other make error to know what's causing it.

What happens if you don't use run.bat? Can't find library? If so, Ism's working on that, I think.

Mac OS stuff comes with the Repo. I'm not sure what to do about that, really, since we decided to use SVN for updates, and SVN can't mark folders as being for a specific OS.
« Last Edit: September 10, 2010, 02:42:36 AM by Josh @ Dreamland » Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) The 11th plague of Egypt
Reply #66 Posted on: September 10, 2010, 05:23:40 AM
Member
Joined: Dec 2009
Posts: 285

View Profile
Plague: That's just Make stabbing at the dark to get what platform it's on. I'm not sure why it doesn't know that. But Windows doesn't support anything, so.

I'd need to see the other make error to know what's causing it.

What happens if you don't use run.bat? Can't find library? If so, Ism's working on that, I think.
The same old error "Can not find Java" when starting Enigma.exe

Mac OS stuff comes with the Repo. I'm not sure what to do about that, really, since we decided to use SVN for updates, and SVN can't mark folders as being for a specific OS.
You could automatically delete the "wrong" directories after the download. The updater should be able to do that, right?
Logged
Offline (Male) Josh @ Dreamland
Reply #67 Posted on: September 10, 2010, 12:14:06 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
Heh, I suppose, but then we'd need to maintain a manifest of correct directories. Which is hard to decide on.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) TheExDeus
Reply #68 Posted on: September 11, 2010, 04:07:17 AM

Developer
Joined: Apr 2008
Posts: 1914

View Profile
So... I still get "update to ..." problem. Every time I do it, it just asks me again.
Logged
Offline (Female) IsmAvatar
Reply #69 Posted on: September 11, 2010, 05:01:51 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 891

View Profile Email
HaRRiKiRi: This is probably one of the following:
1) You really do need to update... or
2) It's picking up updates from another branch/tag/trunk that is not yours. This will be fixed in the near future. If you update, and no revisions are made, and it still needs an update, then
3) You've modified one of the files that SVN plays with. At this time the plugin reads versioned modifications as "Needs Update". I plan to add better support for this in the near future, but in the meantime, consider not modifying versioned files. One of the big goals of LGM/Enigma is that you shouldn't need to modify our files - just create your own in a format that is a lot more user-friendly.
Logged
Offline (Unknown gender) Osl112
Reply #70 Posted on: December 28, 2010, 05:38:37 PM
Member
Joined: Dec 2010
Posts: 1

View Profile
Excuse me if this has been somewhere along the line or solved, but I haven't found it. Blame me if it has, my eyes have probably gone blurry from all this typewriter-esk font being pasted everywhere. I'm not a technophobe either, or at least I wasn't.

I've installed all of MinGW and have gotten onto the libraries. Now after ordering it to fetch the stable libraries, it comes up with the following:

Code: [Select]
Unhandled Exception:
org.lateralgm.file.GmFormatException - org.tmatesoft.svn.core.SVNException: svn: Cannot create new file 'C:\Program Files (x86)\LateralGM\.svn\lock': The system cannot find the path specified

Stack trace:
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:85)
org.tmatesoft.svn.core.internal.wc.SVNFileUtil.createEmptyFile(SVNFileUtil.java:336)
org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea14.createVersionedDirectory(SVNAdminArea14.java:1579)
org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea16Factory.doCreateVersionedDirectory(SVNAdminArea16Factory.java:30)
org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.createVersionedDirectory(SVNAdminAreaFactory.java:274)
org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.createVersionedDirectory(SVNAdminAreaFactory.java:281)
org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:941)
org.enigma.EnigmaUpdater.checkout(EnigmaUpdater.java:191)
org.enigma.EnigmaUpdater.checkForUpdates(EnigmaUpdater.java:56)
org.enigma.EnigmaRunner.attemptUpdate(EnigmaRunner.java:362)
org.enigma.EnigmaRunner$1.run(EnigmaRunner.java:121)

After I ok that, it comes up with even more fun and joy!

Code: [Select]
Unhandled Exception:
org.lateralgm.file.GmFormatException - java.io.FileNotFoundException: winmake.txt (The system cannot find the file specified)

Stack trace:
java.io.FileInputStream.open(Native Method)
java.io.FileInputStream.<init>(Unknown Source)
java.io.FileReader.<init>(Unknown Source)
org.enigma.EnigmaRunner.make(EnigmaRunner.java:162)
org.enigma.EnigmaRunner$1.run(EnigmaRunner.java:121)

After that it tells me that "ENGIMA: Unable to communicate with the library, either because it could not be found or uses methods different from those expected.

"The exact error is:
Unable to load library 'compileEGMf'. The specified module could not be found.

So, all in all, it doesn't like me. I'm running Windows 7 btw, 64 bit.

Any help is appreciated; I will start afresh to see if I can solve this myself (and edit this if I can) but otherwise, I need a little  :eng101:. You can slap me with a wet fish if I've missed anything ;)


Attempt 2:

I'm only getting the "compileEGMf" error now. I reran ENGIMA.exe and didn't get any "compileEGMf" error, but when I just opened LGM; guess what appeared?

Sorry, I must be going bone idol. Anyone up for helping me? I'll start over again later.
« Last Edit: December 28, 2010, 05:53:17 PM by Osl112 » Logged
Offline (Unknown gender) freezway
Reply #71 Posted on: December 28, 2010, 06:02:49 PM

Member
Joined: Dec 2009
Posts: 220

View Profile
you might try the code from the svn.
Logged
if you drop a cat with buttered toast strapped to its back, which side lands down?
joshdreamland: our languages are based on the idea that it's going to end up FUBAR
/kick retep998
Offline (Female) IsmAvatar
Reply #72 Posted on: December 29, 2010, 01:32:14 AM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 891

View Profile Email
I agree. You're experiencing a dozen different problems here which I don't know if we've corrected half of them with later revisions or what. Truth is, the zip has become dreadfully outdated now. I'd recommend doing a fresh checkout from the SVN. Join the IRC for more instructions. It's ok to experience problems with it, it's probably not your fault, it's probably ours - stuff we still need to fix. So do report your problems before you just hack it together to work for yourself, but also realize that we have broken some of our older release stuff that should have been kept stable or at least updated. Meh, it's a work in progress, what can I say.
Logged
Pages: 1 ... 3 4 [5]
  Print