Closed arasheht closed 10 years ago
See? I told you I hadn't tested the install script at all. :-)
The install script should work without the scanner attached. What will break is, at the end, supervisor will try to start the "oscar_scan" process and it will crash because it has no device file to open. Once the scanner is attached, a
supervisorctl start oscar_scan
should get it running.
Great! Thanks Dan, another reason to expedite learning python on my end.
I’ll update the script later on tonight, should anything go wrong you’ll be the first to know. Appreciate your help!
Warm regards,
Arash
On Nov 19, 2013, at 8:55 AM, Dan Slimmon notifications@github.com wrote:
See? I told you I hadn't tested the install script at all. :-)
The install script should work without the scanner attached. What will break is, at the end, supervisor will try to start the "oscar_scan" process and it will crash because it has no device file to open. Once the scanner is attached, a
supervisorctl start oscar_scan should get it running.
— Reply to this email directly or view it on GitHub.
This time around the code seems to work, the program is showing the following error, however:
Traceback (most recent call last):
File "install.py", line 77, in
trello_grocery_board = m.group(1)
AttributeError: 'NoneType' object has no attribute 'group'
I didn't want to submit this issue just yet, because I'm certain there's something wrong with my input, but I just can't put my finger on it:
trello_grocery_board_url = raw_input('Grocery Board URL:https://trello.com/b/**********'/groceries')
print
print "And now create a board called 'trello_db', and enter its URL here:"
print
trello_db_board_url = raw_input('Trello DB board URL:https://trello.com/b/**********/trello-db')
# Get the board IDs from their URLs
m = re.match('/b/([^/])', trello_grocery_board_url)
trello_grocery_board = m.group(1)
m = re.match('/b/([^/])', trello_db_board_url)
trello_db_board = m.group(1)
trello_grocery_list = 'Groceries'
Thanks again!
Hi! Glad to hear that the syntax error is fixed.
Your new issue is fixed by 9dc4269. There was nothing wrong with your input; there was a bug in my regular expression and the way in which I was matching it against the URL. Both are fixed now.
Thanks for slogging on! We'll get through this together.
For some reason I keep on getting a syntax error on line 115 of install.py. I've modified it numerous times, but I still can't seem to move past it.
I'm assuming it's because I don't have the scanner attached yet, but the default doesn't seem to work. Any insights?
Greatly appreciated!
Arash
Edit: Just to clarify, the error is pointed at the "=".