Giter Site home page Giter Site logo

fluffy's People

Contributors

danypava avatar davidolim avatar ddinghoya avatar fourminute avatar gut5 avatar sev73n avatar thezoc avatar torpedoxl avatar yoypa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fluffy's Issues

Fix encoding on macOS

please add
# -*- coding: utf-8 -*-
at line 2, it will fix "Non-ASCII character" error in macOS

install NSP error

select NSP file is ok.But when begin transfer both switch and fluffy get worng.and I can't upload log so I'll copy the info.Hope for answer.

log
DEBUG:root:Fluffy Log: If you see nothing here. Good!
ERROR:root:[Errno 32] Pipe error
Traceback (most recent call last):
File "fluffy.pyw", line 1372, in init
self.send_nsp_list()
File "fluffy.pyw", line 1455, in send_nsp_list
global_out.write(nsp_path)
File "site-packages\usb\core.py", line 387, in write
File "site-packages\usb\core.py", line 948, in write
File "site-packages\usb\backend\libusb1.py", line 824, in bulk_write
File "site-packages\usb\backend\libusb1.py", line 920, in __write
File "site-packages\usb\backend\libusb1.py", line 595, in _check
usb.core.USBError: [Errno 32] Pipe error
ERROR:root:[Errno 32] Pipe error
Traceback (most recent call last):
File "fluffy.pyw", line 1372, in init
self.send_nsp_list()
File "fluffy.pyw", line 1455, in send_nsp_list
global_out.write(nsp_path)
File "site-packages\usb\core.py", line 387, in write
File "site-packages\usb\core.py", line 948, in write
File "site-packages\usb\backend\libusb1.py", line 824, in bulk_write
File "site-packages\usb\backend\libusb1.py", line 920, in __write
File "site-packages\usb\backend\libusb1.py", line 595, in _check
usb.core.USBError: [Errno 32] Pipe error

fluffy.pyw crash without icon.ico

Maybe add the ability to launch without the icon? or doing a executable?
I really like your project, it's a great improvement over TUG! :)

[About Window] Wrong position for the close button

Hello,
When opening the "About" window, the close button is shifted to the left.
Screenshot_20190530_130418

It only happen the first time I click "About", if I reopen it a second time it fix itself.

System info:
KDE/Kwin 5.15.5, Breeze.

Can't Get USB Connected MacOS

Hi

I'm using the same Nintendo Switch with the same cable I used to on a newer Macbook and I can't get fluffy to connect. The USB connection screen is idle on both the Goldleaf and Tinfoil versions you have provided. It's strange as I have done the same steps as I had earlier on another device. Also, the USB cable is working properly as I can properly inject payloads to it.

I see this warning in the console after opening fluffy :

libpng warning: iCCP: CRC error
libpng warning: iCCP: CRC error
libpng warning: iCCP: CRC error

