Guest User

Untitled

a guest
Feb 20th, 2018
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.50 KB | None | 0 0
  1. 1:40:46 AM Kevin Liu: keep getting this error at a certain location of a certain piece of the US list
  2. 11:40:48 AM Kevin Liu: from lwb.py
  3. 11:40:49 AM Kevin Liu: Traceback (most recent call last):
  4. File "/usr/lib/python2.3/threading.py", line 436, in __bootstrap
  5. self.run()
  6. File "lwb.py", line 297, in run
  7. uid = string.atol(a[0])
  8. File "/usr/lib/python2.3/string.py", line 236, in atol
  9. return _long(s, base)
  10. ValueError: invalid literal for long( s261
  11.  
  12.  
  13. 11:40:54 AM Kevin Liu: anything off the top of your head?
  14. 11:42:01 AM jimkgarvey: there might be an invalid character in the list
  15. 11:42:08 AM jimkgarvey: if you can pinpoint where it is
  16. 11:42:11 AM jimkgarvey: you can probably manually fin dit
  17. 11:42:53 AM Kevin Liu: yeah im looking
  18. 11:42:56 AM Kevin Liu: but it's referring the the uid
  19. 11:42:59 AM Kevin Liu: which is numeric
  20. 11:43:04 AM Kevin Liu: the error is thrown when trying to convert it to a num
  21. 11:43:26 AM Kevin Liu: did you add data recently?
  22. 11:49:11 AM Kevin Liu: ?
  23. 11:49:17 AM jimkgarvey: no
  24. 11:49:48 AM Kevin Liu: it does not have anything to do with the email address
  25. 11:49:50 AM Kevin Liu: it's the uid
  26. 11:50:42 AM jimkgarvey: ok well if you want to separate the uid and sort them
  27. 11:50:47 AM jimkgarvey: maybe there is an extra char somewhere
  28. 11:51:11 AM Kevin Liu: ValueError: invalid literal for long( s261
  29.  
  30. 11:57:22 AM Kevin Liu: k
  31. 11:57:23 AM Kevin Liu: for a in targets:
  32.  
  33. uid = string.atol(a[0])
  34. cid = string.atol(a[1])
  35. listname = a[2];
  36. email = a[3]
  37.  
  38.  
  39. 11:57:32 AM Kevin Liu: how can i print out the uid it's trying to convert
  40. 11:57:55 AM Kevin Liu: like
  41. 11:57:55 AM Kevin Liu: for a in targets:
  42. #print uid here
  43. uid = string.atol(a[0])
  44. cid = string.atol(a[1])
  45. listname = a[2];
  46. email = a[3]
  47.  
  48.  
  49. 11:58:28 AM jimkgarvey: hey sorry let me finish this contract to caroreal quick
  50. 11:58:32 AM Kevin Liu: np
  51. 12:03:48 PM Kevin Liu: k i got it to print hte uid
  52. 12:03:52 PM Kevin Liu: now to see why it can't convert...
  53. 12:04:12 PM Kevin Liu: for a in targets:
  54. print "Parsing: " + a[0]
  55. uid = string.atol(a[0])
  56. cid = string.atol(a[1])
  57. listname = a[2];
  58. email = a[3]
  59. 12:05:53 PM Kevin Liu: i found the person
  60. 12:05:53 PM Kevin Liu: s261:2:haileyrobertson@msn.com
  61.  
  62. 12:06:05 PM jimkgarvey: there you go
  63. 12:06:08 PM Kevin Liu: the heck though
  64. 12:06:08 PM jimkgarvey: nice work
  65. 12:06:10 PM Kevin Liu: where the person come from
  66. 12:06:13 PM jimkgarvey: not sure how tha thappened
  67. 12:06:22 PM jimkgarvey: so dude last night
  68. 12:06:23 PM Kevin Liu: and the user doesnt have a uid or a campaign id
  69. 12:06:30 PM jimkgarvey: supposedly we did a deal to get like 12m uk
  70. 12:06:36 PM Kevin Liu: i heard!
  71. 12:06:38 PM jimkgarvey: we should get it today
  72. 12:06:47 PM Kevin Liu: great man
  73. 12:06:55 PM Kevin Liu: i heard one is like the universal music list with al ot of uk
  74. 12:06:57 PM Kevin Liu: and another is a feed
  75. 12:15:30 PM Kevin Liu: ok im scrubbing the us list for similarly bad lines
  76. 12:15:36 PM Kevin Liu: while it's running im gonna pack shower etc
  77. 12:15:49 PM jimkgarvey: word
  78. 12:17:04 PM Kevin Liu: btw what database and table is the us ("RG") data stored?
  79. 12:17:24 PM Kevin Liu: ah
  80. 12:17:27 PM Kevin Liu: "data"
  81. 12:18:26 PM jimkgarvey: yeah just double checked
  82. 12:18:29 PM Kevin Liu: brand_rg
  83. 12:18:57 PM jimkgarvey: correct
  84. 12:19:49 PM Kevin Liu: i ahve no idea how it's possible that a character could have gotten in to the list
  85. 12:19:53 PM Kevin Liu: as the user id
  86. 12:20:00 PM Kevin Liu: since it's stored as an int
  87. 12:22:11 PM Kevin Liu: weird
  88. 12:22:11 PM Kevin Liu: ok
  89. 12:22:15 PM Kevin Liu: it's happening in suppression
  90. 12:22:17 PM Kevin Liu: i'll figure it out
  91. 12:22:28 PM Kevin Liu: the offending person showed up as S:s261:2:haileyrobertson@msn.com in today's list
  92. 12:22:39 PM Kevin Liu: in the database and in the unsupped list
  93. 12:22:40 PM Kevin Liu: the person is
  94. 12:22:41 PM Kevin Liu: 15493853:93457:2:haileyrobertson@msn.com
  95. 1:40:26 PM Kevin Liu: ok man
  96. 1:40:27 PM Kevin Liu: im bouncing soon
  97. 1:40:36 PM jimkgarvey: aight dog
  98. 1:40:51 PM Kevin Liu: im sure that the list error is happning at suppression
Add Comment
Please, Sign In to add comment