Menu

#86 [Error] Error: Invalid item number

v 2.6.*
open
5
2012-02-01
2012-02-01
No

I'm getting on everything I try
[Error] Error: Invalid item number (330679302368) or [Buy-It-Now] article!
although I spotted a previous similar issue that was closed without a helpful result.

doing esniper -inb -c <file> 330679302368 0"
gives me

Auction 330679302368: Pentax K5 Superb Quality Digital Single Lens Reflex Cameras
Time remaining: 3 days 9 hours 37 mins (293820 seconds)
End time: 04/02/2012 20:14:11
Currently: 351.00 (your maximum bid: 0)
# of bids: 10
High bidder: private listing - bidders' identities protected (NOT stevedhoward)

Auction 330679302368: Bid price less than minimum bid price

Discussion

  • steve howard

    steve howard - 2012-02-01

    syetm info file

     
  • steve howard

    steve howard - 2012-02-01

    csv trace.. sorry missed that before

     
  • steve howard

    steve howard - 2012-02-01
    • priority: 5 --> 9
     
  • steve howard

    steve howard - 2012-02-01

    Sorry didn't include all the files
    have also attached a trace of what happens when I try to add an auction and the html it downloads and tries to parse

     
  • steve howard

    steve howard - 2012-02-01
    • priority: 9 --> 5
     
  • steve howard

    steve howard - 2012-02-01

    Hi the issue appears to be that
    application/classes/ebayparser/co_uk.xml
    no longer matches the ebay layout.
    I fixed the issue by changing
    ~<title>(.*?) on eBay.*?</title>~is => 1
    to
    ~<title>(.*?) eBay.*?</title>~is => 1
    to try and match
    </script><title>Pentax K5 Superb Quality Digital Single Lens Reflex Cameras | eBay</title>
    which is how the line now appears on ebay
    as my grasp of regular expressions is limited and I don't know yet if this fixes everything I'll leave this here so someone more knowledgeable can fix this properly.
    also note I upgraded to a better version of ps (ipkg install procps) which gets rid of the other error in the trace, but didn't fix this issue.
    thanks
    Steve

     
  • Wäller Klaus

    Wäller Klaus - 2012-02-02

    Hi,
    I'd suggest changing that regular expression to the following

    ~<title>(.*)\s*|\s*eBay.*</title>~i => 1

    That results in omitting the final blank and separator character from the item title.
    The benefit of the new ebay title layout is the fact that it's now equal for many countries (at least tested with the German and UK site).

    Still we have no solution for parsing the auction end time.

     
  • steve howard

    steve howard - 2012-02-02

    Hi
    thanks.
    I've sorted out parsing the end time and that works fine, but there are still quite a few other bits that are not parsing correctly, once I've sorted those I'll let you know.
    I'm getting the hang of this, so the rest shouldn't take too long.

     
  • steve howard

    steve howard - 2012-02-03

    changes to co_uk.class.php co_uk.xml main.xml main.xml

     
  • steve howard

    steve howard - 2012-02-03

    Hi
    I've uploaded ebayparser_main_and_uk.rar which includes changes to title, end time, and price.
    these seem to work.
    My knowledge of php and regular expressions is almost zero so they could probably do with some tidying, and I have no idea how to do patches etc.
    also I'm not actually bidding on anything at the moment so have no idea what else may be wrong.
    so if someone could have a look at what I have done I'd be grateful.
    thanks
    steve

     
  • Anonymous

    Anonymous - 2012-02-24

    stevedh,

    Can you please post your code changes into a message.

    I've tried on two separate machines using three different RAR expanders and cannot extract the files from your uploaded archive. Either that or upload it in ZIP format.

    Thanks.

     

    Last edit: Anonymous 2015-07-01
  • steve howard

    steve howard - 2012-02-24

    changes to co_uk.class.php co_uk.xml main.xml main.xml (replace broken rar file)

     
  • steve howard

    steve howard - 2012-02-24

    Hi, I'm a bit busy at the moment so I've just uploaded a zip version.
    I also had problems downloading and extracting the rar, although the original I still had works fine
    I have downloaded and tested the zip and that's fine, but I can't remove my old rar file.
    let me know if you have any problems, if you do I'll post the changes into a message when I have some time
    ta
    Steve

     
  • Vincent Bentley

    Vincent Bentley - 2012-02-26

    Well done Steve! Your ZIP file extracts OK and the patched files have fixed my es-f installation.

     
  • Slink

    Slink - 2012-02-28

    excellent, thank you, your files fixed this issue for me too. Great effort.

     
  • Colin Woodley

    Colin Woodley - 2012-03-01

    Nice work - the patch does the job.

    Many Thanks

     
  • steve howard

    steve howard - 2012-03-06

    de fix.. note months need doing

     
  • steve howard

    steve howard - 2012-03-06

    ok just added de versions as someone wanted them.
    note I'm not sure what ebays abbreviation for the months are and have only done Mär as I could just copy and paste that.. so line 31 in de.class.php will need fixing

     
  • Wäller Klaus

    Wäller Klaus - 2012-03-06

    Unfortunately the used date parsing functions of php are failing to recognise the abreviations used by ebay, especially for March (in German März - note the A-Umlaut).
    For the fellows observing German ebay pages ( as I do) I have posted a solution for the recent problems in parsing the end-date here:
    http://mannsspace.co.de/ebayparser/
    (rename de.class.php.txt to de.class.php)

     
  • Vincent Bentley

    Vincent Bentley - 2012-03-15

    I have Steve's patch loaded and watched the es-f countdown process on an item I was bidding on through to the end. I won the item but es-f doesn't think so. It shows the item in a pink bar. Whereas this is not a problem bidding on an individual item it could prove expensive if wishing to obtain only one item from a list of ten and all ten are won.

    I'm going to try it on another item to see if it was just a one-time error. Anyone else winning items not shown as won using Steve's patch?

     
  • Vincent Bentley

    Vincent Bentley - 2012-03-15

    I just set up my es-f to bid on another item. It won the item and correctly showed it with a green background this time.

     
  • RaverJK

    RaverJK - 2012-03-31

    I finally got it working for Germany.
    http://init0.raverjk.de/jk/esf/ebayparser_de.zip

     
  • Henne

    Henne - 2013-01-19

    raverik, this does not work any longer. Has anyone a working setup?

     

Log in to post a comment.

MongoDB Logo MongoDB