Posts

tortoisesvn - Tortoise SVN: unable to revert -

simply put: right-click menus seem missing option revert previous revisions. i'm using version 1.7.5. according file, when rmb on revision, should see: compare working copy show changes unified diff compare previous revision compare , blame previous revision list item view revision in webviewer view revision path in webviewer browse repository create branch/tag revision update item revision... revert revision revert changes revision merge revision to... checkout... export... edit author edit log message shoe revision properties copy clipboard search log messages... instead, this: show changes unified diff compare previous revision save revision to... open open with... blame... browse repository create branch/tag revision edit author edit log message shoe revision properties copy clipboard search log messages... my repository in directory on own machine; i'm not connecting server. any ideas? the first menu shown when start log dialog working copy, i.e....

sql - Want to process a large appengine log file -

i run app on google app engine.....my log files huge due heavy traffic log file looks this 122.167.221.243 - - [06/mar/2012:01:11:29 -0800] "get /bengali/enable http/1.1" 404 0 "http://www.epicsearch.in/" - ---similar rows ---- below i want process them meaningful stats such no. of unique ip addresses or no. of hits on given page.... beginner not know how go it!!!!! assuming haven't done so, first thing you'll want download app engine logs using appcfg.py utility, example: appcfg.py --num_days=5 request_logs appname/ logs.txt after download it, have throw script or program parse logs whatever information you deem useful. this stack overflow question might place start -- decent scripting language should able adequately parse logs you.

objective c - RestKit RKObjectLoader objectLoader didLoadObjects failed on device -

i using restkit , stuck problem. i've tried quite lot of things solve this, return no success. :) - (void)objectloader:(rkobjectloader*)objectloader didloadobjects:(nsarray*)objects { nslog(@"objects count: %d.", [objects count]); nslog(@"editions count: %d.", [editions count]); [editions release]; editions = [objects retain]; nslog(@"objects count: %d.", [objects count]); nslog(@"editions count: %d.", [editions count]); edition *edition = [objects objectatindex:0]; nslog(@"edition title: %@.", [edition title]); } the console above code is: 2012-03-07 18:02:58.477 appname[2870:207] objects count: 1. 2012-03-07 18:02:58.478 appname[2870:207] editions count: 0. 2012-03-07 18:02:58.479 appname[2870:207] objects count: 1. 2012-03-07 18:02:58.479 appname[2870:207] editions count: 1. 2012-03-07 18:02:58.480 appname[2870:207] *** -[nscfarray title]: unrecognized selector sent instance 0x1ada60 2012...

ruby - Japanese characters not supported by rmagick -

i'm tring build voucher template rmagick, (using utf8 encoding) below small code snippet text.annotate(template, 0, 0, 23, 155, offer_label) { self.pointsize = 16 self.font_weight = boldweight } when provide offer_label 安価な価格でホテルを予約 (japanese) in voucher created, offer_label dispayed ????????????. offer_label stored correctly in database template code snippet: <html lang="en"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title><%= @from_name %></title> <style type="text/css"> a:hover { color: #09f !important; text-decoration: underline !important; } </style> </head> i looked around suggested questions no luck.looking forward suggestions. update: label_name displayed correctly in browser web pages, issue comes in voucher created using rmagick 1) should install japanese font(s) runtime environment(s). you can check via magi...

java - Convert embedded pictures in database -

i have 'small' problem. in database documents contain richtextfield. richtextfield contains profile picture of contact. problem content not saved mime , therefore can not calculate url of image. i'm using pojo retrieve data person profile , use in xpage control display contents. need build convert agent takes content of richtextitem , converts mime able calculate url like http://host/database.nsf/($users)/d40fe4181f2b86ccc12579ab0047bd22/photo/m2?openelement could me converting contents of richtextitem mime? when check embedded objects in rt field there none. when content of field stream , save new richtext field using following code. new field not created somehow. system.out.println("check if document contains field name "+fieldname); if(!doc.hasitem(fieldname)){ throw new pictureconvertexception("could not locate richtextitem name"+fieldname); } richtextitem picturefield = (richtextitem) doc.getfirstite...

asp.net mvc - MVC not pulling through validation -

i have following view code: @using (html.beginform("login", "press", formmethod.post)) { <fieldset> <legend>user registration</legend> <div> @html.textboxfor(model => model.fullname) @html.validationmessagefor(model => model.fullname) </div> <div> @html.textboxfor(model => model.company) @html.validationmessagefor(model => model.company) </div> <div> @html.textboxfor(model => model.emailaddress) @html.validationmessagefor(model => model.emailaddress) </div> <div> @html.checkboxfor(model => model.joinmailinglist) please check box recieve seasonal book pdf , monthly newsletter </div> <p> <input type="submit" value="proceed" /> </p> </fieldset> } and here model : public class userviewmodel { [required(errormessag...

ruby - Rails 3. the "flash" doesn't work on some pages -

i'm using "web_app_theme" gem. problem flash error , warning messages don't work. for example, in sign in page work; in forgot password page doesn't work. tested displaying contents of flash <%= debug flash %> . this in sign in page... !ruby/object:actiondispatch::flash::flashhash used: !ruby/object:set hash: :alert: true closed: false flashes: :alert: invalid email or password. now: !ruby/object:actiondispatch::flash::flashnow but in forgot password page get... !ruby/object:actiondispatch::flash::flashhash used: !ruby/object:set hash: {} closed: false flashes: {} now: !ruby/object:actiondispatch::flash::flashnow i'm thinking might related not using haml. in sign in page i'm using haml in forgot password page i'm using erb. i'm confused because contents of 'flash' should same regardless of format, right? this ha...