Comments (3)
Same. I tried ~/smol-developer$ chmod a+w generated
to give full access to the /generated directory but it didn't work
from developer.
you gotta give the full error message dudes.
from developer.
I hope it's not too bad for me to piggyback on this thread, but I have a similar error when trying to generate an arduino script,
it starts working then I get this crash
ecord_audio_handle.start()
╭────────────────────────── Traceback (most recent call last) ──────────────────────────╮
│ C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\runpy.py:196 in │
│ _run_module_as_main │
│ │
│ 195 │ │ sys.argv[0] = mod_spec.origin │
│ ❱ 196 │ return _run_code(code, main_globals, None, │
│ 197 │ │ │ │ │ "main", mod_spec) │
│ │
│ C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\runpy.py:86 in run_code │
│ │
│ 85 │ │ │ │ │ spec = mod_spec) │
│ ❱ 86 │ exec(code, run_globals) │
│ 87 │ return run_globals │
│ │
│ C:\Users\Admin\AppData\Local\Programs\Python\Python310\Scripts\modal.exe_main.py: │
│ 7 in │
│ │
│ │
│ C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\modal__main │
│ __.py:6 in main │
│ │
│ 5 def main(): │
│ ❱ 6 │ entrypoint_cli() │
│ 7 │
│ │
│ C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.p │
│ y:1130 in call │
│ │
│ 1129 │ │ """Alias for :meth:main
.""" │
│ ❱ 1130 │ │ return self.main(*args, **kwargs) │
│ 1131 │
│ │
│ C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\typer\core.p │
│ y:778 in main │
│ │
│ 777 │ ) -> Any: │
│ ❱ 778 │ │ return _main( │
│ 779 │ │ │ self, │
│ │
│ C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\typer\core.p │
│ y:216 in _main │
│ │
│ 215 │ │ │ with self.make_context(prog_name, args, **extra) as ctx: │
│ ❱ 216 │ │ │ │ rv = self.invoke(ctx) │
│ 217 │ │ │ │ if not standalone_mode: │
│ │
│ C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.p │
│ y:1657 in invoke │
│ │
│ 1656 │ │ │ │ with sub_ctx: │
│ ❱ 1657 │ │ │ │ │ return _process_result(sub_ctx.command.invoke(sub_ctx)) │
│ 1658 │
│ │
│ C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.p │
│ y:1657 in invoke │
│ │
│ 1656 │ │ │ │ with sub_ctx: │
│ ❱ 1657 │ │ │ │ │ return _process_result(sub_ctx.command.invoke(sub_ctx)) │
│ 1658 │
│ │
│ C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.p │
│ y:1404 in invoke │
│ │
│ 1403 │ │ if self.callback is not None: │
│ ❱ 1404 │ │ │ return ctx.invoke(self.callback, **ctx.params) │
│ 1405 │
│ │
│ C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.p │
│ y:760 in invoke │
│ │
│ 759 │ │ │ with ctx: │
│ ❱ 760 │ │ │ │ return __callback(*args, **kwargs) │
│ 761 │
│ │
│ C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\click\decora │
│ tors.py:26 in new_func │
│ │
│ 25 │ def new_func(*args, **kwargs): # type: ignore │
│ ❱ 26 │ │ return f(get_current_context(), *args, **kwargs) │
│ 27 │
│ │
│ C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\modal\cli\ru │
│ n.py:116 in f │
│ │
│ 115 │ │ │ else: │
│ ❱ 116 │ │ │ │ func(*args, **kwargs) │
│ 117 │ │ │ if app.function_invocations == 0: │
│ │
│ C:\Users\Admin\AI\Smol\developer\main.py:171 in main │
│ │
│ 170 │ │ │ ): │
│ ❱ 171 │ │ │ │ write_file(filename, filecode, directory) │
│ 172 │
│ │
│ C:\Users\Admin\AI\Smol\developer\main.py:194 in write_file │
│ │
│ 193 │ # Open the file in write mode │
│ ❱ 194 │ with open(file_path, "w") as file: │
│ 195 │ │ # Write content to the file │
╰───────────────────────────────────────────────────────────────────────────────────────╯
PermissionError: [Errno 13] Permission denied: '/main.py'
It does work on simpler arduino prompts though
from developer.
Related Issues (20)
- args not defined error HOT 2
- stream_handler error: 'content' {} ←[0m ←[0m ←[0m ←[0m ←[0m ←[0m
- NameError: name 'args' is not defined HOT 3
- pip install modal-client error
- OpenAI key error HOT 4
- JavaScript files contain code fences
- Add a new feature - test and debug to create self-healing code
- Timeout issue
- Error: The system cannot find the file specified. HOT 1
- Can anyone fix the Basic Usate in Git Repo mode? HOT 1
- PyPI Package is Broken
- Run demo through pip package, no response, no output, no error reported, program automatically ends HOT 1
- Is there a way to bind with azure openai?
- Errors when running `poetry run python main.py --prompt "poetry prompt"`
- Feature Proposal: New feature proposal HOT 1
- Test
- how to use codellama instead of openai api? HOT 3
- can someone update this with a dockerfile for ubuntu 22.04 so we can run this? currently it doesnt work
- Can someone make an updated video on how to use this in 2024 with and w/o modal please.
- debugger and code2prompt in v0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from developer.