To prevent spam users, you can only post on this forum after registration, which is by invitation. If you want to post on the forum, please send me a mail (h DOT m DOT w DOT verbeek AT tue DOT nl) and I'll send you an invitation in return for an account.
Problem to get ProM to run from source in eclipse
Hi all!
I’ve just downloaded ProM from the repository. I used the tutorials
https://svn.win.tue.nl/trac/prom/wiki/setup/CheckingOutPromUsingSubclipse and
https://svn.win.tue.nl/trac/prom/wiki/setup/RunningProM to check out and to run the ProM.
There are no errors in the workspace. However, when I try to get ProM to run, using “ProM with UITopia” run configuration, the User Interface did not get visible. I tried to debug in order to find the problem and I realized that the program got stuck in the loop “while (!installed.isEmpty()) {” at line 280 in the class “org.processmining.framework.packages.PackageManager.java”. So I tried changing the “while” to an “if” statement. The user interface then got visible, but many exceptions were thrown and the ProM framework appears not working well.
Could someone help me to fix that problem ? Thanks in advance.
Regards,
Salomao Madeiro
Comments
Were you connected to the internet when you tried to start ProM?
Your ProM download contains only the ProM framework, no packages are included. When you start ProM for the first time, it will try to download all required packages. Of course, this requires an internet connection.
If you were connected to the internet, there could have been a problem with the package repository file. Apparently, some packages failed to install, most likely due to cyclic references. Could you please post the contents of your ProM.ini file? This should contain the URL to the package repository you're actually using. Also, the contents of this installed variable could give a clue to where the problem is. As you were already debugging, perhaps you could check which packages ProM could not install?
Cheers,
Eric.
Thanks for your reply. Yes, my computer was connected to the internet when I tried to run ProM. Only for your information, I’m using Win7 (64 bits), Eclipse (Indigo release), Java version 1.70 (64 bits).
As you suggested, I debugged ProM again. For the “while” loop I mentioned in the previous message, there were initially 47 packages in the variable named “installed”. After three iterations, only the package named “BPM2010-1.1” was still in the set. Right bellow, I put more details about that package. Because it was not possible to remove it from the set, the program got stuck in the loop “while (!installed.isEmpty()) {” at line 280 in the class PackageManager.java.
package name: BPM2010-1.1
url: url: http://prom.win.tue.nl/ProM/packages/6.0/BPM2010-1.1-all.zip
description: ProM 6.0 BPM 2010 release wrapper (windows 64bit)
dependencies: [Wendy, Workload, PNAnalysis, DottedChart, TSAnalyzer, SignatureDiscovery, BPMN, TSMLImportExport, GeneticMiner, PetriNetReplayer, Abstractions, Petrify, Fuzzy, PNMLImportExport, SocialNetwork, PetriNet2EPC, SimpleLogFilter, Murata, TSPetrinet, TraceAlignment, LoLA, Woflan, PerfMeasurement, LpSolve, HeuristicsMiner, TPNImportExport, ILPMiner, AAPDiagram, Petri Net API, LogInsertStart, SPDiagram, AlphaMiner, CPlex, COSAImportExport, LTLChecker, DeclareMiner, PomPom, Performance, TestBed, TransitionChecker, GuideTreeMiner, PNUnfolding, LogAbstractions, XPDLImportExport, EPMLImportExport, ServiceTech, LogDialog, TSMiner, ETConformance]
conflicts: []
I copied the content of the ProM.ini file in the end of this email. Please, let me know it you need more details about that problem. Thank you again.
Regards,
Salomao Madeiro
# This file contains information about this ProM release
# it points ProM to the right packages and keeps version
# information
#
# Folders should be separated using "/" (forward slash).
# This will be replaced with File.Separator().
#
# Specifies the ProM release version
PROM_VERSION = 6.1.0
#
# Specifies which package should be installed
RELEASE_PACKAGE = AllPackages
#
# Specifies the URL to the default package repository
# (default is "http://prom.win.tue.nl/ProM/packages/packages.xml")
PACKAGE_URL = http://www.promtools.org/prom6/packages/packages.xml
#
# Specifies whether ProM is Verbose
# (possible: "ALL" / "ERROR" / "NONE", defaults to "ALL")
VERBOSE = ERROR
#
# The library folder is relative to the prom installation
# folder (default is "lib")
LIB_FOLDER = lib
#
# The images folder is relative to the prom library
# folder (default is "=images")
IMAGES_FOLDER = images
#
# The macro folder is relative to the prom library
# folder (default is "macros")
MACRO_FOLDER = macros
#
# The prom user folder is NOT relative to the
# prom installation folder. The (default is empty, in
# which case the OS handles the location)
PROM_USER_FOLDER =
#
# The package folder is relative to the
# prom user folder. The (default is "packages")
PACKAGE_FOLDER = packages
#
# The workspace folder is relative to the
# prom user folder. The (default is "workspace")
WORKSPACE_FOLDER = workspace
#
# Indicate whether or not ProM should serialize the
# workspace. If switched off, the last serialized
# workspace will be loaded on each start
DO_SERIALIZATION = false
www.win.tue.nl/promforum/discussion/21/general-prom6-usage
Senior Data Scientist and process mining expert at APG (Dutch pension fund executor).
Previously Assistant Professor in Process Mining at Eindhoven University of Technology
Is it causing error that I have mentioned above?
Have you checked the solutions provided to other similar problems, as asked and answered on this forum?
Senior Data Scientist and process mining expert at APG (Dutch pension fund executor).
Previously Assistant Professor in Process Mining at Eindhoven University of Technology
You should not check out the framework itself, that will not work probably.
However, you should check out the trunk folder of a package (preferably one that you're interested in or are investigating). This will include the latest release of the framework.
Senior Data Scientist and process mining expert at APG (Dutch pension fund executor).
Previously Assistant Professor in Process Mining at Eindhoven University of Technology
Denise