GithubHelp home page GithubHelp logo

cutr-at-usf / hart-gtfs-realtimegenerator Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 6.0 7.15 MB

Desktop application that retrieves AVL data from Hillsborough Area Regional Transit (HART)'s AVL system and produces Trip Updates and Vehicle Positions files in GTFS-realtime format.

License: Other

Java 100.00%
avl gps gtfs gtfs-realtime-data hart java protocol-buffers public-transportation transit

hart-gtfs-realtimegenerator's People

Contributors

barbeau avatar bbodenmiller avatar ktran9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hart-gtfs-realtimegenerator's Issues

GTFS-realtimeGenerator doesn't recover properly when HART's SQL Server locks up

As of right now we don't have much of an error log to go on, but today around 10:06am the HART OrbCAD III database became unresponsive and the GTFS-realtime output froze. According to HART " the underlying issue began at 03/03/13 1:43 AM and went “up and down” until now".

HART OrbCAD III was restored to fully-functioning status at ~12:15pm, but the GTFS-realtime generator app didn't seemlessly resume. I kept refreshing the URLs for the trip and vehicle position feeds, and the timestamps never changed. I had to remote into OBA.forest.usf.edu and kill the current GTFS-realtimeGenerator process, and start a new one to get the GTFS-realtime feed back up.

mvn package results in an error

Hi folks,
I hope this finds you well. Thank you very much for providing this interesting repository. I cloned the github URL and ran 'mvn package -e -X' on the CLI of my Debian 10 system. I have no experience with maven. Does any one can provide me with a little advice what I can do about the following errors?

[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [DEBUG] incrementalBuildHelper#beforeRebuildExecution [INFO] Compiling 18 source files to /home/user/GitHub/HART-GTFS-realtimeGenerator/target/classes [DEBUG] incrementalBuildHelper#afterRebuildExecution [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Source option 5 is no longer supported. Use 6 or later. [ERROR] Target option 1.5 is no longer supported. Use 1.6 or later. [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.159 s [INFO] Finished at: 2021-02-03T11:26:51-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project cutr-gtfs-realtime-hart: Compilation failure: Compilation failure: [ERROR] Source option 5 is no longer supported. Use 6 or later. [ERROR] Target option 1.5 is no longer supported. Use 1.6 or later. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project cutr-gtfs-realtime-hart: Compilation failure at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:858) at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:129) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Cheers!

file not found

I run the DEMO of the Generator project of OneBusAway, taken from the website:

https://github.com/CUTR-at-USF/HART-GTFS-realtimeGenerator/wiki

but it doesn't work from CMD and i receive the follow message:

immagine

I run the project on Eclipse IDE and i can see that the main error is that i can't find the file "config.properties" called in the class to the following path:

HART-GTFS-realtimeGenerator-master\src\main\java\edu\usf\cutr\realtime\hart\services\HartToGtfsRealtimeServiceV2.java

Where is the file? How to solve the problem?

GTFS-realtimeGenerator seems to randomly stop producing data

Occasionally (e.g., every few weeks), the GTFS-realtimeGenerator seems to stall and stop producing updated GTFS-realtime data.

We configured this project to write log to file as explained in CUTR-at-USF/onebusaway-application-modules#17, and this is the log that we captured when this issue happened:

...
2013-04-21 06:04:09,324 INFO  [RetrieveTransitDataV2.java:60] : Executing SELECT query...
2013-04-21 06:04:09,355 INFO  [HartToGtfsRealtimeServiceV2.java:166] : [901369, 902701]
2013-04-21 06:04:09,371 INFO  [HartToGtfsRealtimeServiceV2.java:336] : tripUpdates = 2
2013-04-21 06:04:09,371 INFO  [HartToGtfsRealtimeServiceV2.java:337] : vehiclePositions = 2
2013-04-21 06:04:13,355 INFO  [Slf4jLog.java:67] : Stopped [email protected]:8088
Unable to access jarfile cutr-gtfs-realtime-hart-1.0.0.jar

"Stopped [email protected]:8088" seems to be the Jetty server shutting down, but I'm not sure why.

Doesn’t seem to have any other abnormal info in log other than “Unable to access jarfile cutr-gtfs-realtime-hart-1.0.0.jar” – and the only references I can find to this on Google are prior to starting the application, not during application execution. It could be triggered by an error in HART’s SQL Server, but I don’t have any evidence to verify this. From the log, and from randomly checking HART database, it seems to happen when HART database is still up – although, it could be caused by an intermittent connection issue that is fixed by the time I test again after getting this message.

It's possible that this could be caused by memory issues, since it seemed to start after we configured the application to output to a log file. These log files have been growing to 500MB or more.

Recently, we stopped logging output because of this concern, so we will see if this issue happens again.

error real-time Visualizer OneBusAway

hi all,
i contact you because i have problems with the DEMO project that i found on this webpage:

https://github.com/OneBusAway/onebusaway-gtfs-realtime-visualizer/wiki

where there is the possibility to visualize a map with the real-time vehicles in Boston.
I found 2 problems:

  1. the DEMO doesn't work because on the map are not visualized the vehicles even i can see (by comand line) the updates of the vehicles, so i receive data but they are not visualized on the map (i tried with Google Chrome, Mozilla Firefox, Internet Explorer).

  2. i tried to download, import on Eclipse IDE and run the project (from the same webpage) but i have the same result, so the buses are not visualized and plus i find a new problem (again in all browser used):

WebSocket connection to 'ws://localhost:8080/data.json' failed: Unexpected response code: 404

The problem is that i have also to import and run the project of the "Generator" (from this webpage: https://github.com/CUTR-at-USF/HART-GTFS-realtimeGenerator/wiki) or can you help me to solve this 2 problems?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.