More information on this.

When I look at an OLD request (i.e. one created on 1.7) I can see this in 
the source of the diff viewer page:

        model: new RB.DiffViewerPageModel({"num_diffs": 1, "files": 
[{"comment_counts": [], "index": 0, "deleted": false, "dest_revision": "New 
Change", "id": 25472, "filediff": {"id": 25472, "revision": 1}, "binary": 
false, "depot_filename": 
"//icaclient/develop/MobileMail/iOS/main/ExchangeMail/AppDelegate.m", 
"dest_filename": 
"//icaclient/develop/MobileMail/iOS/main/ExchangeMail/AppDelegate.m", 
"newfile": false, "revision": "Revision 334"}, {"comment_counts": [], "index": 
1, "deleted": false, "dest_revision": "New Change", "id": 25473, "filediff": 
{"id": 25473, "revision": 1}, "binary": false, "depot_filename": 
"//icaclient/develop/MobileMail/iOS/main/ExchangeMail/MigrationManager.m", 
"dest_filename": 
"//icaclient/develop/MobileMail/iOS/main/ExchangeMail/MigrationManager.m", 
"newfile": false, "revision": "Revision 17"}], "pagination": {"has_next": 
false, "page_numbers": [1], "current_page": 1, "has_previous": false, 
"is_paginated": false, "pages": 1}, "comments_hint": {"diffsets_with_comments": 
[], "has_other_comments": false, "interdiffs_with_comments": []}, "revision": 
{"interdiff_revision": null, "is_draft_interdiff": null, "latest_revision": 1, 
"is_draft_diff": null, "is_interdiff": false, "revision": 1}},


But when I look at the NEW request - check out how the depot_filename and 
dest_filename are now no longer preceded by a  // (double slash) but rather 
a / (single slash). This is what I believe is causing the problem since 
it's not interpreting the file path as a server path!

        model: new RB.DiffViewerPageModel({"num_diffs": 3, "files": 
[{"comment_counts": [], "index": 0, "deleted": false, "dest_revision": "New 
Change", "id": 25555, "filediff": {"id": 25555, "revision": 3}, "binary": 
false, "depot_filename": 
"/icaclient/develop/MobileMail/iOS/main/ExchangeMail/activesync/ASController.m",
 "dest_filename": 
"/icaclient/develop/MobileMail/iOS/main/ExchangeMail/activesync/ASController.m",
 "newfile": false, "revision": "Revision 317"}], "pagination": {"has_next": 
false, "page_numbers": [1], "current_page": 1, "has_previous": false, 
"is_paginated": false, "pages": 1}, "comments_hint": {"diffsets_with_comments": 
[], "has_other_comments": false, "interdiffs_with_comments": []}, "revision": 
{"interdiff_revision": null, "is_draft_interdiff": null, "latest_revision": 3, 
"is_draft_diff": null, "is_interdiff": false, "revision": 3}},


How can this be fixed???



On Monday, May 26, 2014 8:46:06 AM UTC+2, Lee Laborczfalvi wrote:
>
> I'm facing a pretty bad problem (bad because it's a Monday) where a RB 
> upgrade has broken all our perforce repositories.
>
> The error that I'm getting is this:
>
> There was an error displaying this diff.
>
> [P4#run] Errors during command execution( "p4 print -q 
> /xxxxx/develop/MobileMail/iOS/main/ExchangeMail/xxxxx/xxxxx.m#317" ) 
> [Error]: "/client/develop/MobileMail/iOS/main/ExchangeMail/xxxx/xxxxx.m - 
> must create client 'mobile-dev' to access local files."
>
> This may be a bug in the software, a temporary outage, or an issue with 
> the format of your diff.
>
> Please try again, and if you still have trouble, contact 
> support<http://mobile-dev.eng.citrite.net/reviews/support/>
> .
>
> Now mobile-dev is part of the review board URL that we host internally. I 
> have got a username and password entered for the perforce configuration 
> page that is a valid perforce user on the server. It appears that the 
> command line is not taking all of the perforce parameters for the server, 
> since I'd expect it to be able to talk to the server.
>
> Also - what does "to access local files" mean? Is a change in permissions 
> from the 1.7 release required?
>
> Thanks
> Lee
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to