Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location.getHashDict serves no purpose, gives TypeError. #349

Open
pyjsorg opened this issue Apr 27, 2012 · 1 comment
Open

Location.getHashDict serves no purpose, gives TypeError. #349

pyjsorg opened this issue Apr 27, 2012 · 1 comment
Labels

Comments

@pyjsorg
Copy link
Contributor

pyjsorg commented Apr 27, 2012

What steps will reproduce the problem?

  1. Call Location.getHashDict()

What is the expected output? What do you see instead?

I don't know what output to expect. It seems to want to make a dictionary
from the portion of the URL that follows a hash sign (#).

Instead it gives a TypeError. If the undefined attributes in the function
are initialized, then it gives an IndexError.

What version of Pyjamas are you using? which svn revision number?
On what operating system?

Pyjamas 0.7pre2
svn revision 2397
Linux NLD9 (Novell Linux Desktop v. 9) (formerly known as SuSE).

If using PyJS, have you attached a javascript stack trace,
from IE's Script Debugger or from Firefox Venkman / Firebug?
Have you attached a stack trace from using "-d" compiler option?

No.

If using PyJD, have you attached a python stack trace?

No

If using PyJS, what compiler options did you use?

-d

Please provide any additional information below.

This function does not appear to have a purpose, and has no analog in GWT.

Original issue: http://code.google.com/p/pyjamas/issues/detail?id=370 (February 12, 2010 15:48:15)

@pyjsorg
Copy link
Contributor Author

pyjsorg commented Apr 27, 2012

From josh.mat...@gmail.com on September 14, 2010 23:03:18:
I have encountered the exact same thing. I have attached the stack trace from the "-d" compiler option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant