[WIP] Arduboy Dock - 3d printed dock + RPi


(Erwin) #81

oh, can you create a directory repo right next it?

I think I need to add more instructions


(Pharap) #82

Your code should be checking that exists and creating it if it doesn’t. :P

Does it say what line? Me or @eried can do a PR to fix that.
Like @eried says, you just need to make a folder called repo.


#83

I have repo folder right next to uploader.exe!


#84

Full text is this:

Unhandled Exception:
System.IO.DirectoryNotFoundException: Directory ‘repo’ not found.
at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00091] in <8f2c484307284b51944a1a13a14c0266>:0
at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, System.IO.FileAttributes mask, System.IO.FileAttributes attrs) [0x00023] in <8f2c484307284b51944a1a13a14c0266>:0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
at System.IO.Directory.GetFilesRecurse (System.String path, System.String searchPattern, System.Collections.Generic.List1[T] all) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) [0x00014] in <8f2c484307284b51944a1a13a14c0266>:0 at Uploader.Program.LoadGamesFromRepo () [0x00001] in <755034178c29423dad077677e845c6ae>:0 at Uploader.Program.Main (System.String[] args) [0x0001a] in <755034178c29423dad077677e845c6ae>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.DirectoryNotFoundException: Directory 'repo' not found. at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00091] in <8f2c484307284b51944a1a13a14c0266>:0 at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, System.IO.FileAttributes mask, System.IO.FileAttributes attrs) [0x00023] in <8f2c484307284b51944a1a13a14c0266>:0 at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at System.IO.Directory.GetFilesRecurse (System.String path, System.String searchPattern, System.Collections.Generic.List1[T] all) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) [0x00014] in <8f2c484307284b51944a1a13a14c0266>:0
at Uploader.Program.LoadGamesFromRepo () [0x00001] in <755034178c29423dad077677e845c6ae>:0
at Uploader.Program.Main (System.String[] args) [0x0001a] in <755034178c29423dad077677e845c6ae>:0


(Erwin) #85

How are you running the program?

mono /home/pi/arduboy/uploader.exe &amp;

repo should be here:

/home/pi/arduboy/repo/


#86

How i’m doing it:


(Erwin) #87

try with

sudo mono uploader.exe

maybe you dont have permissions to access the folder


#88

Already have tried that, doesn’t work.


(Erwin) #89

Are you connected to wifi? and is git installed? because the folder is automatically generated


#90

Yes, its connected to wifi and the repo folder is full of games.
arduboy2


(Erwin) #91

I have no clue but if you have a machine connected via ssh to it, give me teamviewer access via pm and I can check it. As you can see from my design, I am not a linux user :smiley: hahah but I can try to peek what is wrong. Everything seems right

@pharap the folder was being created by git :slight_smile: