search for: mainloop

Displaying 20 results from an estimated 142 matches for "mainloop".

Did you mean: main_loop
2013 Jun 28
0
Server 2012 - 64bit NTPD Crash
...3493 0.031199 setuptcp: try to bind to 127.0.0.1 port 3493 0.031199 listening on 127.0.0.1 port 3493 0.046800 Connected to UPS [sspro]: blazer_usb-sspro 0.046800 Can't open c:\Program Files (x86)\NUT\sbin\..\etc/upsd.users: No such file or directory 0.062400 mainloop: wait for 4 filedescriptors 0.062400 mainloop: wait for 4 filedescriptors 0.062400 mainloop: wait for 4 filedescriptors 0.078001 mainloop: wait for 4 filedescriptors 0.078001 UPS [sspro]: dump is done 0.078001 mainloop: wait for 4 filedescriptors 2.106025 m...
2013 Jun 28
1
FW: Server 2012 - 64bit UPSD Crash
...3493 0.031199 setuptcp: try to bind to 127.0.0.1 port 3493 0.031199 listening on 127.0.0.1 port 3493 0.046800 Connected to UPS [sspro]: blazer_usb-sspro 0.046800 Can't open c:\Program Files (x86)\NUT\sbin\..\etc/upsd.users: No such file or directory 0.062400 mainloop: wait for 4 filedescriptors 0.062400 mainloop: wait for 4 filedescriptors 0.062400 mainloop: wait for 4 filedescriptors 0.078001 mainloop: wait for 4 filedescriptors 0.078001 UPS [sspro]: dump is done 0.078001 mainloop: wait for 4 filedescriptors 2.106025 m...
2011 Sep 01
2
upsd problem with NUT 2.6.1
...that messed up the demon. I now get wiley$ pfexec /opt/nut/sbin/upsd -DD Network UPS Tools upsd 2.6.1 0.000000 listening on 127.0.0.1 port 3493 0.000486 listening on ::1 port 3493 0.001279 Can't connect to UPS [eco550] (usbhid-ups-eco550): No such file or directory 0.003922 mainloop: polling 2 filedescriptors 2.013960 mainloop: no data available 2.014191 mainloop: polling 2 filedescriptors 4.024208 mainloop: no data available 4.024453 mainloop: polling 2 filedescriptors 6.034474 mainloop: no data available 6.034733 mainloop: polling 2 filedescriptors ^C...
2006 Feb 15
2
Increment Variable
What's the best way to increment a numeric variable in the dial plan? I tried this... exten => s,1,Set(mainLoop=${MATH(${mainLoop}+1)}) but that converts it to a floating point number (WHY???), so I end up with 1.0000, which later on means I have to perform string manipulation to get rid of the .0000. Thanks Doug
2008 Dec 21
1
upsd segfault.
...s. Running the driver in debug mode and pushing the switch give no change then the outlet state is shifting from off to pending on to on. can not see any garbage or extra data comming from the driver. This is what i get when running upsd in debug. ---------------------------- Pinging UPS [pw3105] mainloop: polling 3 filedescriptors Got PONG from UPS [pw3105] mainloop: polling 3 filedescriptors mainloop: no data available Pinging UPS [pw5125] mainloop: polling 3 filedescriptors Got PONG from UPS [pw5125] mainloop: polling 3 filedescriptors mainloop: no data available mainloop: polling 3 filedescripto...
2011 Sep 29
2
upsd fails to start
...t nak-server:/etc$ sudo upsd -DDDD Network UPS Tools upsd 2.4.3 0.000000 listen_add: added 127.0.0.1:3493 0.000103 setuptcp: try to bind to 127.0.0.1 port 3493 0.000379 listening on 127.0.0.1 port 3493 0.000708 Connected to UPS [Belkin]: usbhid-ups-Belkin 0.001701 mainloop: polling 2 filedescriptors 0.001842 mainloop: polling 2 filedescriptors 0.001950 mainloop: polling 2 filedescriptors 0.002065 mainloop: polling 2 filedescriptors 0.002179 mainloop: polling 2 filedescriptors 0.002225 UPS [Belkin]: dump is done 0.002243 mainl...
2016 Apr 26
3
New UPS Support: Eaton 5S 1000
...root nut 189, 828 Apr 26 11:38 /dev/bus/usb/007/061 # cat ups.conf [eaton] driver=usbhid-ups port=auto desc = "Eaton 5S" # cat nut.conf MODE=standalone #Log for 2.7.4 Apr 25 16:37:21 myhost upsd[20089]: Connected to UPS [eaton]: usbhid-ups-eaton Apr 25 16:37:21 myhost upsd[20089]: mainloop: polling 1 filedescriptors Apr 25 16:37:23 myhost upsd[20089]: mainloop: no data available Apr 25 16:37:23 myhost upsd[20089]: mainloop: polling 2 filedescriptors Apr 25 16:37:23 myhost upsd[20089]: Connected to UPS [eaton]: usbhid-ups-eaton Apr 25 16:37:23 myhost upsd[20089]: mainloop: polling 1 f...
2015 Jan 24
2
upds crash with 'Out of memory'
...127.0.0.1:3493 0.015628 setuptcp: try to bind to 127.0.0.1 port 3493 0.031310 listening on 127.0.0.1 port 3493 0.031310 setuptcp: try to bind to ::1 port 3493 0.031310 listening on ::1 port 3493 0.031310 Connected to UPS [xs1500]: usbhid-ups-xs1500 0.046874 mainloop: wait for 4 filedescriptors <snip> 33.390678 mainloop: no data available 33.390678 Pinging UPS [xs1500] 33.390678 mainloop: wait for 4 filedescriptors 33.406254 Got PONG from UPS [xs1500] 33.406254 mainloop: wait for 4 filedescriptors 34.749994 Out of mem...
2008 May 20
10
Asynchronous Pipe::Server problems
...9;t get the asynchronous server to work. When I try to run the test_server_async.rb code (in CVS) I get this: VERSION: 0.2.0 win32-pipe/lib/win32/pipe/server.rb:69:in `connect'': Waiting for a process to open the other end of the pipe. (Win32::Pipe::Error) from test_server_async.rb:70:in `mainloop'' from test_server_async.rb:101 Any ideas? Here''s the code, btw: # test_server_async.rb require ''win32/pipe'' include Win32 puts "VERSION: " + Pipe::VERSION Thread.new { loop { sleep 0.01 } } # Allow Ctrl-C CONNECTING_STATE = 0 READING_STATE = 1...
2015 Jan 08
3
Customising a CentOS 6.6 installation disk
...eviceProperties bus = dbus.SystemBus() File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 202, in __new__ private=private() File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 108, in __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 125, in __new__ bus = cls._new_for_bus(address_or_type, mainloop=mainloop) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote applicati...
2011 May 09
2
[LLVMdev] How does Timer work?
I slightly modified the Kaleidoscope example to print the timing data using the NamedRegionTimer as below: // Run the main "interpreter loop" now. { const char *GroupName = "MainLoop"; NamedRegionTimer T("Kaleidoscope", GroupName, true); MainLoop(); } My assumption was that when T goes out of scope, it will emit the data on the command line. But I see nothing. How does NamedRegionTimer work ? - sanjiv -------------- next part -------------- An HTML attach...
2015 Jan 27
0
upds crash with 'Out of memory'
...8 setuptcp: try to bind to 127.0.0.1 port 3493 > 0.031310 listening on 127.0.0.1 port 3493 > 0.031310 setuptcp: try to bind to ::1 port 3493 > 0.031310 listening on ::1 port 3493 > 0.031310 Connected to UPS [xs1500]: usbhid-ups-xs1500 > 0.046874 mainloop: wait for 4 filedescriptors > <snip> > 33.390678 mainloop: no data available > 33.390678 Pinging UPS [xs1500] > 33.390678 mainloop: wait for 4 filedescriptors > 33.406254 Got PONG from UPS [xs1500] > 33.406254 mainloop: wait for 4 filedescript...
2009 Aug 26
2
Error starting a virtual machine
...em unknown: internal error no supported architecture for os type 'hvm' in NodeWrap.cpp:ManagementMethod:414 ERROR Wed Aug 26 14:33:29 -0600 2009 (12750) /usr/share/ovirt-server/task-omatic/taskomatic.rb:395:in `task_start_vm'/usr/share/ovirt-server/task-omatic/taskomatic.rb:904:in `mainloop'/usr/share/ovirt-server/task-omatic/taskomatic.rb:890:in `each'/usr/share/ovirt-server/task-omatic/taskomatic.rb:890:in `mainloop'/usr/share/ovirt-server/task-omatic/taskomatic.rb:856:in `loop'/usr/share/ovirt-server/task-omatic/taskomatic.rb:856:in `mainloop'/usr/share/ovir...
2016 May 01
0
New UPS Support: Eaton 5S 1000
...ups.conf > [eaton] > driver=usbhid-ups > port=auto > desc = "Eaton 5S" > > # cat nut.conf > MODE=standalone > > > #Log for 2.7.4 > Apr 25 16:37:21 myhost upsd[20089]: Connected to UPS [eaton]: usbhid-ups-eaton > Apr 25 16:37:21 myhost upsd[20089]: mainloop: polling 1 filedescriptors > Apr 25 16:37:23 myhost upsd[20089]: mainloop: no data available > Apr 25 16:37:23 myhost upsd[20089]: mainloop: polling 2 filedescriptors > Apr 25 16:37:23 myhost upsd[20089]: Connected to UPS [eaton]: usbhid-ups-eaton > Apr 25 16:37:23 myhost upsd[20089]: m...
2010 Aug 20
2
segfault in embedded r after call to repldlldo1
Dear R developers, i've got a question concerning an embedded R instance. I called the initialization routines as seen in the "writing extensions" guide (Rf_initialize, setup_Rmainloop and R_ReplDLLinit). I also changed the function callback pointer of readconsole and writeconsoleex to my local functions. when i call mainloop there is no problem and the commands are evaluated as expected. because i don't want R to run in an own thread and my app should keep the control i...
2009 Jan 20
4
Mustek PowerMust 848
An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20090120/ffb91e55/attachment.htm
2019 Nov 18
2
Crash using exceptions
.../llvm/tree/master/examples/Kaleidoscope/BuildingAJIT/Chapter2. In toy.cpp, I update LogError to throw an exception: std::unique_ptr<ExprAST> LogError(const char *Str) { fprintf(stderr, "Error: %s\n", Str); throw std::runtime_error(""); } and I catch that exception in MainLoop: static void MainLoop() { while (true) { fprintf(stderr, "ready> "); try { switch (CurTok) { ... } } catch (std::runtime_error &e) { fprintf(stderr, "%s\n", e.what()); } } } I compile with: clang++ -g toy.cpp `llvm-config --c...
2010 Dec 23
2
upsd crashes with a "broken pipe" error
In /var/log/syslog Dec 23 13:04:50 ************** upsmon[2010]: Poll UPS [rack1ups at localhost] failed - Write error: Broken pipe After this, there is no longer a upsd daemon running. Error messages follow: Dec 23 13:04:50 ************** upsmon[2010]: Communications with UPS rack1ups at localhost lost ... Dec 23 13:04:55 ************** upsmon[2010]: UPS [rack1ups at localhost]: connect
2011 May 10
0
[LLVMdev] How does Timer work?
...Mon, May 9, 2011 at 10:20 PM, Sanjiv <llvmdev at gmail.com> wrote: > I slightly modified the Kaleidoscope example to print the timing data using > the NamedRegionTimer as below: > > // Run the main "interpreter loop" now. > { > const char *GroupName = "MainLoop"; > NamedRegionTimer T("Kaleidoscope", GroupName, true); > MainLoop(); > } > > My assumption was that when T goes out of scope, it will emit the data on > the command line. But I see nothing. > How does NamedRegionTimer work ? > > - sanjiv > ------...
2016 Feb 24
0
(no subject)
...e 30, in <module> bus = dbus.SystemBus() File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 202, in __new__ private=private) File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 108, in __new__ bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop) File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 125, in __new__ bus = cls._new_for_bus(address_or_type, mainloop=mainloop) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such...