TypeError: __init__() got an unexpected keyword argument 'version'

100 views
Skip to first unread message

Dennis G.

unread,
Dec 18, 2015, 12:34:29 AM12/18/15
to BeeWare Users
Hi,
as someone just getting into programming with python3.5 i tried porting bugjar to python 3.

Now I encountered this after building and installing bugjar upon running it:

$ bugjar scriptName.py
Traceback (most recent call last):
  File "C:\Users\username\AppData\Local\Programs\Python\Python35\Scripts\bugjar-script.py", line 9, in <module>
    load_entry_point('bugjar==10', 'console_scripts', 'bugjar')()
  File "C:\Users\username\AppData\Local\Programs\Python\Python35\lib\site-packages\bugjar-10-py3.5.egg\bugjar\main.py", line 35, in local
    version=VERSION
TypeError: __init__() got an unexpected keyword argument 'version'

and I have absolutely no Idea how to fix this. As I said, I'm just learning python and have only a little Java experience from school, apart from that.

Greetings
Dennis

Russell Keith-Magee

unread,
Dec 18, 2015, 12:55:46 AM12/18/15
to beewar...@googlegroups.com
Hi Dennis,

From the look of the error message, there might have been some subtle changes in argparse between 2.7 and 3.5; however, I can’t say I know what those changes are. The documentation will probably describe the changes.

However, before you start sinking too much time into Bugjar, some warnings:

 * Even on Python 2, it’s a bit unstable. It needs a lot of work. The instability is mostly tied to the robustness of the communications channel. There’s a lot of work that needs to be done on the internals before it’s really a viable debugger.

 * I’m planning to do a big rework of the GUI at some point in the near future. I haven’t worked on Bugjar for almost 3 years, mostly because I hit the limits of what I could do with Tkinter, and got distracted working on a replacement (called Toga).

If you’re especially enthused to work on Bugjar specifically, I certainly don’t want to stop you. But if you’re just looking for a project to contribute to, I can suggest some better options - essentially on the precursor work that will (eventually) make Bugjar a lot easier to write.

Yours,
Russ Magee %-)


--
You received this message because you are subscribed to the Google Groups "BeeWare Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beeware-user...@googlegroups.com.
To post to this group, send email to beewar...@googlegroups.com.
Visit this group at https://groups.google.com/group/beeware-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/beeware-users/3f747bd1-35d8-4f98-877a-6ee096cad47e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages