Project

General

Profile

Actions

Bug #5688

closed

library not working in kepler trunk in windows7

Added by Derik Barseghian over 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Normal
Category:
general
Target version:
Start date:
08/17/2012
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5688

Description

Right now the tree doesn't display properly when you launch kepler from trunk in windows7, only 1 item shows up, the dataTurbineToRplot.kar actor.
Dan thinks he has a regex that need escaping for windows.

This is the stacktrace on startup:

[run] INFO  (org.kepler.kar.KARCacheManager:synchronizeKARCacheWithLocalRepositories:394) The Cache has been syncronized with KAR files in Local Repositories.
[run] INFO (org.kepler.objectmanager.library.LibIndex:rebuild:362) Building LibIndex...
[run] java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 3
[run] ERROR (org.kepler.objectmanager.library.LibIndex:assureDemoFolder:2017) Unable to assureFolder(C:\Users\visitor\KeplerData\workflows\module\dataturbine\demos) rooted at Demos
[run] ERROR (org.kepler.objectmanager.library.LibIndex:assureKar:1826) Unable to assureKar(C:\Users\visitor\KeplerData\workflows\module\dataturbine\demos\dataTurbineToRplot.kar)
[run] C:\Users\visitor\KeplerData\workflows\module\([^\]+)
[run] ^
[run] at java.util.regex.Pattern.error(Pattern.java:1924)
[run] at java.util.regex.Pattern.escape(Pattern.java:2416)
[run] at java.util.regex.Pattern.atom(Pattern.java:2164)
[run] at java.util.regex.Pattern.sequence(Pattern.java:2097)
[run] at java.util.regex.Pattern.expr(Pattern.java:1964)
[run] at java.util.regex.Pattern.compile(Pattern.java:1665)
[run] at java.util.regex.Pattern.<init>(Pattern.java:1337)
[run] at java.util.regex.Pattern.compile(Pattern.java:1022)
[run] at org.kepler.objectmanager.library.LibIndex.assureDemoFolder(LibIndex.java:1982)
[run] at org.kepler.objectmanager.library.LibIndex.assureKar(LibIndex.java:1813)
[run] at org.kepler.objectmanager.library.LibIndex.assureKarEntry(LibIndex.java:637)
[run] at org.kepler.objectmanager.library.LibIndex.rebuild(LibIndex.java:375)
[run] at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:381)
[run] at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
[run] at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:220)
[run] at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:139)
[run] at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:352)
[run] at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:369)
[run] at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1314)
[run] at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:499)
[run] at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
[run] at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
[run] at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:112)
[run] at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:241)
[run] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
[run] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:711)
[run] at java.awt.EventQueue.access$000(EventQueue.java:104)
[run] at java.awt.EventQueue$3.run(EventQueue.java:672)
[run] at java.awt.EventQueue$3.run(EventQueue.java:670)
[run] at java.security.AccessController.doPrivileged(Native Method)
[run] at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
[run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:681)
[run] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
[run] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
[run] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
[run] at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
Actions #1

Updated by Daniel Crawl over 12 years ago

I've checked in a fix. Reassigning to Derik to verify.

Actions #2

Updated by Derik Barseghian about 12 years ago

Looks good, closing.

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 5688

Actions

Also available in: Atom PDF