Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#2240 closed Bug (fixed)

Cryptic information messages on startup

Reported by: krx Owned by: charles
Priority: Low Milestone: 1.73
Component: Transmission Version: 1.72
Severity: Minor Keywords: backport-1.5x


When stating transmission-daemon in the foreground mode, it outputs cryptic message "Not a regular file". I do not know if this indicated some error, but I think this should be checked out and corrected for more informative output.

[22:10:35.230] RPC Server: Adding address to whitelist:
[22:10:35.245] RPC Server: Serving RPC and Web requests on port 9091
[22:10:35.256] Transmission 1.72 (8702) started
[22:10:35.512] Watching "/mmc/transmission/torrents/drophere" for new .torrent files
[22:10:35.513] Using readdir to watch directory "/mmc/transmission/torrents/drophere"
[22:10:35.705] %s succeeded (%d): initnatpmp succeeded (0)
[22:10:35.707] %s succeeded (%d): sendpublicaddressrequest succeeded (2)
'''[22:10:36.023] Not a regular file'''
[22:10:41.936] Loaded 42 torrents
[22:10:43.751] Starting: Starting
[22:10:43.803] Starting: Starting

Change History (5)

comment:1 Changed 14 years ago by charles

That /is/ a really odd log message.

What platform are you running the daemon on?

Also, what happens if you make this change to libtransmission/natpmp.c:

Index: natpmp.c
--- natpmp.c	(revision 8723)
+++ natpmp.c	(working copy)
@@ -65,7 +65,7 @@ logVal( const char * func,
     if( ret == NATPMP_TRYAGAIN )
     if( ret >= 0 )
-        tr_ninf( getKey( ), _( "%s succeeded (%d)" ), func, ret );
+        tr_ninf( getKey( ), "%s succeeded (%d)", func, ret );
              getKey( ),

comment:2 Changed 14 years ago by krx

1.72 version on dd-wrt v24-sp2+ (DD-WRT v24-sp2 (02/18/09) mega (SVN revision 11650M NEWD Eko)) Asus WL-500gPv2, unmodified HW.

I am sorry, I am not participating in the development, as my time is limited. I can only get newest version from optware nslug2 repository, once it is out. I would gladly help on occasion.

comment:3 Changed 14 years ago by charles

  • Milestone changed from None Set to 1.73
  • Owner set to charles
  • Status changed from new to assigned
  • Summary changed from Cryptic informative message on the startup to Cryptic information messages on startup

Ah, the hazzards of static buffers.

comment:4 Changed 14 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in trunk in r8737 for version 1.73.

comment:5 Changed 13 years ago by charles

  • Keywords backport-1.5x added
Note: See TracTickets for help on using tickets.