In this issue (#63) you said you need more logs. What kind of logs do you want?

Name and author accuracy

Despite being originally from Adubbz, he gave me the main developer role of Tinfoil, way before even Goldleaf was planned to be a thing. So I think it would be more simple to put Tinfoil and Goldleaf, and not the authors' names.

Constant 100% CPU usage

Whenever Fluffy is open, it consumes 100% of one CPU. This is due to your main loop, it looks like.

You could sleep 16ms when necessary (60fps) or block on receiving an event in the loop to solve the issue, but I'm not familiar enough with the project to say which is best.

MacOS: USB install error - Tinfoil threw an exception

running Mojave OS
SXOS on 8.0.1 emunand
Tinfoil 1.61

Heres the log:

ERROR:root:[Errno 13] Access denied (insufficient permissions)
Traceback (most recent call last):
File "./fluffy.pyw", line 1372, in init
self.send_nsp_list()
File "./fluffy.pyw", line 1451, in send_nsp_list
global_out.write(b'TUL0')
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/usb/core.py", line 387, in write
return self.device.write(self, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/usb/core.py", line 940, in write
intf, ep = self._ctx.setup_request(self, endpoint)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/usb/core.py", line 102, in wrapper
return f(self, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/usb/core.py", line 216, in setup_request
self.managed_claim_interface(device, intf)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/usb/core.py", line 102, in wrapper
return f(self, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/usb/core.py", line 167, in managed_claim_interface
self.backend.claim_interface(self.handle, i)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/usb/backend/libusb1.py", line 811, in claim_interface
_check(self.lib.libusb_claim_interface(dev_handle.handle, intf))
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 13] Access denied (insufficient permissions)

Replace .exe with .pyz

Exe is a bad format, compatible with only Windows and, when not signed, will cause problems (false positive) with antiviruses.
Pyz (python zip) is good because it's supported by Python itself (zipapp is part of their library), can pack other modules in it (the ones required in requirements.txt) and it's compatible with all the OSs.

If you're interested, here is their ref/guide.
The only thing is, Python >=3.5 is required

Feature: Adding support for blawar digableinc/tinfoil

Is there any chance to add support for the digableinc/tinfoil nice NSP installer?
Also, please mention on the app which Tinfoil should be used.
The UI is excellent but the server side tool called Nut lacks multiplatform support

PFS0.f never gets closed

As far as I can tell, the file handle for the PFS0 Fluffy opens never gets properly closed. I'm not too familiar with Fluffy's codebase, but from a glance it looks like a good spot for it might be in PFS0.reset()

Chinese file Path Support

if I use a Chinese file path like

c:\download\δΈ­ζ–‡\1.nsp

the switch Tinfoil would be crash

Image not found & Failed to import tkinter on macos

Am I being mad? I've never got on with python...
πŸ‘‹ ❯ python3 ./fluffy.pyw
Error: Failed to import Tkinter.
dlopen(/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/lib-dynload/_tkinter.so, 2): Library not loaded: /Library/Frameworks/Tcl.framework/Versions/8.4/Tcl
Referenced from: /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/lib-dynload/_tkinter.so
Reason: image not found

everything installed correctly and i set all the appropriate set arguements it told me to... still throwing that at me. tried cloning and running in like that, nada!

ImportError on macos

When trying to launch fluffy.pyw I get this error on Mac Os :
File "fluffy.pyw", line 33, in <module> import configparser ImportError: No module named configparser

Drag and drop support

Hello,
Is it possible to add drag and drop support (searching a way to not use tkinter :D) ?

Transfer failure using Tinfoil

OFW: 8.1.0
CFW: Atmosphere 0.9.2
Tinfoil 0.2.1
Fluffy: 2.9.2 (.pyw)
Windows 10 (1903)

Switch:
Launch Tinfoil > Title Management > Network Install NSP
Switch IP is 192.168.1.xxx
Waiting for connection...
Press B to cancel

Windows:
Launch Fluffy > Select Tinfoil > Select Network
Set Switch IP
Set Computer IP
Click NSP Selection button
Select any NSP, Open
Click Begin Transfer
Headers Sent
Awaiting Connection Request

Switch:
Press X to toggle on single selection
Press A to continue
Select Destination = SD Card
An error occurred
PerformRequest:71: Failed to retrieve HTTP Header: Server returned nothing (no headers, no data)

Press any button to exit.
Press B

System crash!
Error code: 2168-0002 (0x4a8)
Title: 010000000000100D
Firmware: 8.1.0 (Atmosphere 0.9.2-master-0d840e19)

An error has occured.
etc.

Nothing is added to the log file during these events.

NOTE: This actually runs fine if I launch it through IDLE! So whatever is different about that environment, possibly error handling(?), allows it to function.

Tinfoil Network Install. Failed to retrieve HTTP Header

I've been working on resolving this issue, it is currently rendering Network Install inoperable completely. This error occurs when using the original Python script provided with Tinfoil and in Fluffy(since it uses the same code).

Tinfoil receives the list of URL's successfully every single time. But after selection is when the error occurs.

I've performed a Wireshark and got back headers from Tinfoil just fine. So I'd imagine the problem therein lies with the Server(Fluffy).

The Master branch includes Nightly builds, so if you wish to debug the issue yourself you can download the unstable version of Fluffy from there.

OSX: Slow reaction and loading times

I am using a 2017 Mac, everything needed is installed.
When I am starting Fluffy it loads, but reacts extremly slow and the loading circle (cursor) will pop up as soon as I hover over something which has a hover effect. Same when I am clicking on something.

Reboot Fluffy without closing

Like title, would be good to "reboot" Fluffy without closing it and reopening it (cause Goldleaf right now supports just one nsp, so if you want to install X nsps you have to close and reopen fluffy and select Goldleaf above X times)

Corrupted data when install nsp with Usb Fluffy

My sd card is samsung evo 128gb , fat32 and im using v11.11.1 Kosmos. Install nsp with recommended TinFoil Usb Fluffy is no problem. but when i check data and got this message : " corrupted data was found " with every nsp installed with fluffy tinfoil usb. open Zelda Botw, playing and i got a random freeze system at loading scene or after boss fight cutscene and need to restart Switch. Nsp games installed directly from sd card are no corrupt data like fluffy tinfoil usb. Can you help me ? Thank you. Anyway my type c usb cable is from Nintendo Pro Controller
Sorry for my bad English. Also checked nsp games with NSPVerify v1.01 before install and all of my nsp are ok

Goldleaf v0.5+ Support Information Inside

Due to the Paradise fire I'm still on the verge of being completely homeless so updates have been slower. I am still working on Fluffy however, don't worry.

As for Goldleaf v0.5+ support I am working on it. I may wait for further Goldleaf USB improvements before making any changes however. This is due to the fact that it is in my opinion still not mature.

Right now Fluffy is confirmed and working for Goldleaf v0.4.

usb.core.USBError: [Errno 75] Overflow

Hello,
When trying to install nsp via tinfoil, I'm getting an overflow error:

$ ./fluffy.pyw     
Error: QDarkStyle not found. Using default.      # not related
REMOVED NAME [REMOVED ID][v0].nsp                # I removed title name/ID
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "./fluffy.pyw", line 619, in init_tinfoil_usb_install
    poll_commands(nsp_dir, in_ep, out_ep)
  File "./fluffy.pyw", line 571, in poll_commands
    cmd_header = bytes(in_ep.read(0x20, timeout=0))
  File "/usr/lib/python3.7/site-packages/usb/core.py", line 402, in read
    return self.device.read(self, size_or_buffer, timeout)
  File "/usr/lib/python3.7/site-packages/usb/core.py", line 988, in read
    self.__get_timeout(timeout))
  File "/usr/lib/python3.7/site-packages/usb/backend/libusb1.py", line 833, in bulk_read
    timeout)
  File "/usr/lib/python3.7/site-packages/usb/backend/libusb1.py", line 936, in __read
    _check(retval)
  File "/usr/lib/python3.7/site-packages/usb/backend/libusb1.py", line 595, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 75] Overflow

