-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
bugSomething isn't working.Something isn't working.t-toolingIssues with this label are in the ownership of the tooling team.Issues with this label are in the ownership of the tooling team.
Milestone
Description
In local environment with latest version of apify and crawlee, I am getting error below on startup:
Exception has occurred: ValueError
Invalid storage name "charging_log". Name can only contain letters "a" through "z", the digits "0" through"9", and the hyphen ("-") but only in the middle of the string (e.g. "my-value-1")
File "/media/projects/apify/src/__main__.py", line 12, in test_actor
async with Actor:
^^^^^
File "/media/projects/apify/src/__main__.py", line 26, in <module>
asyncio.run(test_actor())
~~~~~~~~~~~^^^^^^^^^^^^^^
ValueError: Invalid storage name "charging_log". Name can only contain letters "a" through "z", the digits "0" through"9", and the hyphen ("-") but only in the middle of the string (e.g. "my-value-1")
As far as I could tell Apify was not changing their code for quiet a long time:
apify-sdk-python/src/apify/_charging.py
Line 187 in 0c32f29
| dataset = await Dataset.open(name=self.LOCAL_CHARGING_LOG_DATASET_NAME) |
Everything seems to work fine with crawlee version 1.0.0.
Code that I am using to start actor:
async def test_actor():
async with Actor:
await create_scraper()
asyncio.run(test_actor()) apify version: 3.0.3
crawlee version: 1.0.4
python: 3.13
Metadata
Metadata
Assignees
Labels
bugSomething isn't working.Something isn't working.t-toolingIssues with this label are in the ownership of the tooling team.Issues with this label are in the ownership of the tooling team.