Ugo_Augustus
Ugo_Augustus
BBuildShip
Created by Ugo_Augustus on 6/7/2024 in #❓・buildship-help
I need help with "BuildShip Trigger & Execute Workflow Nodes" - (Not working)
If you could add this important hint to your documentation that would help others a lot. ☺️
12 replies
BBuildShip
Created by Ugo_Augustus on 6/7/2024 in #❓・buildship-help
I need help with "BuildShip Trigger & Execute Workflow Nodes" - (Not working)
Great it worked, Thanks so much
12 replies
BBuildShip
Created by Ugo_Augustus on 6/7/2024 in #❓・buildship-help
I need help with "BuildShip Trigger & Execute Workflow Nodes" - (Not working)
12 replies
BBuildShip
Created by Ugo_Augustus on 6/7/2024 in #❓・buildship-help
I need help with "BuildShip Trigger & Execute Workflow Nodes" - (Not working)
Ohh !, is that so? Okay, let me try that now.
12 replies
BBuildShip
Created by Ugo_Augustus on 6/7/2024 in #❓・buildship-help
I need help with "BuildShip Trigger & Execute Workflow Nodes" - (Not working)
No description
12 replies
BBuildShip
Created by Ugo_Augustus on 6/7/2024 in #❓・buildship-help
I need help with "BuildShip Trigger & Execute Workflow Nodes" - (Not working)
Hi @Bhavya thanks for the reply. I tried both methods simple text and object and none worked. You can see i added screenshots for both in the post. I tried both methods but none worked. I will send an in-app request as you suggested as well.
12 replies
BBuildShip
Created by Ugo_Augustus on 4/18/2024 in #❓・buildship-help
url to pdf node not working (same for generated epub files)
Really appreciate the work you did here. I look forward to working with you guys more in the near future. And I will continue to bring more of my clients to the Buildship platform and community. Love you guys ❤️
18 replies
BBuildShip
Created by Ugo_Augustus on 4/18/2024 in #❓・buildship-help
url to pdf node not working (same for generated epub files)
@Luis , Yes, I see that the epub is being saved to my Buildship storage, and I can click on the download button from the storage and it saves into my laptop. My question now is this: This output format that is returned: 80a5d-b6b1-482c-bf6a-0f8e469ef514.epub I have tried pasting it on the browser to see if it will download the epub to my laptop, but the browser didn't recognize it as a publicly accessible link. so, when you said it returns a publicly accessible url, did you mean this or something else, because this is the only output that is returned. 80a5d-b6b1-482c-bf6a-0f8e469ef514.epub
18 replies
BBuildShip
Created by Ugo_Augustus on 4/18/2024 in #❓・buildship-help
url to pdf node not working (same for generated epub files)
Hi, @Luis, thank you for the great job you did with the Epub Generator, I just checked it out now and saw you included a lot of cool features to it. I tried it out and got an output in this format: 248ea0f9-ff4a-481c-8aee-4012c255a046.epub I want to know where and how to view such output, where it is being saved. Also, this line:
const writePath = path.join(process.env.BUCKET_FOLDER_PATH, outputPath),  does it point to mine or Buildship’s google storage bucket? If none, which folder path is it referencing? Because the aim is to make the Epub url publicly accessible.
18 replies
BBuildShip
Created by Ugo_Augustus on 4/18/2024 in #❓・buildship-help
url to pdf node not working (same for generated epub files)
Eagerly looking forward to it
18 replies
BBuildShip
Created by Ugo_Augustus on 4/18/2024 in #❓・buildship-help
url to pdf node not working (same for generated epub files)
@Luis were you able to develop any custom node that converts from text to epub?
18 replies
BBuildShip
Created by Ugo_Augustus on 4/18/2024 in #❓・buildship-help
url to pdf node not working (same for generated epub files)
If you can suggest a possible solution or alternative, would be appreciated.
18 replies
BBuildShip
Created by Ugo_Augustus on 4/18/2024 in #❓・buildship-help
url to pdf node not working (same for generated epub files)
ERROR MESSAGES: { "error": { "nodeId": "test-node-f8cee0....d", "nodeName": "Empty node", "stage": "installing dependencies", "errorObject": { "code": 1, "killed": false, "signal": null, "cmd": "npm install epub-gen @google-cloud/storage@7.10.0 uuid@9.0.1 fs@0.0.2 path@0.12.7 node-epub-gen epub@1.2.1" } }, "buildId": "1713432..." } { "error": "fn.default.default is not a function" } { "error": "ENOENT: no such file or directory, open '/usr/src/app/bucket/builtNodes/templates/template.css'" } CODE: import Epub from 'epub-gen'; import EPUB from 'epub'; import { Storage } from '@google-cloud/storage'; import { v4 as uuidv4 } from 'uuid'; import { writeFileSync, readFileSync } from 'fs'; import { join } from 'path'; async function generateEpubAndUploadFirestoreData({ title, author, content }) { const fileName = ${uuidv4()}.epub; const epubFilePath = join("mak8.appspot.com/uploads", fileName); // Create a new EPUB book const book = new EPUB(epubFilePath, { title: title, author: author }); // Add a section book.addSection('Chapter 1', content); // Generate EPUB await new Promise((resolve, reject) => { book.generate((error, buffer) => { if (error) reject(error); else resolve(buffer); }); }); // Upload to Google Cloud Storage try { const storage = new Storage(); const bucket = storage.bucket("mak8.appspot.com"); const file = bucket.file(fileName); await file.save(readFileSync(epubFilePath), { resumable: false }); await file.makePublic(); const downloadURL = https://storage.googleapis.com/${bucket.name}/${fileName}; console.log('EPUB uploaded and accessible at:', downloadURL); return downloadURL; } catch (error) { console.error('Error uploading EPUB to GCP:', error); throw error; } }
18 replies
BBuildShip
Created by Ugo_Augustus on 4/18/2024 in #❓・buildship-help
url to pdf node not working (same for generated epub files)
Hi, I used an empty node for the epub generation. These are some of the errors I been getting and sample code I have used.
18 replies
BBuildShip
Created by Ugo_Augustus on 4/17/2024 in #💬・general
Ugo101 - Please I need help from the community....
I have tried it but it didn't work. It keeps using a library (epub-gen) that's not optimised for file upload to GCP which is where I need it to upload the epub file after generation
2 replies
BBuildShip
Created by Ugo_Augustus on 4/5/2024 in #❓・buildship-help
Team Member Invite not working need urgent help
either the issue was because they didn't have a paid account or it was because they didn't create a project first, before inviting me. Could be any of those two. After I told the client this, he fixed it and then it worked
9 replies
BBuildShip
Created by Ugo_Augustus on 4/5/2024 in #❓・buildship-help
Team Member Invite not working need urgent help
it's the same request from me.
9 replies
BBuildShip
Created by Ugo_Augustus on 4/5/2024 in #❓・buildship-help
Team Member Invite not working need urgent help
Yes, i was the one
9 replies
BBuildShip
Created by Ugo_Augustus on 4/5/2024 in #❓・buildship-help
Team Member Invite not working need urgent help
The issue has been resolved. It seems the problem was because the person who invited me didn't have a paid account before inviting me or something in that line. Maybe you should include some "notice message" there to inform people that their invite won't work unless their project is upgraded to paid.
9 replies