I correctly get dialog from tinfoil on the switch (Destination/IgnoreFirmware/Install)
When getting to the install screen(switch) the error pop(Linux).
Switch install screen:

Installing from /a path i'm too lazy to type/file.nsp
Retrieving remote NSP header...
Preparing install...
CNMT Name: ANumber.cnmt.nca
Installing ANumber.cnmt.nca to storage id 5
> Download Progress 0/0 MB (0%) (0.00 MB/s)

error installing python --with-tcl-tk.

Hi! I'm trying to run Fluffy on macOS. And I've installed libusb and configparser. I'm having a hard time installing python --with-tcl-tk.
It shows an error saying Invalid Option: --with-tcl-tk

Can you please help me with this

Issue with USB installing on macOs

Hello,

OS Version: macOS Mojave.
After running the "fluffy.pyw" and clicking "Select NSPs" I get this error on the terminal:
image

I can select the nsp to install from the finder/folder and the fluffly app shows me x nsps selected and after hit transfer and selecting the installation options on Goldleaf nothing happens and the GodLead screen only shows the "Starting Installation.." and in the Fluffy app it doesn't show any signals of progress.
image

Any ideas of what could be going on

Thanks and advance,
Eddy

Pyinstaller for executables

Why not use pyinstaller and create executables for fluffy.pyw so that users do not need to install python and the dependencies?

segfault on MacOS 10.14.4

Fluffy (any version, also 2.8.0) segfaults on my Mac running MacOS 10.14.4.

Switch: FW 8.0.1 with Kosmos 12.1.2

The segfault happens as soon as I plug in the Switch. Neither Tinfoil nor Goldleaf need to be started for it to happen. It also happened on earlier versions of fluffy and the Switch-FW.

If I can provide anymore useful information, feel free to ask.

➜  Downloads python3 fluffy\ \(1\).pyw
Python(12022,0x10dc8e5c0) malloc: Incorrect checksum for freed object 0x7f94371550f8: probably modified after being freed.
Corrupt value: 0x2807f9437181d0
Python(12022,0x10dc8e5c0) malloc: *** set a breakpoint in malloc_error_break to debug
[1]    12022 abort      python3 fluffy\ \(1\).pyw

fluffy.log
fluffy.osxlog.txt
Bildschirmfoto 2019-05-16 um 20 41 59

tracking release number

Hello,
Versioning of releases is weird, the last number (Z of X.Y.Z) is missing from archive and github link.
It make tracking updates confusing.
With the arch PKGBUILD: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=fluffy-switch I have no way to know if a user installed 2.3.0 or 2.3.1 or 2.3.2, they will all be 2.3 according to github and then yay/trizen. Seems they all install 2.3.0, see EDIT at the bottom.

$ yay -Si fluffy-switch
:: Querying AUR...
Repository      : aur
Name            : fluffy-switch
Keywords        : None
Version         : 2.3-2
Description     : Goldtree and Tinfoil GUI for USB install on switch
URL             : https://github.com/fourminute/Fluffy
AUR URL         : https://aur.archlinux.org/packages/fluffy-switch
Groups          : None
Licenses        : GPL
Provides        : None
Depends On      : python-pyusb  libusb  python-pyqt5
Make Deps       : None
Check Deps      : None
Optional Deps   : None
Conflicts With  : None
Maintainer      : YoyPa
Votes           : 0
Popularity      : 0.000000
First Submitted : 2019-01-25
Last Modified   : 2019-01-27
Out-of-date     : No

EDIT: It's even worse, I just downloaded the tar.gz and files are from 2.3.0 while the release say 2.3.2 the Z letter is not relevant.
I don't know if you are aware of that as you pointed out 2.3.2 with a 2.3.0 link in gbatemp forum

2.3.2 is out
https://github.com/fourminute/Fluffy/releases

source: https://gbatemp.net/threads/fluffy-a-tinfoil-and-goldleaf-gui.528930/page-17

Repeat NSP Install failed on Mac

Mac OS . Tinfoil USB install.
first install nsp(batch) after start python script is success
but next is always failed with exception.
here the stack

ERROR:root:[Errno 13] Access denied (insufficient permissions)
Traceback (most recent call last):
  File "fluffy.pyw", line 1193, in init_tinfoil_usb_install
    Tinfoil.send_nsp_list(selected_files, nsp_dir, out_ep)
  File "fluffy.pyw", line 1168, in send_nsp_list
    out_ep.write(b'TUL0')
  File "/usr/local/lib/python3.7/site-packages/usb/core.py", line 387, in write
    return self.device.write(self, data, timeout)
  File "/usr/local/lib/python3.7/site-packages/usb/core.py", line 940, in write
    intf, ep = self._ctx.setup_request(self, endpoint)
  File "/usr/local/lib/python3.7/site-packages/usb/core.py", line 102, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/usb/core.py", line 216, in setup_request
    self.managed_claim_interface(device, intf)
  File "/usr/local/lib/python3.7/site-packages/usb/core.py", line 102, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/usb/core.py", line 167, in managed_claim_interface
    self.backend.claim_interface(self.handle, i)
  File "/usr/local/lib/python3.7/site-packages/usb/backend/libusb1.py", line 811, in claim_interface
    _check(self.lib.libusb_claim_interface(dev_handle.handle, intf))
  File "/usr/local/lib/python3.7/site-packages/usb/backend/libusb1.py", line 595, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 13] Access denied (insufficient permissions)

Fluffy 2.9.1 not working on Linux

Prior versions have worked fine, but 2.9.1 doesn't work for me under Linux. I get the following error if trying to launch the script through python:

$ python3 ./Apps/Fluffy/2.9.1/fluffy.pyw
  File "./Apps/Fluffy/2.9.1/fluffy.pyw", line 1188
    os.rename(path, f"{os.path.dirname(path)}/{new_name}"

And if I make it executable and try to directly execute it it acts even weirder:

$ ./fluffy.pyw
./fluffy.pyw: line 1: #!: command not found
./fluffy.pyw: line 7: $'\nCute': command not found
import: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/408.
import: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/408.
import: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/408.
import: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/408.
import: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/408.
import: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/408.
import: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/408.
import: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/408.
import: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/408.
import: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/408.
import: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorized/408.
./fluffy.pyw: line 36: try:: command not found
./fluffy.pyw: line 37: syntax error near unexpected token `('
./fluffy.pyw: line 37: `    if "win" in sys.platform[:3].lower():'

2.8.0 worked perfectly fine. Some additional details about my environment:

Gentoo amd64
python 3.5.5
QT 5.12.3

Not sure what additional info my help, but please let me know and I'll be happy to provide it.

Thanks!

Failed to send NSP.

Here is the log:
DEBUG:root:Fluffy Log: If you see nothing here. Good!
ERROR:root:is_kernel_driver_active
Traceback (most recent call last):
File "D:\Documents\Switch\pc\fluffy.pyw", line 898, in init_goldleaf_usb_install
if dev.is_kernel_driver_active(0):
File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\site-packages\usb\core.py", line 1064, in is_kernel_driver_active
interface)
File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\site-packages\usb\backend_init_.py", line 365, in is_kernel_driver_active
not_implemented(self.is_kernel_driver_active)
File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\lib\site-packages\usb\backend_init
.py", line 81, in _not_implemented
raise NotImplementedError(func.name)
NotImplementedError: is_kernel_driver_active

