schodet/nxt-python

New NXT File Management Tool

Closed this issue · 6 comments

tcwan commented

I've created a new tool, nxtfilemgr to replace nxt_filer which is not working properly, as the NeXT Tool by John Hansen (bricxcc) no longer works on macOS High Sierra.

I'm not sure what is the best way to push the file (I have not used git's push functions before), but you can access it from my repository:
nxtfilemgr

The release version (1.0) has the following commit ID:
nxtfilemgr 1.0 commit ID

Updated to version 1.02 with better error handling:
nxtfilemgr 1.02 commit ID

This was tested with python2.7 on macOS High Sierra. It is a Gtk+ 3 app.

Could you try the tool using python 3? This repo was last being written in python 3 so anything you push to this should be able to work with python 3 too

tcwan commented

@auryan898

I've tried to do some cleanup, but I don't have nxt-python for python3 installed, and I'm not sure how to build a package specifically for python3 under MacPorts for macOS.

nxtfilemgr 1.02 Python 3 cleanup commit ID

Edit: Updated commit ID to latest bugfixed version

tcwan commented

There are also some missing packages e.g., py-lightblue which I don't know whether there are alternatives available.

Well that's okay. I only ask if you can use it with python 3 because if you were to push this script to the nxt-python repo right now, it would be best if it were python 3 compatible. The other option is to push your script to a python 2 part of this repo

tcwan commented

As I don't have a working python3 configuration for nxt-python currently I'm not confident that everything would be fine. However, I've tried to remove any python2 specific code as much as possible.

Another thing is I'm not sure how to push the script, as I haven't cloned my own nxt-python repository as I'm not actively working on it. If you're ok with grabbing it from my repository linked above please go ahead. Otherwise I'd need pointers on how to push from a different repository to this one.

tcwan commented

I've found out that I can upload the script via the web interface to my fork, so I've generated a pull request for it.