Bc_js_filepicker error after upgrading to 2.0.9

form.yml

app_directory:
data-filepicker: true
data-target-file-type: ‘dirs’
help: |
“The directory where the app is”

I am using form.js v0.4.7/
Screen Shot 2021-06-16 at 2.45.58 PM

@fangpingmu

I’m working on a fix and I’ll reply to this ticket shortly when I tag a new release!

@fangpingmu We tagged the release of v1.0.0 of bc_js_filepicker that fixes this bug. Please let me know if you find any other bugs!

1 Like

Thank you. After I update form.js to v1.0.0, the “Select File” button disappears.

In form.yml:
app_directory:
data-filepicker: true
data-target-file-type: ‘dirs’
help: |
“The directory where the Streamlit app is”

Change to new form.js:
-rw-r–r-- 1 root root 96030 Jun 22 16:48 form.js
-rw-r–r-- 1 root root 92913 Jan 4 15:16 form.js_old

Here’s the checksum of the v1.0.0 that works for me. Can you check your browser’s dev tools and console log for any errors that may be occurring? Also please let us know your platform & browser (and version), there could be some compatibility issue.

[johrstrom codeserver(mine)] 🐥  md5sum form.js 
f05e0d9cf581097487c07dce5158e89d  form.js

Upgrade OOD to 2.10

[root@ondemand-stage rshiny]# md5sum form.js
f05e0d9cf581097487c07dce5158e89d form.js
[root@ondemand-stage rshiny]# md5sum form.js_old
c9d06372cea9f1e9f23dc3ce0f0bbcd1 form.js_old

Restart OOD

Using Firefox Private Windows and Chrome Incognito Window, I cannot see the “Select File” button.

After I shift to the old form.js (v0.4.7), I can see the “Select File” button.

app_directory:
data-filepicker: true
data-target-file-type: dirs
help: |
“The directory where the app is”

Are there cache for OOD apps?