Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Jmriusers
- Messages
Search
Locked
Re: JMRI Eclipse build problems with latest source "master" as of 9/18/18
wombat_rrnut
Regarding your reply: " described in the "Building and running JMRI using Ant” section on that same page...":
That works (BUILD SUCCESSFUL).? HOWEVER I have no way or instruction on how to run either DecoderPro or PanelPro after it works. When I go in Eclipse up to the "run", it ONLY shows the Maven options to run, which of course fail and crash (see above). I don't have any documentation on how to set it up to run under the Eclipse debugger from that build on. So total dead end at this point, unless someone can show me step by step how to do it.? Sorry about that.? I only know now to develop "standard" Eclipse projects that the IDE sets up for me (and that was poorly documented!). Regarding your reply: "Also, where did you get that URL?" I did a google search on it, and that's what it returned.? Though now when I try another search, it is the right location.? Sigh..... Sorry, can't help. |
Locked
Re: Parsing error during panel load with panel created in 4.8 using 4.12
The signalelements section is how Simple Signal Logic stores its configuration.
The message was saying that there were two separate definitions for logic for IH8. One was at or near line 5359; the other was probably earlier. Could perhaps the signalelements section have been duplicated in the file? Bob On Sep 18, 2018, at 5:36 PM, mabooker76 <mabooker76@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Parsing error during panel load with panel created in 4.8 using 4.12
Hi,
Getting this error when I load an older panel with the latest 4.12, or 4.10? Panel created in 4.8. Parse error while parsing file /C:/Users/martin/Desktop/PMRRC%20%recovery.xml Exception: org.jdom2.input.JDOMParseException: Error on line 5359: cvc-identity-constraint.4.2.2:Duplicate key value [IH8] declared for identity constraint "signalElementName" of element "signalelements". Deleting the lines concerning IH8 just moves the error to the next element down. Checked the file for 'scripts' versus 'program' and every item is using program [per an earlier posting]. Please advise, and thanks, Martin Booker Pasadena Model Railroad Museum pmrrc.org |
Locked
Re: JMRI Eclipse build problems with latest source "master" as of 9/18/18
Greg,
I use Eclipse, however I'm having some issues with the "Proton" release, but I'm able to build and run JMRI.? Contact me off list. Dan |
Locked
Re: transfer jmri
![]() Bobby Abrams On Tue, Sep 18, 2018 at 12:06 PM w2msj <lmfin@...> wrote:
|
Locked
Re: JMRI Eclipse build problems with latest source "master" as of 9/18/18
As to why the Maven build is not working, perhaps this is related:
which is related to: which seems to indicate that Windows gets confused when there are spaces in the directory path for Eclipse. Bob On Sep 18, 2018, at 3:52 PM, Bob Jacobsen <rgj1927@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: JMRI Eclipse build problems with latest source "master" as of 9/18/18
The Eclipse support community in JMRI is a little thin; there don’t seem to be very many people updating that documentation. I don’t use Eclipse, so don’t really know the details of what follows.
What you show below is Maven failing to build. It might work better to try the Ant-based builds, which are described in the "Building and running JMRI using Ant” section on that same page. (Also, where did you get that URL? We tried to change them all to point to jmri.org, not jmri.sourceforge.net, but apparently we missed some) Bob On Sep 18, 2018, at 1:56 PM, wombat_rrnut <gbedlek001@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Automatic sensors
George,
toggle quoted message
Show quoted text
The sensors are not part of the auto blocks blocks process. ? One possibility is that there is/was hardware on the layout that is/was reporting available sensors. ?To test this scenario, start PanelPro without loading a panel xml file. ?Use Tools >> Tables >> Sensors to see what sensors have been defined. ? Dave Sand On Sep 18, 2018, at 2:46 PM, george.pendergraft <gmpender@...> wrote: |
Locked
JMRI Eclipse build problems with latest source "master" as of 9/18/18
wombat_rrnut
I am familiar with Eclipse / Java, I've built several projects of my own with it.? I'm not
enough of an expert with it to find out why the JMRI builds don't work. Background: I would like to build JMRI so that I can add my own Java code (privately for now) to it, with a full CTC implementation like Dr. Bruce Chubbs system.? I presently have it running perfectly for 5 years+ with Jython scripts.? So first, I need to build JMRI without any of my "stuff". My machine is an 8 core 8 Gig Windows 7 Home premium system, I have 64 bit Eclipse Photon (4.8.0) and 64 bit JDK (10.0.2 64 bit) installed. Procedure followed: I went to the JMRI web page on this, followed the instructions EXACTLY: I’ve tried this FROM SCRATCH about 10 times. Yes, I have the JDK installed and selected per the instruction for the build, not the JRE. (also, I only downloaded "master" from GitHub). ? Every time the thing gets a “BUILD FAILURE” when I try to run DecoderPro. ?Here is the build log: ? [INFO] Scanning for projects... [INFO]? [INFO] ---------------------------< org.jmri:jmri >---------------------------- [INFO] Building JMRI 4.13.4-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The POM for org.slf4j:slf4j-api:jar:1.7.25 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.slf4j:slf4j-log4j12:jar:1.7.25 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.slf4j:jul-to-slf4j:jar:1.7.25 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for io.cucumber:cucumber-java8:jar:2.0.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.codehaus.mojo:animal-sniffer-annotations:jar:1.14 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more?details [WARNING] The POM for org.apache.commons:commons-text:jar:1.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.slf4j:slf4j-ext:jar:1.7.25 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [INFO]? [INFO] --- maven-antrun-plugin:1.8:run (default-cli) @ jmri --- [INFO] Executing tasks ? main: ? init: [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.076 s [INFO] Finished at: 2018-09-18T08:10:22-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (default-cli) on project jmri: An Ant?BuildException?has occured: The following error?occurred while executing this line: [ERROR] C:\Users\Gregory J. Bedlek\git\JMRI\build.xml:380: The following error occurred while executing this line: [ERROR] C:\Users\Gregory J. Bedlek\git\JMRI\build.xml:300: Unable to create javax script engine for javascript [ERROR] around Ant part ...<ant antfile="C:\Users\Gregory J. Bedlek\git\JMRI/build.xml">... @ 4:64 in C:\Users\Gregory J. Bedlek\git\JMRI\target\antrun\build-main.xml [ERROR] -> [Help 1] [ERROR]? [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR]? [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1]? I've tried to look at the raw lines in Build.xml for a hint, but I'm not smart enough to interpret what it's doing, or what I'm doing wrong, or what I'm missing? ? ? ? If I try to run PanelPro, I get a popup error immediately instead of a build process, and nothing else happens. It says (with a big red X): Exception occurred during launch. Reason: Variable references non-existent resource: ${workspace_loc/JMRI} Help please! Sincerely Greg ? What gives? |
Locked
Re: USB reconnection and programming decoders from PanelPro
David Z,
I'd agree with what you say, possible, but not easy to do nor support. I think I'd go as far as saying the many different systems and combinations of ages would make supporting this even harder. What may works for one version of a system may break on an older/newer version. By the time we come covered, I suspect there would always be more combinations needing to be fixed or added. But your bottom line of it not being likely worth the effort for our community of developers seems reasonable. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com www.syracusemodelrr.org |
Locked
Re: Automatic sensors
Hi Dave, A little late getting back to you on this subject. OK, so it is not "automatic sensors", but "automatic blocks" that produce sensors automatically in automatic blocks.? However the sensors are produced, I have a lot of them, but I do not know where each one is located on the layout or how to identify them on the Layout Editor panel of my layout.? I also do not know how to used them. I have sent the layout to the (Problems being worked on) folder and you made some changes/fixes for me. I have not modified the layout very much (but since removed a switch due to track derailments).? 1- If I can use those sensors some how I would like to know. Can they be used, and how do I give them a real name? Or are they useless without a real physical sensor? Or do I have to start over again with the sensors or blocks? I believe my layout is George Layout 2- Not real sure where to add new blocks so that I can do more with the layout. Can you help with that? Maybe just give me some suggestions? Thanks, George |
Locked
transfer jmri
w2msj
开云体育? This may be a bit off topic – My windows 10 computer with latest verson of jmri is on the 2nd floor – my RR XP computer is in the basement.? I have just purchased a new win 10 computer and want to copy the contents of my existing windows 10 computer to the new computer rather than just jmri and the RR files ? Lynn Finch |
Locked
Re: Sprog and track power-FYI
Bob Potter
Rob?ROBERT ROBINS Sep 17? ?#151897??Not sure about pi-sprog but i tried both power on to sprog before activating jmri and power off until jmri active. Saw no effect either way. Sprog 3 worked fine either way? once the “track power at startup” was on. I did notice this choice is not present on digitrax and some others. I wonder if it is what the release note “fixed power issue” was about in the Sprog section?? Rob, Please advise what version your SPROG 3 reports. I have v4.3 but nowhere do I see the option about track power at startup. I only have the (no)option for 9.6 baud. Thanks, Bob |
Locked
Re: USB reconnection and programming decoders from PanelPro
All of david’s points below are very true.
There are a couple places where people have added JMRI code to handle “where did it go?” errors. But it tends to be very case-by-case, because it’s not just the connection that was lost: The external hardware can be in a messy state too. If anybody who’s having cable trouble wants to work in this area, I’d be happy to help them get started. The basic “reconnect in place” code isn’t that complicated. But even if somebody writes that code, there’s no way that JMRI can avoid a disruption when a cable is disconnected. When that happens, the pieces can’t talk to each other until it’s fixed. Bob On Sep 18, 2018, at 7:55 AM, david zuhn <zoo@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: USB reconnection and programming decoders from PanelPro
I have applications which (when running) notice the addition & removal of devices and then do the right thing accordingly.? ? It would be entirely possible to note (via code in JMRI application) when the connection is lost, and then have the application attempt to restart the connection automatically.? ?You'd need to loop around the restart, because it may be a while (if ever) before the connection comes back.?? Trying to notice when the underlying devices are lost and then recreated (such as Linux/macOS will do, don't know what it looks like on Windows) is also possible, but involves a bunch of code that is system specific, and Java has worked fairly hard to isolate the application programming from that system specific work, to the point of not providing all of the APIs that would make this reasonable. So it's possible.? ?It's also a lot of fiddly work, which would mostly serve as a workaround for faulty physical connections.? ? It would have some value for situations where the computer is on one power circuit, and the layout on another, so JMRI could be responsive to the sudden appearance of the layout control system.? ? Solving this problem would probably also resolve many of the concerns that lead us to having to restart JMRI when making certain preference changes.? ?The application could close the current connection, and then restart it again with the new configuration.? ?? I suspect by this time the changes needed to make this all work properly will be very complex, and not a good match to the sorts of things that tend to be done by volunteers (who get to pick and choose what they're interested in working on).? ?? david zuhn The State Belt Railway of California zoo @ |
Locked
Re: Essential Sound Unit - Scale Trains Operator class - ESU
OK Dave, we all need a rest now and then, you enjoy your holidays, turn off the
toggle quoted message
Show quoted text
computer and go surfing. So what's on the barbie this evening? I have family in Melbourne, Frankston, had a great time, even got to Tasmania. John ---------- Original Message ---------- |
Locked
Re: USB reconnection and programming decoders from PanelPro
开云体育This is not just a Windows problem. It also applies to Mac and (as far as my memory serves me) Linux. I think It may not be something a JMRI code change can fix. My understanding is that the inability for JMRI to recover from a disappearing port is a partly a limitation of the?PureJavaComm serial libraries we use and also the RXTX serial libraries we previously used. (Java does not have inbuilt serial support so we have to use a third-party library.) Once a connection is lost, the file handle connecting to the port is no longer valid and a new one has to be created by reopening the port. But that means that existing JMRI threads using the port need to be shut down and restarted, effectively a full restart of JMRI. (This is like editing a document file on your computer and then having someone delete it and replace it with a new file while you are working on it. You can't just keep going, you have to stop working on the nonexistent original file and instead open the new file. I'm sure my description is not fully accurate and one of the other developers can clarify, as well as whether it really can't be fixed with simply writing some more JMRI code. --? Dave in Australia The New England Convention 2018 On 18 Sep 2018, at 12:32 AM, Ken Cameron <kcameron@...> wrote:
Due to the way Windows drivers work, it is not possible for JMRI at this |
Locked
Re: USB reconnection and programming decoders from PanelPro
开云体育The only certain way around this is to physically secure the USB cable at all disconnection points. --? Dave in Australia The New England Convention 2018 On 17 Sep 2018, at 11:00 PM, bluetobits <steve.lomax@...> wrote:
I tried as you suggest to no avail. The PC recognises the re-inserted USB cable and the device, JMRI doesn't seem to rescan the ports, or try to reconnect once the connection is lost. Closing down? and restarting JMRI always corrects the issue, but this takes time, and any locos that are running at the time of disconnection continue running out of control until JMRI is fully re-loaded and the train driver app has picked up and reconnected to the wi-fi server. In the meantime all sensor information is lost and turnouts reset to defaults. I usually only realise the USB connection has been lost? when things, very quickly,? start to go horribly wrong. A dash to switch off the power? or a deft removal of the runaway trains from the layout is the only way to prevent collision , derailment and any resulting damage.? Fortunately, It doesn't happen very often. |
Locked
Re: Essential Sound Unit - Scale Trains Operator class - ESU
开云体育Tom's description of the current situation with the?Essential Sound Unit is correct. John, I'm on holiday today and have been otherwise occupied since my morning coffee.? --? Dave in Australia The New England Convention 2018 On 18 Sep 2018, at 7:59 AM, Tom Wilson <thomasthetrainengine@...> wrote:
I think I read in the ESU group that Dave Heap is working on that definition pending some clarification of some information from ESU company. I bet he will chime in soon to confirm or clarify. |
Locked
Re: Trying to place signals at edge connector boundary between panels
Don,
toggle quoted message
Show quoted text
The connection definition for a pair of edge connectors is “block X on panel A connects to block Y on panel B”. It is a logical connection at the block level with the blocks on different panels. Since it is a block boundary, it is possible to assign signal masts and NX sensors to an edge connector. I have submitted a change which makes it possible to assign signal heads to an edge connector. Dave Sand On Sep 17, 2018, at 11:50 PM, Don Weigt <dweigt47@...> wrote: |
to navigate to use esc to dismiss