Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#44409 closed defect (fixed)

mpstats @0.1.4: daemon fails to work properly

Reported by: cooljeanius (Eric Gallager) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: mpstats

Description

It leaves behind the following messages in my Console.app:

7/23/14 11:08:03 AM	org.macports.mpstats[99160]	couldn't find HOME environment variable to expand path
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	    while executing
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	"file normalize $px"
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	    (procedure "::tcl::tm::roots" line 7)
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	    invoked from within
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	"::tcl::tm::roots {~/Library/Tcl /Library/Tcl /System/Library/Tcl} "
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	    invoked from within
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	"if {![interp issafe]} { ::tcl::tm::roots {~/Library/Tcl /Library/Tcl /System/Library/Tcl} }"
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	    (file "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/Scripts/tm.tcl" line 381)
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	    invoked from within
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	"source /System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/Scripts/tm.tcl"
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	    (in namespace eval "::" script line 1)
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	    invoked from within
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	"namespace eval :: $auto_index($name)"
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	    (procedure "auto_load" line 35)
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	    invoked from within
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	"auto_load $name [uplevel 1 {::namespace current}]"
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	    (autoloading "::tcl::tm::UnknownHandler")
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	    (procedure "::unknown" line 30)
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	    invoked from within
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	"::tcl::tm::UnknownHandler  {::tcl::MacOSXPkgUnknown ::tclPkgUnknown} macports 0-"
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	    ("package unknown" script)
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	    invoked from within
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	"package require macports"
7/23/14 11:08:03 AM	org.macports.mpstats[99160]	    (file "/opt/local/libexec/mpstats" line 43)
7/23/14 11:08:03 AM	com.apple.launchd[1]	(org.macports.mpstats[99160]) Exited with exit code: 1

Further info:

$ port installed mpstats
The following ports are currently installed:
  mpstats @0.1.4_0 (active)
$ port contents mpstats
Port mpstats contains:
  /Library/LaunchDaemons/org.macports.mpstats.plist
  /opt/local/etc/LaunchDaemons/org.macports.mpstats/org.macports.mpstats.plist.default
  /opt/local/etc/macports/stats.conf
  /opt/local/libexec/mpstats
$ uname -a
Darwin ericgallagersMacBookPro.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
$ port version
Version: 2.3.1

Change History (6)

comment:1 Changed 5 years ago by neverpanic (Clemens Lang)

Cc: cal@… removed

Cc Me!

comment:2 Changed 5 years ago by neverpanic (Clemens Lang)

Cc: cal@… added

Cc Me!

comment:3 Changed 5 years ago by mf2k (Frank Schima)

Cc: cal@… removed
Owner: changed from macports-tickets@… to cal@…

comment:4 Changed 5 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

r123308, thanks.

comment:5 in reply to:  4 Changed 5 years ago by cooljeanius (Eric Gallager)

Replying to cal@…:

r123308, thanks.

Just confirming that this fix seems to have worked (for this specific issue at least; now I am getting a "Timeout was reached" error, but I think that that is just an issue with my internet connection...)

8/15/14 5:07:51 PM	org.macports.mpstats[13995]	Submitting data to http://stats.macports.neverpanic.de/submissions ...
8/15/14 5:08:59 PM	org.macports.mpstats[13995]	Error: Timeout was reached
8/15/14 5:08:59 PM	org.macports.mpstats[13995]	    while executing
8/15/14 5:08:59 PM	org.macports.mpstats[13995]	"curl post "submission\[data\]=$json" $stats_url"

comment:6 Changed 5 years ago by neverpanic (Clemens Lang)

Yeah, that's your internet connection. The daemon will retry in a week.

Note: See TracTickets for help on using tickets.