Resource icon

Advanced Filename Formatter 1.2.0

Penwy

Member
Oh, right, I see the issue.
There's an easy fix which is to install the pyparsing module for python.
The script attempts to install it automatically, but it doesn't always succeeds for all installs
However if you don't mind, could you do the below so as to give me info on your install so I could find a way to treat cases like yours automatically and without errors in the future?
- add the script that's in the zip file below to obs
- close obs, reopen
- go to help > log files > upload current log file, and send here the URL it gives you
 

Attachments

  • Empty_obspy.zip
    853 bytes · Views: 10
Oh, right, I see the issue.
There's an easy fix which is to install the pyparsing module for python.
The script attempts to install it automatically, but it doesn't always succeeds for all installs
However if you don't mind, could you do the below so as to give me info on your install so I could find a way to treat cases like yours automatically and without errors in the future?
- add the script that's in the zip file below to obs
- close obs, reopen
- go to help > log files > upload current log file, and send here the URL it gives you
Don't know any programming, but will try. You want me to install pyparsing then try empty obs zip, right?
 
Don't know any programming, but will try. You want me to install pyparsing then try empty obs zip, right?
I used warp to install the pyparsing module after going to the link you gave me above. I didn't understand how to install pyparsing this way, so warp gave me an alternative. Warning: No available formula with the name "pyparsing". Did you mean pystring?" I installed, "pystring." Then I installed the empty obs py. I see it in the scripts. I checked off test and still no properties available in your original script. I am on Mac OS Ventura. Thanks.
 

Penwy

Member
I used warp to install the pyparsing module after going to the link you gave me above. I didn't understand how to install pyparsing this way, so warp gave me an alternative. Warning: No available formula with the name "pyparsing". Did you mean pystring?" I installed, "pystring." Then I installed the empty obs py. I see it in the scripts. I checked off test and still no properties available in your original script. I am on Mac OS Ventura. Thanks.
The empty obspy doesn't fix it, it gives me infor so I can fix it.
That's why after adding it, you need to close obs, reopen and give me the URL to the log as I described, so that I can actually see the info it prints.

Installing pyparsing would usually be done with `python -m install pyparsing` but it can vary depending on the way python is installed.
 
The empty obspy doesn't fix it, it gives me infor so I can fix it.
That's why after adding it, you need to close obs, reopen and give me the URL to the log as I described, so that I can actually see the info it prints.

Installing pyparsing would usually be done with `python -m install pyparsing` but it can vary depending on the way python is installed.
https://obsproject.com/logs/3oHvvdVgfXUBpykD Thanks so much!
The txt file is too big to download. I've tried everything. Even sections, but I will be here all day. Any way to compress the file? Thanks.

Is this better? https://obsproject.com/logs/2EMFstakBMteFqGn
 
Last edited:
Test with the modified version attached below and see if that fixes it.
It shows up in scripts, but in the description it says that it needs "Pyparsing." Better than "no properties available" I clicked on it and it took me to the pyparsing website, so that is where I don't know how to download or install it. Any more ideas? Thanks for trying!..... edit: I do know you gave me some command lines, but they don't seem to work. I try with Warp AI.
 
Last edited:
Try with this one.
Sorry, it still gives me the same error. I wonder if you have a direct link to install pyparsing if it would work. I could also type it into Warp to see if it will install for me. Again, I realize you did already, but it's not installing. Maybe a link to the right download on that site. Thanks.
 
Sorry, it still gives me the same error. I wonder if you have a direct link to install pyparsing if it would work. I could also type it into Warp to see if it will install for me. Again, I realize you did already, but it's not installing. Maybe a link to the right download on that site. Thanks.
Hm....I tried terminal trying to install pyparsing and it tells me to install pystring, but it is already installed.

"No available formula with the name "pyparsing". Did you mean pystring? ==> Searching for similarly named formulae and casks...
==> Formulae"
 
Hm....I tried terminal trying to install pyparsing and it tells me to install pystring, but it is already installed.

"No available formula with the name "pyparsing". Did you mean pystring? ==> Searching for similarly named formulae and casks...
==> Formulae"

Just used warp. This is what ut said ,"pip install pyparsing
Requirement already satisfied: pyparsing in ./myenv/lib/python3.12/site-packages (3.2.0)"


However, this is what the script log says when it opens. I wonder if need to restart the Mac? I did delete the older scripts you made.
[Empty_obspy.py] ['', '/Library/Frameworks/Python.framework/Versions/Current/lib/python312.zip', '/Library/Frameworks/Python.framework/Versions/Current/lib/python3.12', '/Library/Frameworks/Python.framework/Versions/Current/lib/python3.12/lib-dynload', '/Library/Frameworks/Python.framework/Versions/Current/lib/python3.12/site-packages', '/Applications/OBS 3.app/Contents/PlugIns', '/Applications/OBS 3.app/Contents/Resources', '/Applications/OBS.app/Contents/PlugIns/frontend-tools.plugin/Contents/Resources/scripts/']

[Empty_obspy.py] /Applications/OBS 3.app/Contents/MacOS/OBS

[Empty_obspy.py] sys.version_info(major=3, minor=12, micro=4, releaselevel='final', serial=0)

[Empty_obspy.py] /Library/Frameworks/Python.framework/Versions/Current

[adv-ff 3.py] adv-ff starting load of version 1.1.2.test-macos on python 3.12.4 (v3.12.4:8e8a4baf65, Jun 6 2024, 17:33:18) [Clang 13.0.0 (clang-1300.0.29.30)]

[adv-ff 3.py] Pyparsing not found

[adv-ff 3.py] Pyparsing requirements not satisfied, attempting pip install
 

Penwy

Member
I'll be honest, at this point, it'll be far far easier if you could come on the discord, would make communication far easier.
If you can't, give me the whole log again
 

Penwy

Member
Penwy updated Advanced Filename Formatter with a new update entry:

Version 1.2.0

  • Automatic file splitting, whether by time, size or hotkey will now correctly update the formatting too.
    • This works by hijacking the default file splitting, as a result it might be slightly less precise in particular for the size one.
  • Improved the handling of pyparsing import failures, with a descriptive message and a procedure to report such issues with relevant info.
  • Possible fix of the pyparsing import on Macos.

Read the rest of this update entry...
 
Top