Displaying 20 results from an estimated 51 matches for "status_code".
2006 Oct 16
2
CUPS Problem
...e (eg. cat file | lpr), this is the result I got. The print job came out just fine.
=================================
D [15/Oct/2006:14:53:53 -0600] AcceptClient: 8 from localhost:631.
D [15/Oct/2006:14:53:53 -0600] ReadClient: 8 POST / HTTP/1.1
D [15/Oct/2006:14:53:53 -0600] ProcessIPPRequest: 8 status_code=1
D [15/Oct/2006:14:53:53 -0600] ReadClient: 8 POST / HTTP/1.1
D [15/Oct/2006:14:53:53 -0600] ProcessIPPRequest: 8 status_code=1
D [15/Oct/2006:14:53:53 -0600] ReadClient: 8 POST / HTTP/1.1
D [15/Oct/2006:14:53:53 -0600] ProcessIPPRequest: 8 status_code=0
D [15/Oct/2006:14:53:53 -0600] CloseClient:...
2018 Apr 25
2
Wanted: WebRTC tutorial
...r 24 20:34:48] DEBUG[17170] http.c: HTTP opening session.? Top level
[Apr 24 20:34:48] DEBUG[17170] http.c: HTTP Request URI is /cyber/index.html
[Apr 24 20:34:48] DEBUG[17170] http.c: Requested URI [/cyber/index.html] has no handler
[Apr 24 20:34:48] DEBUG[17170] http.c: HTTP keeping session open. status_code:404
When I serve it from apache, the web ui appears, but never connects.
Using the firefox dev tools/console I see firefox can't establish a connection the server at wss://<IP address>:8089/ws
The asterisk debug log shows:
[Apr 24 20:39:21] DEBUG[19041] http.c: HTTP opening session.?...
2007 Dec 13
1
Merb::RenderMixin#set_status refers to non-existent RESPONSE_CODES constant
#set_status
http://merb.devjavu.com/browser/trunk/lib/merb/mixins/render.rb#L270
refers to a non-existent constant. I tried, while creating #359, to
make things OK, but I failed. I started by using STATUS_CODES instead,
then used #[] instead of calling a method named STATUS_CODES, then I
found out that during the call to #inherited
http://merb.devjavu.com/browser/trunk/lib/merb/exceptions.rb#L111, the
STATUS constant isn''t defined (yet). I tried to add a #status method to
Base, but even th...
2014 Feb 11
4
[PATCH 0/3] virt-builder: copy local files instead of using curl
Hi,
this patch serie does a small optimisation in virt-builder, i.e. make
its internal Downloader just copy files when the source is a local URI,
instead of spawn curl in this case too.
Pino Toscano (3):
builder: isolate C libraries in an own OCAMLCLIBS
builder: prepare for different per-protocol download actions
builder: do a copy when downloading local files
builder/Makefile.am | 13
2007 Jul 31
2
controller exceptions
...b::ControllerException. The Merb dispatcher would rescue any
exception which was a kind_of ControllerException. Derived from
ControllerException would be an exception for each of the HTTP error
codes. For example:
module ControllerExceptions
class Unauthorized < ControllerException
STATUS_CODE = 401
# ...
class Forbidden < ControllerException
STATUS_CODE = 403
# ...
class NotFound < ControllerException
STATUS_CODE = 404
# ...
Application authors could place addition derivations into
dist/app/exceptions. These must be children of an already d...
2015 Mar 18
0
[PATCH 2/2] builder: support for download resume
...he final filename.
*)
let filename_new = filename ^ "." ^ string_random8 () in
- unlink_on_exit filename_new;
(match parseduri.URI.protocol with
| "file" ->
@@ -115,11 +114,20 @@ and download_to ~prog t ?(progress_bar = false) ~proxy uri filename =
if bad_status_code status_code then
error (f_"failed to download %s: HTTP status code %s") uri status_code;
+ let cmd = sprintf "ls %s.* 2>/dev/null" filename in
+ let lines = if continue
+ then external_command ~prog ?ignore_error:(Some true) cmd
+ else [] in
+ let...
2006 Mar 23
8
DRY principle - how to implement?
...39;. Is it better to use:
1)
record.status_id = SendStatus.find(:one, :condition => "code=''sent''").id
to set status of record, or it would be better to set ''code'' as foreign
key instead of ''id''. That way I could write:
2)
record.status_code = ''sent'';
I am not sure which is better way to do this, especially according to
DRY principle of Rails; in first case it seems that I have one more SQL
statement in for every record processed. Second way does not seems
preferred in Rails (or I just didn''t see it anywh...
2015 Mar 18
5
[PATCH 0/2] [RFE] virt-builder should support download resume
This patchset adds support for resuming downloads in virt-builder.
Partially downloaded file is not deleted on exit anymore.
There is a check for partially downloaded image in cache directory
based on its name. When found, download_to crafts appropriate
options to continue its download.
Maros Zatko (2):
mllib: allow external_command to return [] on nonzero return value
builder: support for
2016 Jul 17
0
firewalld cloud-init dhcp error
...!!!!!!Route info
failed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Jul 17 14:21:01 biz105 cloud-init: 2016-07-17 14:21:01,476 -
url_helper.py[WARNING]: Calling '
http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [3/120s]:
unexp
ected error ['NoneType' object has no attribute 'status_code']
Jul 17 14:21:04 biz105 cloud-init: 2016-07-17 14:21:04,482 -
url_helper.py[WARNING]: Calling '
http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [6/120s]:
unexp
ected error ['NoneType' object has no attribute 'status_code']
Jul 17 14:21:07 biz105 cloud-in...
2016 Apr 04
0
Using R for cURL commands,Message-ID:
...ue to the API I'm talking to, an internal one that's a
bit odd in its return codes, but still it gives you the idea.
auth <- authenticate(id$lanid, id$password, type="basic")
query <- POST(url=control$posturl, body= xlist, auth, encode="json")
if (status_code(query) >= 300) handle_reset(control$posturl)
if (status_code(query) == 401)
stop("invalid lanid/password for this application")
else if (status_code(query) == 400)
stop("internal error from dart package: 'syntax of request'")...
2004 Mar 04
0
SAMBA 3.0.2 printing problem
.../2004:10:31:39 +0200] StopJob: printer state is 3
D [03/Mar/2004:10:31:40 +0200] AcceptClient() 3 from localhost:631.
D [03/Mar/2004:10:31:40 +0200] AcceptClient() 5 from localhost:631.
D [03/Mar/2004:10:31:40 +0200] ReadClient() 5 POST / HTTP/1.1
D [03/Mar/2004:10:31:40 +0200] ProcessIPPRequest: 5 status_code=0
D [03/Mar/2004:10:31:40 +0200] CloseClient() 5
D [03/Mar/2004:10:31:40 +0200] AcceptClient() 5 from localhost:631.
D [03/Mar/2004:10:31:40 +0200] ReadClient() 5 POST / HTTP/1.1
D [03/Mar/2004:10:31:40 +0200] ProcessIPPRequest: 5 status_code=0
D [03/Mar/2004:10:31:40 +0200] CloseClient() 5
D [03/M...
1999 Jan 24
1
HPUX 9.05 & Samba 2.0.0 & problems -> solved !
...e_status);
+ CatchSignal(SIGCLD, SIGNAL_CAST sig_cld_leave_status);
}
diff -u --recursive --new-file source/smbd/open.c source.new/smbd/open.c
--- source/smbd/open.c Thu Dec 31 03:37:01 1998
+++ source.new/smbd/open.c Sun Jan 24 23:32:32 1999
@@ -225,8 +225,10 @@
*/
pid_t wpid;
int status_code;
- if ((wpid = sys_waitpid(child_pid, &status_code, 0)) < 0) {
- DEBUG(0,("check_access_allowed_for_current_user: The process is no
longer waiting!\n"));
+ while ((wpid = sys_waitpid(child_pid, &status_code, 0)) < 0) {
+ if(errno == EINTR)
+ continue;...
2006 Feb 01
1
Rails pagination problem
...r clause is
dynamic and may be by status name which in status model (program model
belongs_to status)
The :include works fine on Program.find(...) in console as below:
>> p = Program.find(:all, :include => [:status], :order =>
''program_name'' ).each { |prog| puts prog.status_code,
prog.status.Status}
Is this a sql server issue or I am not doing something correctly.
--Jeet
--
Posted via http://www.ruby-forum.com/.
2007 Apr 23
0
request logging: around_filters can't see error responses!
Hello,
I want to emit a structured log entry (in YAML) for every request that
hits my Rails app. For example, an entry in this log would look
something like:
---
SYSTEM_TIME: 0.0166666666666667
USER_TIME: 0.0999999999999996
DB_TIME: 0.00247621536254883
REAL_TIME: 0.091976
STATUS_CODE: 500
SESSION_ID: 64ad46a8841c66bbf64e93335cedc50d
REQUEST_ID: 32d6a42f-da58-43e2-ab27-09d3e2a775cb
RESPONSE_BODY_SIZE: 7001
REMOTE_IP: 127.0.1.1
TIMESTAMP: 2007-04-23 12:05:41.555780 -07:00
USER_AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/
20060601 Firefox/2.0.0.3 (Ubuntu-edgy)...
2016 Jul 16
1
Problem with cloud-init on re-boot
...like the following:
------------------------------
Jan 1 14:39:04 alfred cloud-init: 2016-01-01 14:39:04,351 -
url_helper.py[WARNING]:
Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed
[2/120s]:
unexpected error ['NoneType' object has no attribute 'status_code']
------------------------------
Re-booting with the current kernel, 3.10.0-327.22.2.el7.x86_64,
sometimes fails, I think because of this problem,
although the previous kernel seems to avoid the issue.
I've actually disabled cloud-init, but I'm wondering
if there is a simple solution...
2005 Sep 19
1
PSDRV_FindPrinterInfo Error, trying to use kprinter
...SDRV_FindPrinterInfo Error 2 getting PPD file name for printer
'HL1240'
The server cupsd error log shows
D [19/Sep/2005:13:19:48 -0700] AcceptClient() 3 from 192.168.0.100:631.
D [19/Sep/2005:13:19:48 -0700] ReadClient() 3 POST / HTTP/1.1
D [19/Sep/2005:13:19:48 -0700] ProcessIPPRequest: 3 status_code=0
$lpstat -a
HL1240 accepting requests since Jan 01 00:00
I tried configuring conf and wini.ini files as dicussed in
www.deesconsulting.com/howtos/wine-kprinter.txt with no luck.
I also tried placing the ppd file in the working directory from the Quickbooks
executable as well as in other areas,...
2015 Mar 23
1
[PATCH v4] [RFE] virt-builder should support download resume
This adds support for resuming downloads in virt-builder.
Partially downloaded image is not deleted on exit anymore.
There is a check for partially downloaded image in cache directory
based on its name. When found, download_to crafts appropriate
options to continue its download.
Fixes RHBZ#1198344
Ammended for forgotten unlink_on_exit and fixed call with optional
aguments.
Maros Zatko (1):
2015 Mar 23
2
[PATCH v3] [RFE] virt-builder should support download resume
This adds support for resuming downloads in virt-builder.
Partially downloaded file is not deleted on exit anymore.
There is a check for partially downloaded image in cache directory
based on its name. When found, download_to crafts appropriate
options to continue its download.
Fixes RHBZ#1198344
Ammended for forgotten unlink_on_exit.
Maros Zatko (1):
builder: support for download resume
2020 Jan 14
1
CRAN check fails if website is unavailable on Fedora platforms
...y run
if the website is accessible and to avoid the CRAN checks to fail:
> library(testthat)
> library(qrandom)
> check_qrng <- function(){
> tryCatch(
> expr = {
> req <- curl::curl_fetch_memory('https://qrng.anu.edu.au/index.php')
> req$status_code
> },
> error = function(e){
> -1
> }
> )
> }
> ## test package separated with filter due to limited Travis-CI build time
> ## HTTP status 200 indicates ?OK?
> if(curl::has_internet() & check_qrng() == 200){
> test_check('qrandom',...
2015 Mar 20
2
[PATCH] [RFE] virt-builder should support download resume
This patchset adds support for resuming downloads in virt-builder.
Partially downloaded file is not deleted on exit anymore.
There is a check for partially downloaded image in cache directory
based on its name. When found, download_to crafts appropriate
options to continue its download.
Fixes RHBZ#1198344
*** BLURB HERE ***
Maros Zatko (1):
builder: support for download resume