Troubleshooting - hzla/Pokeweb GitHub Wiki
Troubleshooting
- The commands "bundle install" or "pip install ndspy" are not working.
- I see Server handler (thin,puma,reel,HTTP,webrick) not found. (RuntimeError) after typing "ruby routes.rb
- I see "Errno::ENOENT at /headers" in red after trying to load my rom.
- The icons on pokemon editors don't do anything.
- I clicked on an editor in the navbar and I get an error.
- My rom loaded, but some of the editors are giving errors.
- I'm trying to import a rom that's been edited by SwissArmyKnife.
- My rom is crashing after exporting
- I get an error page when exporting from the pokeweb website
- I can't patch my rom using the exported xdelta from the pokeweb website
- My issue wasn't addressed above
The commands "bundle install" or "pip install ndspy" are not working.
Make sure you have ruby and python installed correctly. There are installers included with the main repo for windows. You can click those to run them individually and then try the above commands again.
If your system is having trouble locating ndspy try installing by running
python3 -m pip install ndspy
or python -m pip install ndspy
I see Server handler (thin,puma,reel,HTTP,webrick) not found. (RuntimeError) after typing "ruby routes.rb
run gem install webrick
and then retry ruby routes.rb
I see "Errno::ENOENT at /headers" in red after trying to load my rom.
Make sure your rom name doesn't contain spaces or special characters. "Black2.nds" is okay. "Black (2).nds" is not okay. Also make sure the commands "bundle install" and "pip3 install ndspy" ran without errors.
The icons on pokemon editors don't do anything.
Make sure you are using an American/English rom. Also, if you've added or deleted data from the arm9 of the rom using another editor, pokeweb might not load it properly.
I clicked on an editor in the navbar and I get an error
If you just loaded a rom, you will have to wait a few seconds before the editor will load properly. Try refreshing the page.
My rom loaded, but some of the editors are giving errors.
Go to your terminal/powershell, do a search (cntrl + f) for "codecs.charmap". If you find it, it means you will have to use another version of pokeweb. Go back to https://github.com/hzla/Pokeweb and click on "main" on the top right. Then click on "stable-notexteditor" to switch to that branch. Then you can redownload the zip file and follow the steps to run. You can skip "bundle install" and "pip install ndspy" if you have already run those commands successfully.
I'm trying to import a rom that's been edited by SwissArmyKnife.
Type pip show ndspy
into terminal/powershell. You should get information on where your installation of ndspy is located. It will look something like this.
Name: ndspy
Version: 4.0.0
Summary: Python library that can help you read, modify and create many types of files used in Nintendo DS games.
Home-page: https://github.com/RoadrunnerWMC/ndspy
Author: RoadrunnerWMC
Author-email: [email protected]
License: UNKNOWN
Location: /Users/USERNAME/.pyenv/versions/3.11.1/lib/python3.11/site-packages
Requires: crcmod
Required-by:
Navigate to the folder specified in location. You may need to enable showing hidden folders on your operating system navigate there. Once you've navigated to the location open the folder "ndspy", and then open the file "narc.py" with a text editor. Go to line 56 and find the lines.
if version != 1:
raise ValueError(f'Unsupported NARC version: {version}')
Delete the above lines and save the file.
My rom is crashing after exporting
If your rom has been been edited by other tools before, try setting "output_arm9" to "false" in session_settings.json. This value is set to "false" by default.
I get an error page while trying to export from the pokeweb website
Go to the Kingdom of DS Hacking discord #pokeweb-support channel, and post your project name/ issues you're having
My rom is crashing after exporting
Make sure you are using a clean base rom from the Kingdom of DS Hacking discord #game-downloads channel. Make sure you are using this version of xdeltaUI: https://www.romhacking.net/utilities/598/
My issue wasn't addressed above
Go to your terminal or powershell/cmd where you have Pokeweb running. Copy paste the contents of the entire window (cntrl + a to select all). Send the contents of window to #pokeweb-support on the DS Hacking discord. Also include what version you are rom hacking (BW or BW2) and your operating system (mac or windows).