Korean Translation for Fluffy

"Fluffy" - Fluffy
"Begin Transfer" - 전솑 μ‹œμž‘
"Switch IP" - μŠ€μœ„μΉ˜ IP
"This Computer's IP" - 이 μ»΄ν“¨ν„°μ˜ IP
"USB Transfer Mode" - USB 전솑 λͺ¨λ“œ
"Normal Mode" - 일반 λͺ¨λ“œ
"Safe Mode" - μ•ˆμ „ λͺ¨λ“œ
"Current NSP" - ν˜„μž¬ NSP
"Successfully Installed" - μ„±κ³΅μ μœΌλ‘œ μ„€μΉ˜λ˜μ—ˆμŠ΅λ‹ˆλ‹€.
"Awaiting Selection" - 선택을 기닀리고 μžˆμŠ΅λ‹ˆλ‹€.
"Switch Not Detected" - μŠ€μœ„μΉ˜κ°€ κ°μ§€λ˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€.
"Switch Detected" - μŠ€μœ„μΉ˜κ°€ κ°μ§€λ˜μ—ˆμŠ΅λ‹ˆλ‹€.
"Network Mode" - λ„€νŠΈμ›Œν¬ λͺ¨λ“œ
"NSP Selection" - NSP 선택
"NSP(s) Selected" - μ„ νƒλœ NSP
"Awaiting Connection Request" - μ—°κ²° μš”μ²­ λŒ€κΈ° 쀑
"Cancel" - μ·¨μ†Œ
"Error: Goldleaf threw an exception." - 였λ₯˜: Goldleafμ—μ„œ μ˜ˆμ™Έκ°€ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€.
"Error: Tinfoil threw an exception." - 였λ₯˜: Tinfoilμ—μ„œ μ˜ˆμ™Έκ°€ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€.
"Error: Network threw an exception." - 였λ₯˜: λ„€νŠΈμ›Œν¬μ—μ„œ μ˜ˆμ™Έκ°€ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€.
"Dark Mode" - μ–΄λ‘μš΄ λͺ¨λ“œ
"Options" - μ˜΅μ…˜
"Language" - μ–Έμ–΄
"Github" - Github
"Network" - λ„€νŠΈμ›Œν¬
"Headers Sent" - 헀더 보내기
"NSP(s) in Queue" - λŒ€κΈ°μ—΄μ˜ NSP
"Installing" - μ„€μΉ˜
"Transfer Rate" - μ „μ†‘μœ¨
"Current NCA" - ν˜„μž¬ NCA
"About" - μ†Œκ°œ
"Special Thanks" - νŠΉλ³„ 감사
"Donate" - κΈ°λΆ€

Use a requirements.txt for easy library installation (diff attached for easy merge)

Here's a diff you can use that's all set up. Should match the requirements listed in the readme.

http://susepaste.org/view//45153638

diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..6b82644
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,4 @@
+qdarkstyle
+pyqt5
+pyusb
+libusb

If you've never used one, here's a page on how they work and what they're for. In this case, they only really serve to make things easier for end-users.

Ubuntu - Invalid USB Command (5)

When trying to install using "USB Installalation" on goldleaf, then clicking on "Begin Transfer" on Fluffy, an error occured:

An error occured attempting to process USB GLUC Commands:

Error : 0xb64
Module : Goldleaf (356)
Description : Invalid USB Command (5)

Version:
Goldleaf 0.5
Fluffy 2.9.2
Ubuntu 16.04

getting pyqt5 error on windows

I been trying to use the app but I keep getting this error:
"DEBUG:root:Fluffy Log: If you see nothing here. Good!
ERROR:root:No module named PyQt5
Traceback (most recent call last):
File "C:\Users\angel\Desktop\fluffy\fluffy.pyw", line 52, in
from PyQt5 import QtWidgets
ImportError: No module named PyQt5"

I try re-installing everything a couple times but no luck on launching it

