Re: rbtools error

2017-08-17 Thread David Trowbridge
Can you run with --debug and send us the full output?

Also note that you're running a pre-release of 0.7.5. It might be worth
upgrading to 0.7.10 and seeing if your bug is already fixed.


-David

On Wed, Aug 16, 2017 at 11:05 PM eran meiri  wrote:

> Hello, I am having some trouble with using rbtools with windows
>
> this is the error :
> C:\Program Files
> (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.5alpha0-py2.7.egg\rbtools\commands\main.py:101:
> UnicodeWarning: Unicode equal comparison failed to convert both arguments
> to Unicode -
>
> interpreting them as being unequal
>
>   elif opt.help or '--help' in args or '-h' in args:
>
> CRITICAL: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not
> in range(128)
>
>
>
> any help would be appreciated
>
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://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.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.


rbtools error

2017-08-17 Thread eran meiri
Hello, I am having some trouble with using rbtools with windows

this is the error :
C:\Program Files 
(x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.5alpha0-py2.7.egg\rbtools\commands\main.py:101:
 
UnicodeWarning: Unicode equal comparison failed to convert both arguments 
to Unicode - 

interpreting them as being unequal

  elif opt.help or '--help' in args or '-h' in args:

CRITICAL: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not 
in range(128)



any help would be appreciated


-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.


Re: Issue 3571 in reviewboard: some rbtools error in windows 7 64 chinese system.

2014-09-29 Thread reviewboard

Updates:
Status: UnableToReproduce

Comment #5 on issue 3571 by trowb...@gmail.com: some rbtools error in  
windows 7 64 chinese system.

https://code.google.com/p/reviewboard/issues/detail?id=3571

In that case, there's nothing we can do.

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3571 in reviewboard: some rbtools error in windows 7 64 chinese system.

2014-09-16 Thread reviewboard

Updates:
Status: NeedInfo

Comment #1 on issue 3571 by trowb...@gmail.com: some rbtools error in  
windows 7 64 chinese system.

https://code.google.com/p/reviewboard/issues/detail?id=3571

Can you look in the review board server log (or have your administrator do  
so) and find the traceback there?


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3571 in reviewboard: some rbtools error in windows 7 64 chinese system.

2014-09-16 Thread reviewboard


Comment #2 on issue 3571 by feixin...@gmail.com: some rbtools error in  
windows 7 64 chinese system.

https://code.google.com/p/reviewboard/issues/detail?id=3571

thanks for reply.

The server log is the same as client log.

When i check Review Board, i found that gb2312 is in ADVANCED SETTINGS's  
Encoding.

and i delete it in Encoding, the error is not appear again.

I guess that is the reson.

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3571 in reviewboard: some rbtools error in windows 7 64 chinese system.

2014-09-16 Thread reviewboard


Comment #3 on issue 3571 by trowb...@gmail.com: some rbtools error in  
windows 7 64 chinese system.

https://code.google.com/p/reviewboard/issues/detail?id=3571

The server log may have the same invalid multibyte sequence error but the  
traceback will be different. We'd like to have that traceback so we can  
make it not fail.


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3571 in reviewboard: some rbtools error in windows 7 64 chinese system.

2014-09-16 Thread reviewboard


Comment #4 on issue 3571 by feixin...@gmail.com: some rbtools error in  
windows 7 64 chinese system.

https://code.google.com/p/reviewboard/issues/detail?id=3571

Yes, i want to give some help, but i can't reproduce the problem...

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Issue 3571 in reviewboard: some rbtools error in windows 7 64 chinese system.

2014-09-15 Thread reviewboard

Status: New
Owner: 
Labels: Type-Defect Priority-Medium

New issue 3571 by feixin...@gmail.com: some rbtools error in windows 7 64  
chinese system.

https://code.google.com/p/reviewboard/issues/detail?id=3571

What version are you running?
ReviewBoard 2.0.7 / RBTools 0.6.2
Server:Centos
Client:windows 7 64 chinese system

What's the URL of the page containing the problem?
Not applicable as it's a RBTools issue.


client command:
rbt post -d --diff-filename E:\我的svn\我的地址\我的diff文件.txt.patch

some chinese character in diff file path.



What steps will reproduce the problem?
1. post a new diff file to reviweboard,and get some errors
2. See RBTools log


Making HTTP POST request to  
http://192.168.100.8/api/review-requests/45/diff

s/

Got API Error 105 (HTTP code 400): One or more fields had errors
Error data: {u'fields': {u'path': [u'gb2312' codec can't encode  
character u
'\\ufffd' in position 42: illegal multibyte sequence]}, u'stat': u'fail',  
u'err

': {u'msg': u'One or more fields had errors', u'code': 105}}
Traceback (most recent call last):
  File C:\Python26\Scripts\rbt-script.py, line 9, in module
load_entry_point('RBTools==0.6.2', 'console_scripts', 'rbt')()
   
File C:\Python26\lib\site-packages\rbtools-0.6.2-py2.6.egg\rbtools\commands\m

ain.py, line 133, in main
command.run_from_argv([RB_MAIN, command_name] + args)
   
File C:\Python26\lib\site-packages\rbtools-0.6.2-py2.6.egg\rbtools\commands\_

_init__.py, line 416, in run_from_argv
exit_code = self.main(*args) or 0
   
File C:\Python26\lib\site-packages\rbtools-0.6.2-py2.6.egg\rbtools\commands\p

ost.py, line 783, in main
submit_as=self.options.submit_as)
   
File C:\Python26\lib\site-packages\rbtools-0.6.2-py2.6.egg\rbtools\commands\p

ost.py, line 550, in post_request
raise CommandError(u'\n'.join(error_msg))
rbtools.commands.CommandError: Error uploading diff

One or more fields had errors (HTTP 400, API Error 105)

path: 'gb2312' codec can't encode character u'\ufffd' in position 42:  
illega

l multibyte sequence

Your review request still exists, but the diff is not attached.

http://192.168.100.8/r/45/

Operating system: Windows 7-64 chinese system
Browsers: Internet Explorer 8 / Google Chrome
python version: python2.6.6 utf-8


Hello,

When i post a new diff to reviewboard server, i get some error. Because  
chinese character is in diff file path.

How can i slove this problem.

Thanks and Best regards.

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.