Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code no longer working
#14
(Dec-21-2020, 07:18 AM)bowlofred Wrote: all is normally a built-in function. By using that name as your variable, you can't use that function. I would recommend using another name.

Are you sure the file is being found? Perhaps right before line 63 you could add some diagnostic messaging.

...
print(f"all has {len(all)} elements")
history = pd.concat(all).reset_index()
...
If it has zero elements, you'll have to diagnose why. Presumably the file isn't being found.

Hello,

The file is not being found. I googled and I can say that my code to access the text whatsapp chat is the right one for Repl. Is there something else I can try.

thanks,

YK
Reply


Messages In This Thread
Code no longer working - by yk303 - Dec-18-2020, 08:09 AM
RE: Code no longer working - by bowlofred - Dec-18-2020, 09:17 AM
RE: Code no longer working - by yk303 - Dec-18-2020, 10:27 AM
RE: Code no longer working - by yk303 - Dec-18-2020, 10:30 AM
RE: Code no longer working - by ndc85430 - Dec-18-2020, 01:25 PM
RE: Code no longer working - by yk303 - Dec-19-2020, 06:56 AM
RE: Code no longer working - by bowlofred - Dec-18-2020, 04:42 PM
RE: Code no longer working - by bowlofred - Dec-19-2020, 07:02 AM
RE: Code no longer working - by yk303 - Dec-21-2020, 04:02 AM
RE: Code no longer working - by bowlofred - Dec-21-2020, 04:14 AM
RE: Code no longer working - by yk303 - Dec-21-2020, 06:04 AM
RE: Code no longer working - by bowlofred - Dec-21-2020, 07:18 AM
RE: Code no longer working - by yk303 - Dec-21-2020, 07:44 AM
RE: Code no longer working - by yk303 - Dec-21-2020, 07:34 PM
RE: Code no longer working - by bowlofred - Dec-21-2020, 10:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  New to Python - Not sure why this code isn't working - Any help appreciated TheGreatNinx 4 974 Jul-22-2023, 10:21 PM
Last Post: Pedroski55
  code not working when executed from flask app ThomasDC 1 906 Jul-18-2023, 07:16 AM
Last Post: ThomasDC
  Beginner: Code not work when longer list raiviscoding 2 833 May-19-2023, 11:19 AM
Last Post: deanhystad
  I am new to python and Could someone please explain how this below code is working? kartheekdas 2 1,026 Dec-19-2022, 05:24 PM
Last Post: kartheekdas
Exclamation My code is not working as I expected and I don't know why! Marinho 4 1,093 Oct-13-2022, 08:09 PM
Last Post: deanhystad
  a longer docstring Skaperen 8 1,690 Aug-25-2022, 11:21 PM
Last Post: Skaperen
  My Code isn't working... End3r 4 1,943 Mar-21-2022, 10:12 AM
Last Post: End3r
  I don't undestand why my code isn't working. RuyCab 2 1,998 Jun-17-2021, 03:06 PM
Last Post: RuyCab
  code is not working , can anybody help? RandomPerson69 4 2,924 Mar-22-2021, 04:24 PM
Last Post: deanhystad
  Short code for EventGhost not working Patricia 8 3,715 Feb-09-2021, 07:49 PM
Last Post: Patricia

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020