Bitcoin Forum
November 06, 2024, 11:52:51 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Get 0.10 BTC for debugging Ubitex!  (Read 3095 times)
cuddlefish (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
May 19, 2011, 03:11:45 AM
Last edit: May 19, 2011, 03:47:06 AM by cuddlefish
 #1

1. Go to http://zode.ubitex.org (NOT ubitex.org)
2. Bang on it until you find a bug
3. Post instructions to reproduce it ITT, and a screenshot
4. Profit!!!

LIST OF BROKEN THINGS

1. Bad handling of large integers
2. Bad handling of Google Maps errors
3. Creating orders broke (FIXED)
4. Bad handling of non-numeric characters
5. You can become a seller while not logged in (FIXED (not deployed))
Pilate
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
May 19, 2011, 03:31:33 AM
 #2

Create an order without being logged in:

Quote
AttributeError at /orders/create/

'AnonymousUser' object has no attribute 'get_profile'

Put non-numeric characters into the Location box in "My Profile"

Quote
GoogleMapsError at /profile/

Error 602: G_GEO_UNKNOWN_ADDRESS

Enter non-numeric characters into any of the "New Order" fields:

Quote
ValidationError at /orders/create/

[u'This value must be a decimal number.']

"Sellers Near Me" and "My Orders" both error once logged in.

"New Order" fails even with correct data;
smartazz
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
May 19, 2011, 03:35:30 AM
 #3

1. Well, just walking through the site for the first time, I couldn't get a profile, and thus I couldn't access "My Orders."  Logically, that meant that I couldn't use the "Become a Seller" page.  After I submitted some numbers, I got a very ugly error that said that I didn't have an account.


Exception Type:    AttributeError
Exception Value:    'AnonymousUser' object has no attribute 'get_profile'


2.  Entering my email into the "Login with OpenID" does nothing.  No errors were returned.
washort
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 19, 2011, 03:39:32 AM
 #4

order creation is busted
http://ghostwheel.ath.cx/~washort/one.png
http://ghostwheel.ath.cx/~washort/two.png
washort
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 19, 2011, 03:42:20 AM
 #5

"my orders" page busted
http://ghostwheel.ath.cx/~washort/three.png

payments to 173JswbQcHKF4Ha3mBrABwJand6UjuN3vh
bittercoin
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
May 19, 2011, 03:47:07 AM
 #6

when i try to fill an order, i get this error:
Code:
TemplateSyntaxError at /orders/arrange/79425569/
'embed_filters' is not a valid tag library: ImportError raised loading embeds.templatetags.embed_filters: No module named embedly
Request Method: GET
Request URL: http://zode.ubitex.org/orders/arrange/79425569/
Django Version: 1.3
Exception Type: TemplateSyntaxError
Exception Value:
'embed_filters' is not a valid tag library: ImportError raised loading embeds.templatetags.embed_filters: No module named embedly
Exception Location: /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/template/defaulttags.py in load, line 1054
cuddlefish (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
May 19, 2011, 03:47:48 AM
 #7

1. Well, just walking through the site for the first time, I couldn't get a profile, and thus I couldn't access "My Orders."  Logically, that meant that I couldn't use the "Become a Seller" page.  After I submitted some numbers, I got a very ugly error that said that I didn't have an account.


Exception Type:    AttributeError
Exception Value:    'AnonymousUser' object has no attribute 'get_profile'


2.  Entering my email into the "Login with OpenID" does nothing.  No errors were returned.

1. That's a known bug.

2. That's not how OpenID works.
cuddlefish (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
May 19, 2011, 03:48:15 AM
 #8

when i try to fill an order, i get this error:
Code:
TemplateSyntaxError at /orders/arrange/79425569/
'embed_filters' is not a valid tag library: ImportError raised loading embeds.templatetags.embed_filters: No module named embedly
Request Method: GET
Request URL: http://zode.ubitex.org/orders/arrange/79425569/
Django Version: 1.3
Exception Type: TemplateSyntaxError
Exception Value:
'embed_filters' is not a valid tag library: ImportError raised loading embeds.templatetags.embed_filters: No module named embedly
Exception Location: /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/template/defaulttags.py in load, line 1054

Whoops, that's a library I forgot to install on the debug server!
smartazz
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
May 19, 2011, 03:59:06 AM
 #9

1. I found an order under the "Sellers near me" Tab, but when I clicked on it and tried to comment on it, I get this error, presumbely from the fact that an admin blocked access.:

Code:
IOError at /orders/comment/82467774/

sys.stdout access restricted by mod_wsgi

Request Method: POST
Request URL: http://zode.ubitex.org/orders/comment/82467774/
Django Version: 1.3
Exception Type: IOError
Exception Value:

sys.stdout access restricted by mod_wsgi

Exception Location: /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/core/mail/backends/console.py in send_messages, line 26
Python Executable: /usr/bin/python
Python Version: 2.6.5
Python Path:

['/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg',
 '/usr/local/lib/python2.6/dist-packages/django_socialregistration-0.4.3-py2.6.egg',
 '/usr/local/lib/python2.6/dist-packages/python_openid-2.2.5-py2.6.egg',
 '/usr/local/lib/python2.6/dist-packages/oauth2-1.5.170-py2.6.egg',
 '/usr/local/lib/python2.6/dist-packages/googlemaps-1.0.2-py2.6.egg',
 '/usr/local/lib/python2.6/dist-packages/Embedly-0.2.0-py2.6.egg',
 '/usr/local/lib/python2.6/dist-packages/httplib2-0.6.0-py2.6.egg',
 '/usr/lib/python2.6',
 '/usr/lib/python2.6/plat-linux2',
 '/usr/lib/python2.6/lib-tk',
 '/usr/lib/python2.6/lib-old',
 '/usr/lib/python2.6/lib-dynload',
 '/usr/lib/python2.6/dist-packages',
 '/usr/lib/pymodules/python2.6',
 '/usr/lib/pymodules/python2.6/gtk-2.0',
 '/usr/local/lib/python2.6/dist-packages',
 '/var/django/Ubitex',
 '/var/django']

Server time: Wed, 18 May 2011 22:57:24 -0500

2. At first, I rated the transaction as positive, then when I pressed negative, I got this error:

Code:
IntegrityError at /orders/close/82467774/

duplicate key value violates unique constraint "orders_rating_rater_id_key"

Request Method: POST
Request URL: http://zode.ubitex.org/orders/close/82467774/
Django Version: 1.3
Exception Type: IntegrityError
Exception Value:

duplicate key value violates unique constraint "orders_rating_rater_id_key"

Exception Location: /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/db/backends/postgresql_psycopg2/base.py in execute, line 44
Python Executable: /usr/bin/python
Python Version: 2.6.5
Python Path:

['/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg',
 '/usr/local/lib/python2.6/dist-packages/django_socialregistration-0.4.3-py2.6.egg',
 '/usr/local/lib/python2.6/dist-packages/python_openid-2.2.5-py2.6.egg',
 '/usr/local/lib/python2.6/dist-packages/oauth2-1.5.170-py2.6.egg',
 '/usr/local/lib/python2.6/dist-packages/googlemaps-1.0.2-py2.6.egg',
 '/usr/local/lib/python2.6/dist-packages/Embedly-0.2.0-py2.6.egg',
 '/usr/local/lib/python2.6/dist-packages/httplib2-0.6.0-py2.6.egg',
 '/usr/lib/python2.6',
 '/usr/lib/python2.6/plat-linux2',
 '/usr/lib/python2.6/lib-tk',
 '/usr/lib/python2.6/lib-old',
 '/usr/lib/python2.6/lib-dynload',
 '/usr/lib/python2.6/dist-packages',
 '/usr/lib/pymodules/python2.6',
 '/usr/lib/pymodules/python2.6/gtk-2.0',
 '/usr/local/lib/python2.6/dist-packages',
 '/var/django/Ubitex',
 '/var/django']

Server time: Wed, 18 May 2011 23:00:01 -0500
xor
Newbie
*
Offline Offline

Activity: 11
Merit: 0



View Profile
May 19, 2011, 04:30:36 AM
 #10

All links except "Home" are italicized & have a different background color, no matter which page you are at. This creates the false impression that you are on the "Home" page.
cuddlefish (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
May 19, 2011, 04:31:54 AM
 #11

All links except "Home" are italicized & have a different background color, no matter which page you are at. This creates the false impression that you are on the "Home" page.

That's to show that you aren't logged in, and shouldn't be clicking those.
bittercoin
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
May 19, 2011, 04:35:17 AM
 #12

when i go to a 'Arrange the Transaction' page and click the 'comment' button without filling the textarea, i get a 404:
Code:
Page not found (404)
Request Method: POST
Request URL: http://zode.ubitex.org/orders/comment/79425569/
cuddlefish (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
May 19, 2011, 08:09:26 AM
 #13

Okay, temporarily closed until I fix all these bugs.
Payouts tomorrow (when I'm not so damn tired Tongue)
xor
Newbie
*
Offline Offline

Activity: 11
Merit: 0



View Profile
May 19, 2011, 03:01:38 PM
 #14

All links except "Home" are italicized & have a different background color, no matter which page you are at. This creates the false impression that you are on the "Home" page.
That's to show that you aren't logged in, and shouldn't be clicking those.
Thats typical programmer way of thinking - you designed it so it makes sense to you,  but doesn't to others Smiley If some part of the UI is not usable then it should not be displayed, except where it is necessary to understand things, which it IMHO isn't here.

- I didn't even think of your interpretation! So clearly this is ambiguous. Go fix it Smiley
name
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
May 19, 2011, 04:31:25 PM
 #15

Don't work...
radracer
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
May 19, 2011, 04:49:02 PM
 #16

All links except "Home" are italicized & have a different background color, no matter which page you are at. This creates the false impression that you are on the "Home" page.
That's to show that you aren't logged in, and shouldn't be clicking those.
Thats typical programmer way of thinking - you designed it so it makes sense to you,  but doesn't to others Smiley If some part of the UI is not usable then it should not be displayed, except where it is necessary to understand things, which it IMHO isn't here.

- I didn't even think of your interpretation! So clearly this is ambiguous. Go fix it Smiley

yep.  if it requires you to explain it in a forum post, its bad interface design. 
lulzplzkthx
Sr. Member
****
Offline Offline

Activity: 322
Merit: 251



View Profile WWW
May 19, 2011, 04:58:07 PM
 #17

None of the links work.

cuddlefish (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
May 19, 2011, 07:27:48 PM
 #18

All links except "Home" are italicized & have a different background color, no matter which page you are at. This creates the false impression that you are on the "Home" page.
That's to show that you aren't logged in, and shouldn't be clicking those.
Thats typical programmer way of thinking - you designed it so it makes sense to you,  but doesn't to others Smiley If some part of the UI is not usable then it should not be displayed, except where it is necessary to understand things, which it IMHO isn't here.

- I didn't even think of your interpretation! So clearly this is ambiguous. Go fix it Smiley

yep.  if it requires you to explain it in a forum post, its bad interface design. 
That's just a stopgap until I get the full-on login page up (hopefully today).
radracer
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
May 19, 2011, 08:17:20 PM
 #19

heres what the "my orders" page looks like for me:
http://i56.tinypic.com/13zsbj5.jpg

heres what the order page looks like
http://i54.tinypic.com/rclhcn.jpg

if i click "close this transaction negatively" or "close this transaction positively" i am bumped back to the orders screen and everything looks the same

and if i click cancel from the "my orders" page i get this error:

http://i51.tinypic.com/2rwrgpy.jpg

Code:
Environment:


Request Method: POST
Request URL: http://zode.ubitex.org/orders/cancel/76560436/

Django Version: 1.3
Python Version: 2.6.5
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.humanize',
 'django.contrib.admin',
 'django.contrib.admindocs',
 'django.contrib.staticfiles',
 'django.contrib.gis',
 'socialregistration',
 'ubitex',
 'orders',
 'profiles',
 'embeds']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware')


Traceback:
File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/core/handlers/base.py" in get_response
  129.                     raise ValueError("The view %s.%s didn't return an HttpResponse object." % (callback.__module__, view_name))

Exception Type: ValueError at /orders/cancel/76560436/
Exception Value: The view Ubitex.orders.views.cancel_order didn't return an HttpResponse object.



cuddlefish (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
May 20, 2011, 01:34:35 AM
 #20

Okay! Bounties being awarded now.

LIST OF FORUM USERS WHO HAVE UNCLAIMED BOUNTIES:

radracer: 0.10
bittercoin: 0.10
smartazz: 0.10
Pilate: 0.20
Bleh: 0.10

Thanks! Post your addresses ITT.
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!