R
Railway

✋|help

Error deploy flask

Ccesarcosta169/15/2023
Hii, im having a problem with my project, can someone help me

Project ID
0f9c813d-b8f5-4b7c-aa00-ad6f42a1ce5e

ERROR: failed to solve: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1
Jjonbeau9/15/2023
Hello, could you share the whole log and the contents of your requirements.txt?
Ccesarcosta169/15/2023
Jjonbeau9/15/2023
https://bookmarklets.up.railway.app/log-downloader/

By using this bookmarklet you can easily download the full log.
Ccesarcosta169/15/2023
Jjonbeau9/15/2023
Looks like there is some issue with msqlclient but I'm not sure what it is off the top of my head. You could research into the errors in the logs
I did a quick search and I'm not sure there is currently a solution for you to use msqlclient. You could try to install the stuff manually as Brody has mentioned in the past.

https://nixpacks.com/docs/guides/configuring-builds
[phases.setup]
aptPkgs = ['...', 'libmysqlclient-dev']


But you're probably better off switching to postgres.
Ccesarcosta169/15/2023
Hey @jonbeau, thank you for your time, i've figured it out, the problem was a compatibility error on pandas library
Jjonbeau9/15/2023
Great glad you figured it out! 👍

Looking for more? Join the community!

Recommended Posts
Help with webhooksRailway doesn't call my webhook, but i can manually call it through postmanDeleted MySQL DatabaseHow do I recover a deleted database without backup. projectId: e28cd36d-0d6f-4588-a03f-b54a6e97d1Connect to services using Private NetworksProject ID: 1790d4a8-0e32-4b4e-bf67-6ce23d7ae9e1 I'm trying to connect my main project (Node.js) toUpload FilesGood morning, I have 4 gigabytes of image files, my application is connected to Git, and I can't uplFiles on mounted volume not available after redeployI did a fresh deploy of @Brody 's Payload CMS template (https://github.com/brody192/payload-cms-tempCan't manually fill MySQLNone of the options i've tried works. I can still create dbs and populate them when connecting throuReferenced variables are emptyIf I hardcode the url in env variables, the deployment is successful, however using a reference to aSetup a monorepoHey guys, I'm using yarn workspaces and turborepo. I tried setting up the build command to "yarn turCan't start Remotion serverWhenever I try to use the Remotion server it cannot open the browser process and shows me this errorRecover a file inside a deploymentBy mistake I left a sqlite file inside a deployment and made a lot of updates to the database on thaDeployment Failed during build processI'm encountering issues while trying to build my Vue 3 and TypeScript project on Railway using NixpaBuild failing without errorMy build is failing to deploy without any error. Its just saying the container failed to start. The Cloudflare detected but not redirectingI've put the the right dns settings in cloudflare NS into godaddy. see screenshot which should poinFailed to authenticate to mongodbDeploying a MongoDB database from the UI, automatically creates a database named "test" if you connePrivate NPM Registry (GitHub)I'm using Yarn 3, GitHub Packages, and NodeJS. I am testing a deploy with `railway up` and when it gDjango advice neededHello good people, i would like to know how can i get some support for Railway? I started with a basUpdate TypebotHello, how i can update my project of typebot without lose all? i am new user in railwayWho deleted our database?I am writing to inquire about the recent deletion of the MySQL database in our account, we noticed Dockerbuild failes with no matching versionI attached the error and the dockerfile. The dockerfile locally runs withouth error but on railway ifailed opening connection to sql: default addr for networkHi, I am trying to deploy my golang web service which connects to mysql. I have added the mysql url