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

Error migrating Blogger content - parsing url prop #1006

Open
whaleyr opened this issue Feb 27, 2024 · 0 comments
Open

Error migrating Blogger content - parsing url prop #1006

whaleyr opened this issue Feb 27, 2024 · 0 comments

Comments

@whaleyr
Copy link
Contributor

whaleyr commented Feb 27, 2024

When I run the following command, I get an error message when processing blogger content.

migrate blogger --blogID 6521985176416791926 --apiKey <redacted>

I get the following log:

[2024-02-23 14:25:21] INFO
(node:39239) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:39239) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unpipe listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit
(node:39239) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit
(node:39239) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit
(node:39239) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 finish listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit
✔ Initializing
   →  Workspace initialized at /var/folders/5l/20flvwpj4fj9g0dyhq637qr80000gn/T/mg/cc2b7550907cd55f6c8dc01b5c7b1341-blogger-6521985176416791926
✔ Get content from API
 ✔ Fetching posts for 6521985176416791926
✖ Process Blogger API JSON
  Fetch missing data via WebScraper
  Build Link Map
  Format data as Ghost JSON
  Fetch images via AssetScraper
  Update links in content via LinkFixer
  Convert HTML -> MobileDoc
  Write Ghost import JSON File
  Write Ghost import zip
[2024-02-23 14:25:21] INFO
Error: ENOENT: no such file or directory, open '/Users/whaleyr/pharmgkb/ghost-migration/localhost_development.log'
    at readFileSync (node:fs:456:20)
    at showLogs (file:///usr/local/lib/node_modules/@tryghost/migrate/lib/utilties/cli-log-display.js:8:21)
    at TypeCommand.run [as _runHandler] (file:///usr/local/lib/node_modules/@tryghost/migrate/commands/blogger.js:130:5)
    at async Promise.all (index 4)

I re-ran the command with the verbose flag and got the following log

[2024-02-23 14:25:51] INFO
[STARTED] Initializing
[OUTPUT] Workspace initialized at /var/folders/5l/20flvwpj4fj9g0dyhq637qr80000gn/T/mg/cc2b7550907cd55f6c8dc01b5c7b1341-blogger-6521985176416791926
[COMPLETED] Initializing
[STARTED] Get content from API
[STARTED] Fetching posts for 6521985176416791926
(node:39351) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:39351) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unpipe listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit
(node:39351) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit
(node:39351) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit
(node:39351) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 finish listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit
[COMPLETED] Fetching posts for 6521985176416791926
[COMPLETED] Get content from API
[STARTED] Process Blogger API JSON
[FAILED] Cannot read properties of null (reading 'url')
[2024-02-23 14:25:51] INFO
Error: ENOENT: no such file or directory, open '/Users/whaleyr/pharmgkb/ghost-migration/localhost_development.log'
    at readFileSync (node:fs:456:20)
    at showLogs (file:///usr/local/lib/node_modules/@tryghost/migrate/lib/utilties/cli-log-display.js:8:21)
    at TypeCommand.run [as _runHandler] (file:///usr/local/lib/node_modules/@tryghost/migrate/commands/blogger.js:130:5)
    at async Promise.all (index 4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant