Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Followings import fail (Hollo 0.4.2) #85

Closed
kazukyakayashi opened this issue Dec 31, 2024 · 5 comments
Closed

Followings import fail (Hollo 0.4.2) #85

kazukyakayashi opened this issue Dec 31, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@kazukyakayashi
Copy link

Importing subscriptions seems not to work (at least from a .cvs generated by an Iceshrimp instance).
The import of my subscriptions does not seem to work (from a .cvs generated by an Iceshrimp instance). This sends me to an empty page with the following url: .../accounts/c062bdc9-c764-4bd4-8c58-0e55aa62c027

I tried with the list of blocked accounts and the import works fine.

10:41:24.124 ERR fedify·federation·http: An error occurred while serving request 'POST' 'https://hollo.zarchbox.fr/accounts/c062bdc9-c764-4bd4-8c58-0e55aa62c027/migrate/import': TypeError: Cannot read properties of undefined (reading 'trim')
    at <anonymous> (/home/freebox/hollo/src/pages/accounts.tsx:966:45)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async dispatch (file:///home/freebox/hollo/node_modules/.pnpm/hono@4.6.14/node_modules/hono/dist/compose.js:30:17)
    at async <anonymous> (/home/freebox/hollo/src/login.ts:21:3)
    at async dispatch (file:///home/freebox/hollo/node_modules/.pnpm/hono@4.6.14/node_modules/hono/dist/compose.js:30:17)
    at async trimTrailingSlash2 (file:///home/freebox/hollo/node_modules/.pnpm/hono@4.6.14/node_modules/hono/dist/middleware/trailing-slash/index.js:4:5)
    at async dispatch (file:///home/freebox/hollo/node_modules/.pnpm/hono@4.6.14/node_modules/hono/dist/compose.js:30:17)
    at async onNotFound (file:///home/freebox/hollo/node_modules/.pnpm/@fedify+fedify@1.3.3_web-streams-polyfill@3.3.3/node_modules/@fedify/fedify/esm/x/hono.js:30:13)
    at async #fetch (file:///home/freebox/hollo/node_modules/.pnpm/@fedify+fedify@1.3.3_web-streams-polyfill@3.3.3/node_modules/@fedify/fedify/esm/federation/middleware.js:1255:20)
    at async file:///home/freebox/hollo/node_modules/.pnpm/@fedify+fedify@1.3.3_web-streams-polyfill@3.3.3/node_modules/@fedify/fedify/esm/federation/middleware.js:1206:32
@dahlia
Copy link
Member

dahlia commented Dec 31, 2024

Could you provide the very first line of the CSV file you've tried to import?

@dahlia dahlia added the bug Something isn't working label Dec 31, 2024
@kazukyakayashi
Copy link
Author

kazukyakayashi commented Dec 31, 2024

There is just an account name, like for the blocklist.csv

cat Downloads/following-2024-12-31-10-32-12.csv              
admin@social.zarchbox.fr

@kazukyakayashi
Copy link
Author

On my very old account on mamot.fr (mastondon) when I export my followinglist :

cat Downloads/following_accounts.csv 
Account address,Show boosts,Notify on new posts,Languages
xxxxxxx@piaille.fr,true,false,

Misskey/Iceshrimp have a difference in file construction.

@dahlia dahlia self-assigned this Jan 11, 2025
@dahlia dahlia closed this as completed in ac35df5 Jan 11, 2025
@dahlia
Copy link
Member

dahlia commented Jan 11, 2025

Fixed in 0.4.3.

@kazukyakayashi
Copy link
Author

kazukyakayashi commented Jan 11, 2025

Edit : delete

@kazukyakayashi kazukyakayashi changed the title Followings import fail (Hollo 0.4.2) Followings import fail (Hollo 0.4.3) Jan 11, 2025
@kazukyakayashi kazukyakayashi changed the title Followings import fail (Hollo 0.4.3) Followings import fail (Hollo 0.4.2) Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants