Python Forum
Cannot open file in an OpenSharedItem() iterator - The file may not exist/may be open
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot open file in an OpenSharedItem() iterator - The file may not exist/may be open
#4
I think the error is here:

msg=outlook.OpenSharedItem(workdir1 + filename)
Check if the path workdir1 + filename is really the path of the wanted file. Try to add '/' between them.
Another thing is that you use workdir1 and then workdir. Is this right?
Reply


Messages In This Thread
RE: Cannot open file in an OpenSharedItem() iterator - The file may not exist/may be open - by gontajones - Jul-25-2018, 10:18 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Right way to open files with different encodings? Winfried 2 241 Apr-23-2024, 05:50 PM
Last Post: snippsat
  Open files in an existing window instead of new Kostov 2 328 Apr-13-2024, 07:22 AM
Last Post: Kostov
  Using a script to open multiple shells? SuchUmami 9 546 Apr-01-2024, 10:04 AM
Last Post: Gribouillis
  Open/save file on Android frohr 0 339 Jan-24-2024, 06:28 PM
Last Post: frohr
  file open "file not found error" shanoger 8 1,160 Dec-14-2023, 08:03 AM
Last Post: shanoger
  UndefinedEnvironmentName: 'extra' does not exist in evaluation environment EarthAndMoon 3 1,705 Oct-09-2023, 05:38 PM
Last Post: snippsat
  how to open a popup window in tkinter with entry,label and button lunacy90 1 901 Sep-01-2023, 12:07 AM
Last Post: lunacy90
  Need to replace a string with a file (HTML file) tester_V 1 777 Aug-30-2023, 03:42 AM
Last Post: Larz60+
  QUIZ GUI Form_When admin panel is open, main quiz form is getting freeze Uday 4 785 Aug-25-2023, 08:24 PM
Last Post: deanhystad
  open python files in other drive akbarza 1 712 Aug-24-2023, 01:23 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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