You can download curl for windows here: http://curl.haxx.se/download.html


On Mon, Apr 8, 2013 at 1:34 PM, Robert Dailey <rcdailey.li...@gmail.com>wrote:

> I'm not on Linux, how can I get you what you want on Windows 7?
>
> On Fri, Apr 5, 2013 at 12:28 AM, Steven MacLeod <ste...@smacleod.ca>
> wrote:
> > Hi Robert,
> >
> > Sorry for the delay in response, this slipped by in my inbox.
> >
> > Could you please send me the output of:
> >
> >     $ curl
> http://reviewboard.corp.good.com/api/review-requests/44580/diffs/
> > -I
> >
> > Basically I need to take a look at the headers being returned in the HTTP
> > request to RB.
> >
> >
> >
> > On Fri, Mar 29, 2013 at 1:40 PM, Robert Dailey <rcdailey.li...@gmail.com
> >
> > wrote:
> >>
> >> Using RB version 1.6.3. Output of the command you requested is below:
> >>
> >> DEBUG:root:Checking for a Bazaar repository...
> >>
> >> DEBUG:root:Checking for a CVS repository...
> >>
> >> DEBUG:root:Checking for a ClearCase repository...
> >>
> >> DEBUG:root:Checking for a Git repository...
> >>
> >> DEBUG:root:Running: git rev-parse --git-dir
> >>
> >> DEBUG:root:Command exited with rc 128: ['git', 'rev-parse', '--git-dir']
> >>
> >> fatal: Not a git repository (or any of the parent directories): .git
> >>
> >> ---
> >>
> >> DEBUG:root:Checking for a Mercurial repository...
> >>
> >> DEBUG:root:Checking for a Perforce repository...
> >>
> >> DEBUG:root:Running: p4 info
> >>
> >>
> >> DEBUG:root:Running: diff --version
> >>
> >> DEBUG:root:repository info: Path: perforce-rws2.corp.good.com:3666,
> >> Base path: None, Supports changesets: True
> >>
> >> DEBUG:root:Making HTTP GET request to
> >> http://reviewboard.corp.good.com/api/
> >>
> >>
> >> DEBUG:root:Making HTTP GET request to
> >> http://reviewboard.corp.good.com/api/info/
> >>
> >>
> >> INFO:root:Generating diff for changenum 303396
> >>
> >> DEBUG:root:Running: p4 describe -s 303396
> >>
> >>
> >> DEBUG:root:Processing delete of
> >> //depot/dev/DominoProcessDecomp/DominoProcessDecomp.sln
> >>
> >> DEBUG:root:Writing
> >> "//depot/dev/DominoProcessDecomp/DominoProcessDecomp.sln#4" to
> >> "c:\users\rdailey\appdata\local\temp\tmpivyvra"
> >>
> >> DEBUG:root:Running: p4 print -o
> >> c:\users\rdailey\appdata\local\temp\tmpivyvra -q
> >> //depot/dev/DominoProcessDecomp/DominoProcessDecomp.sln#4
> >>
> >>
> >> DEBUG:root:Running: diff -urNp
> >> c:\users\rdailey\appdata\local\temp\tmpivyvra
> >> c:\users\rdailey\appdata\local\temp\tmpljgwo3
> >>
> >> DEBUG:root:Command exited with rc 1: ['diff', '-urNp',
> >> 'c:\\users\\rdailey\\appdata\\local\\temp\\tmpivyvra',
> >> 'c:\\users\\rdailey\\appdata\\local\\temp\\tmpljgwo3']
> >>
> >> --- c:\users\rdailey\appdata\local\temp\tmpivyvra 2013-03-29
> >> 12:39:00.971865100 -0500
> >>
> >>
> >> +++ c:\users\rdailey\appdata\local\temp\tmpljgwo3 2013-03-29
> >> 12:39:00.798330400 -0500
> >>
> >>
> >> @@ -1,44 +0,0 @@
> >>
> >>
> >> -
> >>
> >>
> >> -Microsoft Visual Studio Solution File, Format Version 9.00
> >>
> >>
> >> -# Visual Studio 2005
> >>
> >>
> >> -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "services",
> >> "server\gmmserver\domino\server\services\services.vcproj",
> >> "{40E4563C-EDCE-4F19-8A3F-F9497265ACEE}"
> >>
> >>
> >> -EndProject
> >>
> >>
> >> -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "interface",
> >> "server\gmmserver\domino\server\interface\interface.vcproj",
> >> "{EADFA55E-6196-44CC-A496-1FDEC07DDE54}"
> >>
> >>
> >> -EndProject
> >>
> >>
> >> -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "groupware",
> >> "server\gmmserver\domino\server\groupware\groupware.vcproj",
> >> "{C4D3A251-B853-43E2-84C8-5501FE40EEE8}"
> >>
> >>
> >> -EndProject
> >>
> >>
> >> -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gwserver",
> >> "server\gmmserver\domino\server\gwserver\gwserver.vcproj",
> >> "{0B59A140-C1D4-4A06-ACD8-5A78745D3C9F}"
> >>
> >>
> >> -EndProject
> >>
> >>
> >> -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gwclient",
> >> "server\gmmserver\domino\server\gwclient\gwclient.vcproj",
> >> "{933240B0-F445-49E7-AB25-7BAE6B3C458C}"
> >>
> >>
> >> -EndProject
> >>
> >>
> >> -Global
> >>
> >>
> >> - GlobalSection(SolutionConfigurationPlatforms) = preSolution
> >>
> >>
> >> - Debug|Win32 = Debug|Win32
> >>
> >>
> >> - Release|Win32 = Release|Win32
> >>
> >>
> >> - EndGlobalSection
> >>
> >>
> >> - GlobalSection(ProjectConfigurationPlatforms) = postSolution
> >>
> >>
> >> - {40E4563C-EDCE-4F19-8A3F-F9497265ACEE}.Debug|Win32.ActiveCfg =
> >> Debug|Win32
> >>
> >>
> >> - {40E4563C-EDCE-4F19-8A3F-F9497265ACEE}.Debug|Win32.Build.0 =
> Debug|Win32
> >>
> >>
> >> - {40E4563C-EDCE-4F19-8A3F-F9497265ACEE}.Release|Win32.ActiveCfg =
> >> Release|Win32
> >>
> >>
> >> - {40E4563C-EDCE-4F19-8A3F-F9497265ACEE}.Release|Win32.Build.0 =
> >> Release|Win32
> >>
> >>
> >> - {EADFA55E-6196-44CC-A496-1FDEC07DDE54}.Debug|Win32.ActiveCfg =
> >> Debug|Win32
> >>
> >>
> >> - {EADFA55E-6196-44CC-A496-1FDEC07DDE54}.Debug|Win32.Build.0 =
> Debug|Win32
> >>
> >>
> >> - {EADFA55E-6196-44CC-A496-1FDEC07DDE54}.Release|Win32.ActiveCfg =
> >> Release|Win32
> >>
> >>
> >> - {EADFA55E-6196-44CC-A496-1FDEC07DDE54}.Release|Win32.Build.0 =
> >> Release|Win32
> >>
> >>
> >> - {C4D3A251-B853-43E2-84C8-5501FE40EEE8}.Debug|Win32.ActiveCfg =
> >> Debug|Win32
> >>
> >>
> >> - {C4D3A251-B853-43E2-84C8-5501FE40EEE8}.Debug|Win32.Build.0 =
> Debug|Win32
> >>
> >>
> >> - {C4D3A251-B853-43E2-84C8-5501FE40EEE8}.Release|Win32.ActiveCfg =
> >> Release|Win32
> >>
> >>
> >> - {C4D3A251-B853-43E2-84C8-5501FE40EEE8}.Release|Win32.Build.0 =
> >> Release|Win32
> >>
> >>
> >> - {0B59A140-C1D4-4A06-ACD8-5A78745D3C9F}.Debug|Win32.ActiveCfg =
> >> Debug|Win32
> >>
> >>
> >> - {0B59A140-C1D4-4A06-ACD8-5A78745D3C9F}.Debug|Win32.Build.0 =
> Debug|Win32
> >>
> >>
> >> - {0B59A140-C1D4-4A06-ACD8-5A78745D3C9F}.Release|Win32.ActiveCfg =
> >> Release|Win32
> >>
> >>
> >> - {0B59A140-C1D4-4A06-ACD8-5A78745D3C9F}.Release|Win32.Build.0 =
> >> Release|Win32
> >>
> >>
> >> - {933240B0-F445-49E7-AB25-7BAE6B3C458C}.Debug|Win32.ActiveCfg =
> >> Debug|Win32
> >>
> >>
> >> - {933240B0-F445-49E7-AB25-7BAE6B3C458C}.Debug|Win32.Build.0 =
> Debug|Win32
> >>
> >>
> >> - {933240B0-F445-49E7-AB25-7BAE6B3C458C}.Release|Win32.ActiveCfg =
> >> Release|Win32
> >>
> >>
> >> - {933240B0-F445-49E7-AB25-7BAE6B3C458C}.Release|Win32.Build.0 =
> >> Release|Win32
> >>
> >>
> >> - EndGlobalSection
> >>
> >>
> >> - GlobalSection(SolutionProperties) = preSolution
> >>
> >>
> >> - HideSolutionNode = FALSE
> >>
> >>
> >> - EndGlobalSection
> >>
> >>
> >> -EndGlobal
> >>
> >>
> >> ---
> >>
> >> DEBUG:root:Making HTTP GET request to
> >> http://reviewboard.corp.good.com/api/review-requests/
> >>
> >>
> >> DEBUG:root:Making HTTP POST request to
> >> http://reviewboard.corp.good.com/api/review-requests/
> >>
> >>
> >> DEBUG:root:Making HTTP GET request to
> >> http://reviewboard.corp.good.com/api/review-requests/44580/diffs/
> >>
> >>
> >> Traceback (most recent call last):
> >>
> >> File "C:\Python27\Scripts\rbt-script.py", line 8, in <module>
> >>
> >> load_entry_point('RBTools==0.5', 'console_scripts', 'rbt')()
> >>
> >> File
> >>
> "C:\Python27\lib\site-packages\rbtools-0.5-py2.7.egg\rbtools\commands\main.py",
> >> line 99, in main
> >>
> >> File
> >>
> "C:\Python27\lib\site-packages\rbtools-0.5-py2.7.egg\rbtools\commands\__init__.py",
> >> line 150, in run_from_argv
> >>
> >> File
> >>
> "C:\Python27\lib\site-packages\rbtools-0.5-py2.7.egg\rbtools\commands\post.py",
> >> line 450, in main
> >>
> >> File
> >>
> "C:\Python27\lib\site-packages\rbtools-0.5-py2.7.egg\rbtools\commands\post.py",
> >> line 324, in post_request
> >>
> >> File
> >>
> "C:\Python27\lib\site-packages\rbtools-0.5-py2.7.egg\rbtools\api\transport\sync.py",
> >> line 289, in __getattr__
> >>
> >> AttributeError: 'ResourceList' object has no attribute 'upload_diff'
> >>
> >>
> >> On Fri, Mar 29, 2013 at 12:20 PM, Steven MacLeod <ste...@smacleod.ca>
> >> wrote:
> >> > Hi Robert,
> >> >
> >> > What version of Review Board is there server running? Could you also
> >> > provide
> >> > the output of rbt post -d --server=http://my.review.board.url
> >> > --p4-client=$c
> >> > --p4-port=$p --username=myuser --password=mypassword %C
> >> >
> >> > The post-review script is still part of rbtools 0.5, so you can use
> that
> >> > as
> >> > a backup until we have this figured out.
> >> >
> >> > On Mar 29, 2013 11:01 AM, "Robert Dailey" <rcdailey.li...@gmail.com>
> >> > wrote:
> >> >>
> >> >> No one will help?
> >> >>
> >> >> On Thu, Mar 28, 2013 at 3:54 PM, Robert Dailey
> >> >> <rcdailey.li...@gmail.com>
> >> >> wrote:
> >> >> > I am getting the following error uploading my review from a
> Perforce
> >> >> > changelist. This impedes my day to day work, so I hope that someone
> >> >> > can help me quickly. The error I get while trying to run 'rbt post'
> >> >> > is:
> >> >> >
> >> >> > CRITICAL:root:'ResourceList' object has no attribute 'upload_diff'
> >> >> >
> >> >> > I have only transitioned from review-board to RBT 0.5, most of the
> >> >> > commands are the same so I am only invoking a different process. I
> am
> >> >> > using Python 2.7.3 on Windows 7 x64.
> >> >> >
> >> >> > Here is the command I'm running:
> >> >> >
> >> >> > rbt post --server=http://my.review.board.url --p4-client=$c
> >> >> > --p4-port=$p --username=myuser --password=mypassword %C
> >> >> >
> >> >> > Note that the previous command I used was:
> >> >> >
> >> >> > post-review %C --server=http://my.review.board.url --p4-client=$c
> >> >> > --p4-port=$p --username=myuser --password=mypassword
> >> >> >
> >> >> > The post-review command always worked fine for me. I installed
> >> >> > RBTools
> >> >> > 0.5 using easy_install (logs below). Note that I run this as a
> >> >> > "custom
> >> >> > tool" in P4V, so %C actually maps to the Changelist number. $c maps
> >> >> > to
> >> >> > client name, $p is port, and so on.
> >> >> >
> >> >> > C:\Users\rdailey>easy_install -U RBTools
> >> >> > Searching for RBTools
> >> >> > Reading http://pypi.python.org/simple/RBTools/
> >> >> > Reading http://www.reviewboard.org/
> >> >> > Reading http://downloads.reviewboard.org/releases/RBTools/0.3/
> >> >> > Reading http://downloads.reviewboard.org/releases/RBTools/0.4/
> >> >> > Reading http://downloads.reviewboard.org/releases/RBTools/0.5/
> >> >> > Reading http://downloads.reviewboard.org/releases/RBTools/0.2/
> >> >> > Reading http://www.review-board.org/
> >> >> > Reading http://downloads.review-board.org/releases/
> >> >> > Reading http://downloads.review-board.org/releases/RBTools/0.2/
> >> >> > Best match: RBTools 0.5
> >> >> > Downloading
> >> >> >
> >> >> >
> http://downloads.reviewboard.org/releases/RBTools/0.5/RBTools-0.5-py2.7.egg
> >> >> > Processing RBTools-0.5-py2.7.egg
> >> >> > Moving RBTools-0.5-py2.7.egg to c:\python27\lib\site-packages
> >> >> > Removing rbtools 0.4.1 from easy-install.pth file
> >> >> > Adding RBTools 0.5 to easy-install.pth file
> >> >> > Installing post-review-script.py script to C:\Python27\Scripts
> >> >> > Installing post-review.exe script to C:\Python27\Scripts
> >> >> > Installing post-review.exe.manifest script to C:\Python27\Scripts
> >> >> > Installing rbt-script.py script to C:\Python27\Scripts
> >> >> > Installing rbt.exe script to C:\Python27\Scripts
> >> >> > Installing rbt.exe.manifest script to C:\Python27\Scripts
> >> >> >
> >> >> > Installed c:\python27\lib\site-packages\rbtools-0.5-py2.7.egg
> >> >> > Processing dependencies for RBTools
> >> >> > Finished processing dependencies for RBTools
> >> >>
> >> >> --
> >> >> Want to help the Review Board project? Donate today at
> >> >> http://www.reviewboard.org/donate/
> >> >> Happy user? Let us know at http://www.reviewboard.org/users/
> >> >> -~----------~----~----~----~------~----~------~--~---
> >> >> To unsubscribe from this group, send email to
> >> >> reviewboard+unsubscr...@googlegroups.com
> >> >> For more options, visit this group at
> >> >> http://groups.google.com/group/reviewboard?hl=en
> >> >> ---
> >> >> 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/groups/opt_out.
> >> >>
> >> >>
> >> > --
> >> > Want to help the Review Board project? Donate today at
> >> > http://www.reviewboard.org/donate/
> >> > Happy user? Let us know at http://www.reviewboard.org/users/
> >> > -~----------~----~----~----~------~----~------~--~---
> >> > To unsubscribe from this group, send email to
> >> > reviewboard+unsubscr...@googlegroups.com
> >> > For more options, visit this group at
> >> > http://groups.google.com/group/reviewboard?hl=en
> >> > ---
> >> > 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/groups/opt_out.
> >> >
> >> >
> >>
> >> --
> >> Want to help the Review Board project? Donate today at
> >> http://www.reviewboard.org/donate/
> >> Happy user? Let us know at http://www.reviewboard.org/users/
> >> -~----------~----~----~----~------~----~------~--~---
> >> To unsubscribe from this group, send email to
> >> reviewboard+unsubscr...@googlegroups.com
> >> For more options, visit this group at
> >> http://groups.google.com/group/reviewboard?hl=en
> >> ---
> >> 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/groups/opt_out.
> >>
> >>
> >
> > --
> > Want to help the Review Board project? Donate today at
> > http://www.reviewboard.org/donate/
> > Happy user? Let us know at http://www.reviewboard.org/users/
> > -~----------~----~----~----~------~----~------~--~---
> > To unsubscribe from this group, send email to
> > reviewboard+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/reviewboard?hl=en
> > ---
> > 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/groups/opt_out.
> >
> >
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
> ---
> 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/groups/opt_out.
>
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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/groups/opt_out.


Reply via email to