You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When copy and pasting my generated API key from the store website, I get a fairly cryptic error stating "Fernet key must be 32 url-safe base64-encoded bytes". Seems like it's expecting encoded byte data and not text.
Browser and Version
Chrome Version 124.0.6367.209 (Official Build) (64-bit)
Firefox Version 125.0.3 (64-bit)
To Reproduce
Steps to reproduce the behavior:
Generate a key on the store website.
Copy the key.
Open local LangFlow instance.
Click "Store" to open store.
Click "API Key" button (is in red since no key set).
Paste API key from store.
Click save. Error message appears and quickly goes away. No API access - cannot use store.
Screenshots
Additional context
Running Python 3.9.18.
I'm also seeing many errors in the command prompt window that stays open after launching the UI. See example below - they all look almost exactly the same... complaints about unsupported operand and invalid type conversion... am I using an unsupported Python version maybe?
>> from langchain_community.embeddings import VertexAIEmbeddings
warn_deprecated(
[05/17/24 16:01:28] ERROR 2024-05-17 16:01:28 - ERROR - directory_reader - Error while directory_reader.py:79 loading component: 400: {'error': 'Invalid type convertion. Please
check your code and try again.', 'traceback': 'Traceback (most
recent call last):\n File
"C:\\Users\\raisbecka\\AppData\\Local\\Programs\\Python\\Python39\\l
ib\\site-packages\\langflow\\interface\\custom\\utils.py", line 311,
in build_custom_component_template\n
add_base_classes(frontend_node,
custom_component.get_function_entrypoint_return_type)\n File
"C:\\Users\\raisbecka\\AppData\\Local\\Programs\\Python\\Python39\\l
ib\\site-packages\\langflow\\interface\\custom\\utils.py", line 75,
in add_base_classes\n base_classes =
get_base_classes(return_type_instance)\n File
"C:\\Users\\raisbecka\\AppData\\Local\\Programs\\Python\\Python39\\l
ib\\site-packages\\langflow\\utils\\util.py", line 189, in
get_base_classes\n result = \n File
"C:\\Users\\raisbecka\\AppData\\Local\\Programs\\Python\\Python39\\l
ib\\typing.py", line 711, in __getattr__\n raise
AttributeError(attr)\nAttributeError: __name__\n'}
Other than the store not working because of this API issue, I love this tool. Great work guys! UI is a beaut too.
The text was updated successfully, but these errors were encountered:
Describe the bug
When copy and pasting my generated API key from the store website, I get a fairly cryptic error stating "Fernet key must be 32 url-safe base64-encoded bytes". Seems like it's expecting encoded byte data and not text.
Browser and Version
To Reproduce
Steps to reproduce the behavior:
Screenshots
Additional context
Running Python 3.9.18.
I'm also seeing many errors in the command prompt window that stays open after launching the UI. See example below - they all look almost exactly the same... complaints about unsupported operand and invalid type conversion... am I using an unsupported Python version maybe?
Other than the store not working because of this API issue, I love this tool. Great work guys! UI is a beaut too.
The text was updated successfully, but these errors were encountered: