!fGsJOaXhgnTCFCghEl:matrix.org

open-transport

247 Members
🚲 🚆 🚊 🚡 🚀 🛴 (de) (bridged to #transport in the okf slack)42 Servers

Load older messages


SenderMessageTime
3 Mar 2024
@fale:fale.ioFale
Traceback (most recent call last):
  File "/transitous/./src/generate-motis-config.py", line 62, in <module>
    "authorization": source.authorization
                     ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'HttpSource' object has no attribute 'authorization'
transitous@a376962f91a3:/transitous$ ```
22:19:52
@fale:fale.ioFale *
transitous@a376962f91a3:/transitous$ ./src/generate-motis-config.py import
Traceback (most recent call last):
  File "/transitous/./src/generate-motis-config.py", line 62, in <module>
    "authorization": source.authorization
                     ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'HttpSource' object has no attribute 'authorization'
transitous@a376962f91a3:/transitous$ ```
22:20:14
@jbb:matrix.orgJBBIt should be type: url instead of http22:20:40
@fale:fale.ioFalethanks :)22:21:05
@fale:fale.ioFale
In reply to @jbb:matrix.org
And then just check whether you can see delays, for trains that have live data but are on time it should show "+0"
Where should I see the "+0"?
22:29:32
@jbb:matrix.orgJBB
In reply to @fale:fale.io
Where should I see the "+0"?
When hovering over a vehicle on the map
22:29:54
@fale:fale.ioFalethere is no +0 there22:30:18
@fale:fale.ioFalesohuld busses also have it?22:30:28
@jbb:matrix.orgJBBDepends a lot on if the operator provides complete data, but in general it should be supported for all types of vehicle22:31:09
@jbb:matrix.orgJBB
In reply to @fale:fale.io
there is no +0 there

Does the name of the realtim feed match the name of the static feed?

(We really need documentation on this)

22:31:48
@fale:fale.ioFalenope, they have different names, if we are talking about the filename22:32:20
@jbb:matrix.orgJBB
In reply to @fale:fale.io
there is no +0 there
*

Does the name of the realtime feed match the name of the static feed?

(We really need documentation on this)

22:32:34
@jbb:matrix.orgJBB
In reply to @fale:fale.io
nope, they have different names, if we are talking about the filename
the "name": "something" attribute
22:32:41
@fale:fale.ioFaleI thought that should always be unique22:32:58
@fale:fale.ioFaleso I'm putting different ones22:33:08
@jbb:matrix.orgJBBNormally yes, the realtime feeds however need to have the same name as their static feed22:33:32
@jbb:matrix.orgJBBBecause technically it's just a diff update of the old feed, and motis needs to know what to apply it too22:33:54
@fale:fale.ioFalewhat if there are multiple RTs for one GTFS file? All same name?22:33:53
@jbb:matrix.orgJBB
In reply to @fale:fale.io
what if there are multiple RTs for one GTFS file? All same name?
yes
22:34:47
@fale:fale.ioFalehere is the issue22:48:45
@fale:fale.ioFale
[debg][2024-03-03T22:48:23Z+0000][logging.h:68] http request GET https://romamobilita.it/sites/default/files/rome_rtgtfs_trip_updates_feed.pb
[debg][2024-03-03T22:48:23Z+0000][logging.h:68] http request GET https://romamobilita.it/sites/default/files/rome_rtgtfs_vehicle_positions_feed.pb
[debg][2024-03-03T22:48:23Z+0000][logging.h:68] http request GET https://romamobilita.it/sites/default/files/rome_rtgtfs_service_alerts_feed.pb
[erro][2024-03-03T22:48:23Z+0000][nigiri.cc:332] GTFS-RT update error (tag=it-Lazio-Rome) Service not found
[erro][2024-03-03T22:48:23Z+0000][nigiri.cc:332] GTFS-RT update error (tag=it-Lazio-Rome) Service not found
[erro][2024-03-03T22:48:23Z+0000][nigiri.cc:332] GTFS-RT update error (tag=it-Lazio-Rome) Service not found
[info][2024-03-03T22:48:23Z+0000][nigiri.cc:345] it-Lazio-Rome: parser_error=1
[info][2024-03-03T22:48:23Z+0000][nigiri.cc:345] it-Lazio-Rome: parser_error=1
[info][2024-03-03T22:48:23Z+0000][nigiri.cc:345] it-Lazio-Rome: parser_error=1
22:48:51
@jbb:matrix.orgJBBThat could be a problem with the feed itself. Maybe try one of the online validation tools.22:50:33
@fale:fale.ioFaleI'll push the static part and keep the RT part locally to try ro understand how to make it work properly23:06:17
@fale:fale.ioFalethough in the meantime I managed to run motis for the first time on my machine and now I also have the basemap which greatly increase the usability of it :)23:06:55
4 Mar 2024
@lyupak:matrix.orgJapper (They/Them)Does the KTrip serve a purpose not already fulfilled by KItinerary? Or is KItinerary meant to be a replacement for it?04:16:38
@felix.guendling:matrix.orgFelix Gündling Can you try to install the /etc/services file?(on Ubuntu for example run sudo apt install netbase). 07:25:57
@felix.guendling:matrix.orgFelix Gündling

https://www.boost.org/doc/libs/1_84_0/boost/asio/ip/basic_resolver_query.hpp

@note On POSIX systems, service names are typically defined in the file <tt>/etc/services</tt>. On Windows, service names may be found in the file <tt>c:\windows\system32\drivers\etc\services</tt>. Operating systems may use additional locations when resolving service names.

Probably we could eliminate the need for this file by hardcoding the mapping for HTTP=80 and HTTPS=443.

07:32:49
@felix.guendling:matrix.orgFelix Gündling *

https://www.boost.org/doc/libs/1_84_0/boost/asio/ip/basic_resolver_query.hpp

@note On POSIX systems, service names are typically defined in the file /etc/services. On Windows, service names may be found in the file c:\\windows\\system32\\drivers\\etc\\services. Operating systems may use additional locations when resolving service names.

Probably we could eliminate the need for this file by hardcoding the mapping for HTTP=80 and HTTPS=443.

07:33:35
@felix.guendling:matrix.orgFelix Gündling *

https://www.boost.org/doc/libs/1_84_0/boost/asio/ip/basic_resolver_query.hpp

@note On POSIX systems, service names are typically defined in the file /etc/services. On Windows, service names may be found in the file c:\windows\system32\drivers\etc\services. Operating systems may use additional locations when resolving service names.

Probably we could eliminate the need for this file by hardcoding the mapping for HTTP=80 and HTTPS=443.

07:33:51
@tpikonen:nitro.chattpikonen joined the room.21:20:51

There are no newer messages yet.


Back to Room ListRoom Version: 5