Open em997nz opened 1 week ago
Do you see any files in the log folder?
Hi - there are no log files I can see. Where would they be located?
In a folder called logs
under the directory where you have OF DL.exe
. If you don't have that, try opening a PowerShell window, changing directories to where you have OF DL.exe
, and running the exe directly (& 'OF DL.exe'
). That will give you the output even if it has to exit.
Thank you - I ran in PowerShell and this was the error message I got:
Exception caught: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
StackTrace: at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read() at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at OF_DL.Helpers.APIHelper.GetUserInfo(String endpoint, Auth auth) Exception caught: Object reference not set to an instance of an object.
StackTrace: at OF_DL.Program.Main()
Was there anything before the error, or just that?
And do you have rules.json
in your ofdl directory?
Was there anything before the error, or just that?
No errors before:
\ \ / / | | | |_ / \ | | | \ | | \ \ /\ / / / _ \ | | / | / \ | ' ` \ / \ | | / \ | | | | | | _ | | | | | | \ V V / | / | | | ( | (_) | | | | | | | | / | | | () | | || | | | |____| | || | | |__ _/_/ \| || _| \/ || || || _| _| \/ __/ || |/ ||
yt-dlp.exe located successfully! ffmpeg.exe located successfully! mp4decrypt.exe located successfully! device_client_id_blob located successfully! device_private_key located successfully! Exception caught: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
And do you have
rules.json
in your ofdl directory?
Yes I do
That doesn't look like OF DL 1.7.60; we don't use yt-dlp.exe or mp4decrypt.exe anymore, just ffmpeg.exe. Try extracting the files from the zip again.
That doesn't look like OF DL 1.7.60; we don't use yt-dlp.exe or mp4decrypt.exe anymore, just ffmpeg.exe. Try extracting the files from the zip again.
You are correct - this is the error message with 1.7.60
\ \ / / | | | |_ / \ | | | \ | | \ \ /\ / / / _ \ | | / | / \ | ' ` \ / \ | | / \ | | | | | | _ | | | | | | \ V V / | / | | | ( | (_) | | | | | | | | / | | | () | | || | | | |____| | || | | |__ _/_/ \| || _| \/ || || || _| _| \/ __/ || |/ ||
Valid version of Windows found. auth.json located successfully! config.json located successfully! FFmpeg located successfully device_client_id_blob located successfully! device_private_key located successfully! Exception caught: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
StackTrace: at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read() at Newtonsoft.Json.JsonReader.ReadAndMoveToContent() at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at OF_DL.Helpers.APIHelper.GetUserInfo(String endpoint)
Can you screenshot the directory?
Try extracting the rules.json file from the zip again? It's before the normal "logged in as xyz" message but after validating config.json and auth.json, which leads me to think it's a problem with that file.
If that doesn't work, maybe one of the other folks will have a better idea. I wish c# stack traces showed line numbers :(
Were you able to get this solved?
Sort of - clicking on the exe file doesn't work however I can operate through Powershell. This suggests a firewall issue.
Strange, but not outside the realm of possibility.
Can you post your config.json
and rules.json
?
config.json
{ "DownloadAvatarHeaderPhoto": true, "DownloadPaidPosts": true, "DownloadPosts": true, "DownloadArchived": true, "DownloadStreams": true, "DownloadStories": true, "DownloadHighlights": true, "DownloadMessages": true, "DownloadPaidMessages": true, "DownloadImages": true, "DownloadVideos": true, "DownloadAudios": true, "IncludeExpiredSubscriptions": false, "IncludeRestrictedSubscriptions": false, "SkipAds": false, "DownloadPath": "", "PaidPostFileNameFormat": "", "PostFileNameFormat": "", "PaidMessageFileNameFormat": "", "MessageFileNameFormat": "", "RenameExistingFilesWhenCustomFormatIsSelected": false, "Timeout": null, "FolderPerPaidPost": false, "FolderPerPost": false, "FolderPerPaidMessage": false, "FolderPerMessage": false, "LimitDownloadRate": false, "DownloadLimitInMbPerSec": 4, "DownloadOnlySpecificDates": true, "DownloadDateSelection": "after", "CustomDate": null, "ShowScrapeSize": false, "DownloadPostsIncrementally": true, "NonInteractiveMode": false, "NonInteractiveModeListName": "", "NonInteractiveModePurchasedTab": false, "FFmpegPath": "...Downloads/Github/OF.DL.V1.7.60/ffmpeg.exe", "CreatorConfigs": {} }
rules.json
{ "app-token": "33d57ade8c02dbc5a333db99ff9ae26a", "static_param": "RPnq8UadKceN7JNbeh2ApmUxM0A2nU9y", "prefix": "24650", "suffix": "666078a0", "checksum_constant": 13, "checksum_indexes": [ 4, 5, 7, 9, 9, 11, 13, 17, 18, 19, 23, 23, 23, 24, 25, 26, 27, 27, 28, 28, 28, 28, 28, 29, 30, 32, 32, 33, 33, 34, 34, 38 ] }
Hi there,
I was using OF.DL.V1.7.25 however am now trying to jump to OF.DL.V1.7.60. I have followed the instructions for this latest version however when I click in the "OF DL.exe" in the new version, the application does not open. I have added the application to the whilelist and disabled my firewall but still no luck.
Perhaps I installed the new version correctly?