Code Monkey home page Code Monkey logo

Comments (14)

carpii avatar carpii commented on September 25, 2024

From @carpii

Account Type: Personal
Passcode: Yes
PinSentry: Yes
Mobile PINSentry: No

Step 2 screenshots


from barclayscrape.

carpii avatar carpii commented on September 25, 2024

From @russss

Account Type: Personal (?)
Passcode: No
PinSentry: Yes
Mobile PINSentry: Yes

Step 2 Images...

from barclayscrape.

carpii avatar carpii commented on September 25, 2024

From @CharlesButcher

Account Type: Both (?)
Passcode: Yes
PinSentry: Yes
Mobile PINSentry: No

Step 2 Images...

from barclayscrape.

jimfrench avatar jimfrench commented on September 25, 2024

Hi @carpii
I realise the timing of this is impeccable - however I had a few hours today to have a look at your debugging branch, and have had some success. I realise you said not to post on this issue but I thought it would directly relate to what you are collating above.

Account type: Personal, business, loan
Passcode: No, but optional, can be switched on and off in settings
PinSentry: yes
Smartcard reader: yes
Mobile pinsentry: yes

Firstly your post directly before this reply, is I think one of the issues. CharlesButcher and I have both managed to get this screen, where it asks to choose authentication method. I was not getting this option initially, but I managed to turn it back on in Barclays settings. Therefore, I think Charles and I are repeating the same bug, I have now managed to run your debug tests as follows. I hope this helps.

barclays_debug_log_ibase_20200626_1.txt

from barclayscrape.

jimfrench avatar jimfrench commented on September 25, 2024

_debug_0

from barclayscrape.

carpii avatar carpii commented on September 25, 2024

Hi @jimfrench,

Thanks, this is really useful. The markup errors you are seeing pretty much align with what I was expecting
But since you are now able to run my repo, it makes fixing the issue so much easier.

Give me a few days and I'll push a new version which tries to bypass this interim page
After that it may just work, or it may throw up other errors we need to address

Could you post the full command-line you used to run this (minus anything sensitive)?

from barclayscrape.

jimfrench avatar jimfrench commented on September 25, 2024

Hi @carpii
Thanks I'm pleased to be able to to help and feel I can do more now also . I did save a log of what I was doing. It includes the setup of the library from the beginning, I have gone through the log and removed sensitive details and also cut out meaningless errors etc while working. I hope it makes sense and is useful for the extra information there.

I was thinking about his last night, I do feel my Barclays account is capable of a lot of testing, e.g. creating flow chart of the different options, or I write in pseudocode what each authentication chain gives with regard to the different prompts, with screen grabs etc.

I do not know enough about the languages you are working in to directly attempt debugging but here and willing to help as much as possible to try to get it up and running for each different possible configuration :)

By the way you're looking at a clean installation of Xubuntu desktop - I did not have to do anything funky to get the library up and running, aside from carefully following all original instructions given in the original README . There were a few minor issues which I cut out from the log, but I don't think there are any Python related issues going on, as long as everything is up to date and carefully in place. I did not have to apply any patches to node modules or anything of that sort.

I think the installation errors that @CharlesButcher was facing is down to the possible oddities of running it in MacOS. Unfortunately that ecosystem is very much not my area I don't use macs so unable to repeat what he was going through. He did seem to resolve those issues in part and get the library running though, because he reached the same eventual library error as I am now so that is promising, and indeed it was that interim choice page that caused him to create the issue in the first place. So yes I agree that it's obviously sensible to take it one step at a time and solve that single issue of the interim choice (bearing in mind that choice/page does not always occur; it depends on the user's security settings as you no doubt have realised)

Also by the way although I was attempting to use the smartcard reader here, it was not returning I think due to syntax error. I used mobile pinsentry to login.

barclays_debug_log_ibase_20200626_1.txt

from barclayscrape.

CharlesButcher avatar CharlesButcher commented on September 25, 2024

Just for the record…

Account Type: Business
Passcode Enabled: Yes
PinSentry Enabled: Yes
Mobile PINSentry Enabled: Yes

Barclays_1
Barclays_2
Barclays_3

Good to hear that @jimfrench has had some success with this, and I'm sorry my own setup has got messy. I'm not convinced that macOS has much to do with this; I think it's more to do with my own inexperience in managing node versions and modules, and subsequently python. The fact that Apple's built-in python is well out of date is definitely a pain, but I did have barclayscrape working at one point, in the sense that it only failed when it met unexpected HTML on the Barclays website. At some point I'll be up for clearing everything out and starting from scratch.

from barclayscrape.

carpii avatar carpii commented on September 25, 2024

Hi @jimfrench

I've pushed a couple of updates to my debug branch
If you could pull those changes and give it another test, and post the debug output if it's still failing?

Thanks

from barclayscrape.

jimfrench avatar jimfrench commented on September 25, 2024

Hi @carpii
Thanks for continuing to work on this, unfortunately it looks like the same or very similar debug output as enclosed.

I double checked I was pulling your most recent changes.

barclays_debug_log_ibase_20200709_1.txt

from barclayscrape.

carpii avatar carpii commented on September 25, 2024

Thanks @jimfrench

This is actually progress. I wasn't expecting it to work just yet, but the debug output gives me more info to continue.

Will post another update when I can

from barclayscrape.

jimfrench avatar jimfrench commented on September 25, 2024

@carpii OK brilliant I'll try to respond to tests as quickly as possible.

I wonder if @CharlesButcher is able to run the test ?

from barclayscrape.

carpii avatar carpii commented on September 25, 2024

Not sure, but it's likely to show the same results

from barclayscrape.

carpii avatar carpii commented on September 25, 2024

Abandoning ticket, sorry guys

I was hopeful I could get this working, but without having a Barclays account configured in the exact same way as yours, it's proven very difficult to figure out how to automate it

from barclayscrape.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.