[Arch AUR package] where should config/log belong ?

Hello,
Following the recent .config/fluffy issue and a comment from Arvedui(arch AUR) I'm hesitating on how to handle fluffy.conf and fluffy.log.

Got multiple options, but none is perfect:

  • Use ~/.config/fluffy, ppl complain about making a directory in /home + it's not functional on a multiuser install. (.desktop file point in $USER_A folder even if launched by $USER_B)
  • Use ~/.config, no more directory creation πŸ‘ + it's still not functional on a multiuser install.
  • Use /tmp, only problem is the config file being erased on each reboot.
  • Use /var/tmp, config file will be erased every 30days (manjaro default, not sure for arch)

Options 4 and 2 are better, then what's more valuable, multiuser compatibility or persisting config file πŸ€”. Searching NSP from /tmp or /var/tmp via tkinter is a bit more annoying as tkinter filedialog show no shortcut to home.

NB: Folder is determined by Path= in https://github.com/fourminute/Fluffy/blob/master/linux/fluffy.desktop. It also affect the default folder opened by tkinter filedialog.

An other solution but more annoying for you is to handle it in fluffy, detecting os=linux then read/write in $HOME/.config/ instead of current folder.

program crash

2019-01-23 09:11:22.318 python3[79904:12966016] -[QNSApplication _setup:]: unrecognized selector sent to instance 0x7ff9e0d9dc80
2019-01-23 09:11:22.324 python3[79904:12966016] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[QNSApplication _setup:]: unrecognized selector sent to instance 0x7ff9e0d9dc80'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff44b33ecd __exceptionPreprocess + 256
	1   libobjc.A.dylib                     0x00007fff70bef720 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff44bb1275 -[NSObject(NSObject) __retain_OA] + 0
	3   CoreFoundation                      0x00007fff44ad5b40 ___forwarding___ + 1486
	4   CoreFoundation                      0x00007fff44ad54e8 _CF_forwarding_prep_0 + 120
	5   Tk                                  0x00007fff50e74777 TkpInit + 467
	6   Tk                                  0x00007fff50df32ce Tk_Init + 1697
	7   _tkinter.cpython-37m-darwin.so      0x0000000104ed6db4 Tcl_AppInit + 84
	8   _tkinter.cpython-37m-darwin.so      0x0000000104ed1be4 Tkapp_New + 580
	9   _tkinter.cpython-37m-darwin.so      0x0000000104ed1745 _tkinter_create + 373
	10  python3                             0x000000010473a8f2 _PyMethodDef_RawFastCallKeywords + 658
	11  python3                             0x0000000104739cac _PyCFunction_FastCallKeywords + 44
	12  python3                             0x0000000104811af4 call_function + 500
	13  python3                             0x000000010480e4f7 _PyEval_EvalFrameDefault + 26903
	14  python3                             0x0000000104812a05 _PyEval_EvalCodeWithName + 2997
	15  python3                             0x0000000104739762 _PyFunction_FastCallDict + 450
	16  python3                             0x000000010473ac56 _PyObject_Call_Prepend + 150
	17  python3                             0x000000010478fd60 slot_tp_init + 176
	18  python3                             0x000000010478b474 type_call + 292
	19  python3                             0x0000000104739ac1 _PyObject_FastCallKeywords + 577
	20  python3                             0x0000000104811b74 call_function + 628
	21  python3                             0x000000010480e4f7 _PyEval_EvalFrameDefault + 26903
	22  python3                             0x0000000104812a05 _PyEval_EvalCodeWithName + 2997
	23  python3                             0x0000000104807b40 PyEval_EvalCode + 48
	24  python3                             0x0000000104849dae PyRun_FileExFlags + 174
	25  python3                             0x0000000104849375 PyRun_SimpleFileExFlags + 277
	26  python3                             0x000000010486a386 pymain_main + 7622
	27  python3                             0x000000010486b280 _Py_UnixMain + 128
	28  libdyld.dylib                       0x00007fff71cbded9 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6

Version pyw 2.9.1 MacOS - How to add nsp files

If I try to start the script using 'python3.7 fluffy.pyw' the gui appears,
on console I have the following messages:

libpng warning: iCCP: CRC error
libpng warning: iCCP: CRC error
libpng warning: iCCP: CRC error

In the GUI when I select 'Goldenleaf' option, I cannot see a way to add nsp files. I only see the 'Begin Transfer' button. If I click it, I can read the message 'Awaiting selection.'
How should I do?
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.